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

improve verification of psbt sighash types

Public commit record

What the developer wrote

Authored by Craig Raw

55/100 · Thin
improve verification of psbt sighash types
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
The short version

What changed, and why it matters

This commit adds a safety check in Sparrow Wallet when opening a PSBT (a file format used to pass partially-signed Bitcoin transactions between wallets). Before this change, the wallet did not verify the signature-hash types declared inside the PSBT. A malicious or malformed PSBT could ask the wallet to sign in a way that unexpectedly alters what the signature covers, potentially leading to loss of funds. After the change, Sparrow warns the user and asks whether to continue.

Recommended action

Review the corresponding drongo submodule commit to confirm verifySigHashes() validates all relevant sighash types and edge cases. Consider whether the warning dialog should default to 'No' or require explicit opt-in, and ensure the warning text explains the risk clearly to non-technical users.

Security signals we found

01

New user-facing warning for 'Unsafe PSBT'

02

Adds signature-hash verification on PSBT load

03

Catches PSBTSignatureException specifically

04

Defensive check before signing workflow

05

Submodule change in drongo suggests underlying verification implementation was added or modified

Risk score

Why this scored 60/100

Our methodology →
Potential impact 18/30
Exploitability 14/25
Stealth signal 8/15
Affected reach 10/15
Confidence 7/10
Evidence quality 3/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.