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

do not offer copy and qr export actions for an extended private key pasted into the keystore xpub field

Public commit record

What the developer wrote

Authored by Craig Raw

55/100 · Thin
do not offer copy and qr export actions for an extended private key pasted into the keystore xpub field
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Names security-relevant behavior explicitly! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a UI behavior in Sparrow Wallet where a user could accidentally paste a secret extended private key (xprv) into the public-key-only 'xpub' field of a watch-only wallet. Previously, the app treated it as valid, offered copy/QR-code export actions, and could leak the private key through those export paths. Now the app rejects xprv input in that field, removes the export context menu, and shows a validation error.

Recommended action

Users should upgrade to a Sparrow Wallet release containing this commit and avoid pasting xprv/extended private keys into the xpub field. Developers should review whether similar public-key-only fields elsewhere in the application also reject private key material.

Security signals we found

01

Private key material accepted in public-key field before fix

02

Copy and QR export actions exposed for private key material

03

Validation now rejects extended private keys in watch-only xpub field

04

Context menu cleared when input is not pubkey-only

Risk score

Why this scored 59/100

Our methodology →
Potential impact 18/30
Exploitability 12/25
Stealth signal 8/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.