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

Harden raw Unchained UR encoding

Public commit record

What the developer wrote

Authored by Jack

45/100 · Thin
Harden raw Unchained UR encoding
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit hardens the firmware's QR-code encoder used for the Unchained wallet export. It adds a safety flag so that if an invalid export request is rejected, the device won't accidentally reuse or leak a previously encoded QR message. It also fixes a fingerprint byte-order bug and switches from one export format to another for microSD exports. The changes are defensive hardening rather than a clear fix for an active exploit.

Recommended action

Treat as a defensive hardening patch. Review whether the `swab32` fingerprint change alters any existing on-chain or wallet-registration behavior, and confirm that microSD exports still produce the expected Unchained-compatible JSON. No urgent user action is indicated by the diff alone.

Security signals we found

01

State-lifetime hardening: stale encoder output no longer reachable after a failed `ur_encoder_start_raw` call

02

Safety documentation updated to place well-formed CBOR responsibility on the caller

03

Fingerprint byte-order change from hex-string conversion to `swab32`

04

Export-mode routing change for microSD from Unchained-specific JSON to generic multisig JSON

05

Unit test extended to verify empty output after a rejected raw encoder start

Risk score

Why this scored 42/100

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