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

Merge pull request #716 from Foundation-Devices/sft-7344-simulator-random-bytes

Public commit record

What the developer wrote

Authored by mjg-foundation

78/100 · Adequate
Merge pull request #716 from Foundation-Devices/sft-7344-simulator-random-bytes

SFT-7344: read simulator entropy from the host
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
The short version

What changed, and why it matters

This commit fixes a weakness in the software simulator of the Passport hardware wallet. Previously, the simulator's random number generator was seeded with the system boot time, which could make simulated private keys or seeds guessable by someone who knew roughly when the simulator started. The change now reads randomness directly from the host computer's /dev/urandom. The commit message and documentation explicitly warn that the simulator is not a real hardware wallet and should never hold real funds.

Recommended action

No action needed for hardware wallet users. For developers using the simulator, ensure you are on a commit that includes this fix and continue to treat the simulator as unsafe for real funds or production seed generation. Consider auditing any other simulator-only code paths that may substitute weak entropy for hardware-backed randomness.

Security signals we found

01

Weak RNG seeding in simulator removed

02

Simulator entropy now sourced from /dev/urandom

03

Explicit short-read failure added to prevent silent fallback

04

Documentation warns simulator is not a hardware wallet and should not hold real funds

Risk score

Why this scored 49/100

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