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

fix bypass_tmp return to master secret with xprv type

Public commit record

What the developer wrote

Authored by scgbckbone

50/100 · Thin
fix bypass_tmp return to master secret with xprv type
✓ Specific, 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 how the COLDCARD wallet creates encrypted backups when a temporary seed is being bypassed. Previously, if the main secret was stored as an extended private key ('xprv') rather than as BIP39 seed words, the backup code could incorrectly encode the secret and potentially return to or expose the master secret in the wrong form. The fix ensures the correct secret type is used when restoring settings from the main seed during backup generation.

Recommended action

Review whether any released firmware versions shipped with this bug and assess whether backups generated under bypass_tmp with xprv-type master secrets could be malformed or leak sensitive state. Consider adding regression tests covering both 'words' and 'xprv' master secret types during temporary-seed backup flows.

Security signals we found

01

Incorrect secret encoding when bypassing temporary seed

02

Potential master secret exposure or backup corruption due to type mismatch

03

Missing branch for xprv-type master secret in backup path

04

Fix uses explicit mode assertion to prevent silent fallback

Risk score

Why this scored 61/100

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