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

bugfix: Reject duplicate singleton PSBT keys

Public commit record

What the developer wrote

Authored by scgbckbone

45/100 · Thin
bugfix: Reject duplicate singleton PSBT keys
✓ 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 how the COLDCARD wallet reads PSBT files (the standard format for passing Bitcoin transactions between devices). Previously, if a PSBT contained the same special 'singleton' key twice in the same section, the device might silently use the second value. Now it immediately rejects the file. Duplicate singleton keys could let a malicious transaction tool trick the wallet into using one value while a human reviewer sees another, potentially causing the wrong amount or destination to be signed.

Recommended action

Treat as a security-hardening bugfix and include in the next firmware release. Review whether duplicate detection should also cover non-singleton keys (keys with extra keydata) to fully align with BIP-174 key uniqueness requirements. Ensure the new test cases pass on all supported hardware variants.

Security signals we found

01

PSBT parser now rejects duplicate singleton keys

02

New test cases for duplicate keys in global/input/output maps

03

Changelog labels the change as a bugfix

04

Fix is narrow: only one-byte singleton keys are deduplicated

Risk score

Why this scored 66/100

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