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

fixes rng

Public commit record

What the developer wrote

Authored by Peter D. Gray

0/100 · Opaque
fixes rng
! Very short subject! Too few words to establish purpose! No meaningful explanatory body! Opaque security-relevant change
The short version

What changed, and why it matters

This commit fixes a critical random-number bug in COLDCARD hardware wallets. The device was accidentally using a weak, software-based fallback random generator instead of its secure hardware one when creating Bitcoin seed phrases. Because the fallback generator had very little real randomness, attackers who captured a public transaction or signature could potentially figure out the wallet's private keys and steal funds. The patch forces the build to use the hardware random source and adds a build-time check to make sure the weak fallback is never linked in again. Coinkite issued an emergency hotfix and warned users to move funds from wallets created with affected firmware.

Recommended action

Treat this as a critical security fix. Users should upgrade to vendor-recommended firmware (v5.6.0+ / v1.5.0Q+) and, for any wallet created on affected firmware, create a new wallet with the fixed firmware and move all funds to it. Developers should ensure the rng-code-check build step passes and that upstream stm32/rng.o exports no symbols.

Security signals we found

01

Weak/fallback PRNG silently linked in place of hardware RNG

02

Seed phrase entropy reduction allowing private-key recovery

03

Build-system override of upstream rng.o with empty object

04

Post-link symbol check to prevent regression

05

Emergency version bump and vendor hotfix announcement

06

Vendor disclosure of user-impact/losses

Risk score

Why this scored 91/100

Our methodology →
Potential impact 28/30
Exploitability 22/25
Stealth signal 13/15
Affected reach 14/15
Confidence 9/10
Evidence quality 5/5
Primary-source trail

Evidence and disclosure record

Verified links used to place this patch in context. External claims remain attributed to their publishers.

Vendor advisory · Primary

COLDCARD Mk3 Seed Generation Warning

Vendor hotfix announcement for the limited-entropy seed-generation incident and the v5.6.0 / v1.5.0Q remediation releases.

Research disclosure

Coldcard v5.6.0 Post-Hotfix Analysis and 39 Unpatched Findings

Independent analysis tying this patch to the fallback-PRNG symbol-resolution failure, the emergency release, and reported user losses.

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.