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

bugfix: reject incomplete wrapped segwit inputs

Public commit record

What the developer wrote

Authored by scgbckbone

45/100 · Thin
bugfix: reject incomplete wrapped segwit inputs
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This update fixes a bug in the COLDCARD hardware wallet where a malformed Bitcoin transaction file (PSBT) could slip through if it described a wrapped SegWit input but left out a required piece of data called the redeem script. Without that script, the wallet could not correctly calculate the transaction's fee, which might let an attacker trick the user into approving a transaction that sends far more in fees than intended. The fix makes the wallet reject such malformed files outright.

Recommended action

Treat this as a security-relevant bugfix and include it in the next firmware release. Users should upgrade when available. Wallet software that builds PSBTs for COLDCARD should ensure P2SH-P2WSH inputs always include the redeem script.

Security signals we found

01

Input-validation hardening for malformed PSBT

02

Fee-calculation correctness fix

03

Wrapped SegWit (P2SH-P2WSH) redeem script requirement enforced

04

Regression test added for missing redeem script rejection

Risk score

Why this scored 72/100

Our methodology →
Potential impact 22/30
Exploitability 16/25
Stealth signal 12/15
Affected reach 10/15
Confidence 8/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.