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

extend the gap limit only for addresses paid by a fetched transaction

Public commit record

What the developer wrote

Authored by Craig Raw

50/100 · Thin
extend the gap limit only for addresses paid by a fetched transaction
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit tightens when Sparrow Wallet extends the 'gap limit'—the number of empty addresses it keeps ready ahead of the last used one. Previously, merely seeing any transaction status reported for an address could push the gap forward. Now the wallet only extends the gap when a fetched transaction actually pays that address. This prevents a malicious or buggy Electrum server from tricking the wallet into generating far more addresses than necessary by reporting unrelated transaction statuses.

Recommended action

Users should upgrade to a Sparrow Wallet release containing this commit. Operators relying on custom Electrum servers should ensure their servers return accurate script-hash histories. Review whether prior versions could have generated excessive addresses when connected to an untrusted server.

Security signals we found

01

Server-supplied transaction history no longer unconditionally treated as address usage

02

Gap limit extension now requires cryptographic proof of payment to the address

03

Mitigates potential Electrum-server-driven address enumeration / DoS

04

Added targeted unit tests for the changed behavior

Risk score

Why this scored 51/100

Our methodology →
Potential impact 12/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.