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

multisig input/output address format

Public commit record

What the developer wrote

Authored by scgbckbone

45/100 · Thin
multisig input/output address format
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes how COLDCARD handles different Bitcoin address formats in multisig transactions. Previously, the wallet could be tricked into treating inputs or change outputs as belonging to the wrong address type (for example, treating a classic P2SH multisig input as if it were a wrapped SegWit P2SH-P2WSH input, or vice versa). The patch makes the device strictly check that the script type matches the wallet's configured address format and verifies that the script in the transaction actually produces the expected on-chain scriptPubKey. This prevents attackers from deceiving the device about which coins are being spent or where change is going.

Recommended action

Treat this as a security fix and include it in the next firmware release. Users running affected firmware should upgrade before signing multisig transactions, especially when co-signers or PSBT sources are not fully trusted. Review any custom PSBT tooling to ensure it uses the correct redeem/witness scripts for the declared address format.

Security signals we found

01

Fixes type confusion between P2SH, P2WSH, and P2WSH-P2SH multisig inputs/outputs

02

Adds scriptPubKey equality check for multisig inputs against reconstructed scripts

03

Adds address-format matching between active multisig wallet and PSBT inputs/outputs

04

Prevents change-output fraud where a different script type is presented as change

05

Includes regression tests for mismatched input/output script types and swapped redeem/witness scripts

Risk score

Why this scored 72/100

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