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

restore backup via USB

Public commit record

What the developer wrote

Authored by scgbckbone

28/100 · Opaque
restore backup via USB
✓ Subject identifies a change! No meaningful explanatory body! Opaque security-relevant change
The short version

What changed, and why it matters

This commit adds a new USB command that lets a connected computer restore a COLDCARD wallet backup onto the device. The user must confirm on the device screen, and the backup file's checksum is verified. However, because restoring a backup replaces the wallet seed, the feature is security-sensitive. The commit also blocks this command in HSM (unattended signing) mode, which is a good protective measure. There is no direct evidence of a vulnerability in the patch, but the feature increases the attack surface available over USB.

Recommended action

Review the new 'rest' command handler for authorization edge cases, ensure the checksum verification cannot be bypassed, confirm that user confirmation cannot be spoofed or automated by a compromised host, and verify that HSM-mode blocking is enforced in production firmware and not only in tests. Consider fuzzing the bitflag and file_len parameters.

Security signals we found

01

New USB attack surface: seed/backup restore command exposed over USB

02

On-device user confirmation required before restore proceeds

03

Uploaded backup checksum verified against self.file_checksum before restore action is initiated

04

Command explicitly blocked in HSM mode

05

Backup decryption and parsing reuse existing restore_complete path

06

No explicit rate limiting or anti-hammering logic visible for repeated 'rest' attempts

Risk score

Why this scored 59/100

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