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

feat(core): detect PRNG presence in hw builds

Public commit record

What the developer wrote

Authored by cepetr

57/100 · Thin
feat(core): detect PRNG presence in hw builds

[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 adds a new automated check that scans Trezor hardware wallet firmware binaries for leftover 'insecure PRNG' test markers. These markers indicate places where the real random-number generator was replaced with a predictable mock for testing. The check ensures these markers are present in emulator builds (used for testing) but absent from real production hardware builds, where they could weaken security. It is a defensive build-pipeline hardening change, not a fix for an active vulnerability in shipped code.

Recommended action

Treat this as a positive hardening control. Review whether the marker strings are documented in the secure-development guide, ensure the check cannot be trivially bypassed, and confirm that any prior release binaries were scanned retroactively for these markers. No immediate patch is required because the change adds detection rather than fixing a runtime bug.

Security signals we found

01

New build-time scanner for insecure PRNG mock markers

02

CI now fails if production hardware binaries contain PRNG mock markers

03

Emulator builds are checked to confirm expected PRNG markers remain present

04

Multiple hardware models have model-specific marker expectations

05

No changelog entry despite security-relevant tooling addition

Risk score

Why this scored 59/100

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