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

fix(prodtest): enable MCU TRNG in prodtest

Public commit record

What the developer wrote

Authored by cepetr

57/100 · Thin
fix(prodtest): enable MCU TRNG in prodtest

[no changelog]
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
The short version

What changed, and why it matters

This commit removes a flag called USE_INSECURE_PRNG from the production-test firmware build. That flag previously told the device to use a weak or insecure random number generator during factory testing. Removing it means the production-test firmware will now use the microcontroller's true hardware random number generator (TRNG) instead. Using a weak random source in a test environment could, in theory, affect security if any test keys, identifiers, or calibration data generated there were later reused or leaked, but this change is in a specialized factory-only firmware image, not the main wallet firmware users run.

Recommended action

Verify that the prodtest image no longer compiles in insecure-PRNG fallback code anywhere else, that the MCU TRNG driver is actually enabled and seeded correctly in this build, and that no factory-generated secrets or identifiers are ever carried over into retail devices or user-facing operations. Treat this as a hardening improvement rather than an active vulnerability unless additional evidence shows insecure randomness affected shipped devices.

Security signals we found

01

Removal of USE_INSECURE_PRNG compile flag

02

Commit title explicitly frames change as enabling hardware TRNG in production-test firmware

03

Change is limited to the prodtest build (core/SConscript.prodtest), not the main firmware

04

No changelog entry provided, reducing transparency

Risk score

Why this scored 57/100

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