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

require the policy line and check the declared cosigner count when importing coldcard format multisig wallets

Public commit record

What the developer wrote

Authored by Craig Raw

50/100 · Thin
require the policy line and check the declared cosigner count when importing coldcard format multisig wallets
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit tightens how Sparrow Wallet imports multisig wallet files from Coldcard. Previously, if the file omitted the 'Policy' line or listed fewer cosigner keys than the policy required, Sparrow would silently assume a default 2-of-2 setup. That could let a malformed or attacker-crafted import file create a wallet whose security rules don't match what the user expects. The patch now requires the policy line and verifies the number of cosigner keys matches the declared policy, throwing an error if they don't.

Recommended action

Users should upgrade to a Sparrow release containing this commit before importing Coldcard-format multisig wallets. Treat any previously imported Coldcard multisig wallets as potentially misconfigured if the source file lacked a Policy line or had an inconsistent cosigner count; re-import from a verified source or verify the wallet policy against the intended M-of-N.

Security signals we found

01

Input validation added to wallet import parser

02

Previously silent default fallback for missing policy removed

03

Mismatch between declared cosigner count and supplied keys now rejected

04

New negative test fixtures for missing policy and missing cosigner

Risk score

Why this scored 56/100

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