AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Moderate 57 Bitcoin

fetch a script hash again when a reorg replaces the block of a payment found by a history fetch still in progress

Public commit record

What the developer wrote

Authored by Craig Raw

50/100 · Thin
fetch a script hash again when a reorg replaces the block of a payment found by a history fetch still in progress
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a corner case in Sparrow Wallet where a blockchain reorganization (a 'reorg') could leave the wallet showing a payment as confirmed when the block it was confirmed in has been replaced. The bug occurs when the reorg happens while the wallet is still fetching history. After the fix, Sparrow detects this situation and re-fetches the affected address/script hash so the payment is re-verified against the new chain. In the worst case, a user might rely on an incorrect balance or transaction confirmation state, but the fix is defensive and the window for the issue is narrow.

Recommended action

Review and merge the patch. Run the new unit tests and consider additional integration tests around reorg scenarios. Users should upgrade to a release containing this fix, especially if relying on confirmation state for time-sensitive decisions. No immediate emergency response is indicated because exploitation requires a blockchain reorg and a narrow timing window.

Security signals we found

01

Blockchain reorg handling bug in wallet history synchronization

02

Potential stale/incorrect transaction confirmation state

03

Defensive fix with added unit tests for regression coverage

04

No explicit CVE, advisory, or security disclosure referenced

Risk score

Why this scored 57/100

Our methodology →
Potential impact 18/30
Exploitability 8/25
Stealth signal 10/15
Affected reach 10/15
Confidence 7/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.