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

rng: boot-time self-test proving rng_get() enters the hardware read path

Public commit record

What the developer wrote

Authored by scgbckbone

60/100 · Adequate
rng: boot-time self-test proving rng_get() enters the hardware read path
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
The short version

What changed, and why it matters

This commit adds a startup safety check for the hardware random-number generator (RNG) in the COLDCARD MK4 firmware. Before anything else can use randomness, the device now verifies that the rng_get() function actually reaches the hardware RNG and returns real entropy. If the check fails, the device deliberately halts ('bricks' itself) rather than boot. The change is defensive: it does not fix a known exploit, but it is designed to prevent a future bug or supply-chain issue where the firmware might accidentally use a non-hardware (and therefore weaker) source of randomness.

Recommended action

No immediate user action required. Treat as a hardening improvement. Review whether a similar boot-time RNG linkage self-test exists for other COLDCARD variants (e.g., Q) and consider extending it if absent. Monitor future releases for any reported boot failures attributed to this self-test.

Security signals we found

01

Boot-time self-test of critical RNG linkage

02

Fatal halt on RNG linkage failure

03

Counter state intentionally not exposed to higher layers

04

Warm-up samples discarded and not used as entropy

05

Comment explicitly frames change as preventing 'non-hardware implementation' linkage

Risk score

Why this scored 46/100

Our methodology →
Potential impact 12/30
Exploitability 5/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.