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

bugfix: restrict HSM BIP322 WIF signing

Public commit record

What the developer wrote

Authored by scgbckbone

45/100 · Thin
bugfix: restrict HSM BIP322 WIF signing
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a bug in the COLDCARD HSM (High-Security Mode) where signing BIP-322 messages using private keys stored in the device's WIF Store could bypass the message-signing policy. Previously, such signatures may have been allowed even when the policy only permitted specific derivation paths. The fix now requires the HSM policy to explicitly allow 'any' path before WIF Store keys can be used for BIP-322 signing. This is a security-hardening bugfix for a niche but sensitive code path.

Recommended action

Treat as a security bugfix. Review whether prior firmware versions allowed WIF Store BIP-322 signing under restrictive msg_paths policies and consider issuing an advisory or firmware update note for HSM users. No immediate emergency response appears warranted, but users relying on HSM policy restrictions should update.

Security signals we found

01

Bugfix explicitly described as restricting HSM signing policy

02

Adds authorization check before WIF Store key usage in BIP-322 message signing

03

Raises ValueError to block disallowed signing path

04

Adds regression test for the restriction

05

Changelog frames change as a 'Bugfix' with security-relevant behavior

Risk score

Why this scored 62/100

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