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

ENV-2282: fixed taproot sighahes after segwit sighashes

Public commit record

What the developer wrote

Authored by Matt Gleason

50/100 · Thin
ENV-2282: fixed taproot sighahes after segwit sighashes
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This is a one-line fix in the Bitcoin transaction signing code of the Foundation Passport hardware wallet. When signing a Taproot transaction immediately after signing a SegWit transaction, the wallet could reuse cached intermediate hash values that were not fully initialized for Taproot. That could cause the wallet to compute an incorrect transaction fingerprint (sighash), which in rare cases might lead to an invalid signature or, more seriously, a signature that does not protect all the transaction details it should. The fix forces the wallet to rebuild those cached hashes if any of the required Taproot hash fields are missing.

Recommended action

Treat this as a security-relevant firmware bug. Verify that the fix fully invalidates the sighash cache when switching between SegWit and Taproot signing modes, and audit other cached fields (hashSequences, hashOutputs, etc.) for similar partial-initialization issues. Users should install the firmware release containing this commit before signing Taproot transactions that follow SegWit transactions in the same session.

Security signals we found

01

Incorrect cached hash reuse across signing contexts

02

Taproot sighash completeness check bypass

03

State not reset between SegWit and Taproot PSBT processing

04

Potential signature over incomplete transaction data

Risk score

Why this scored 70/100

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