exploit
Coldcard postmortem: seed RNG shipped soft since 2021, 15 reviews missed it
Coinkite's Nov 23 Coldcard postmortem traces the July seed-generation flaw to a 2021 build error that silently routed seed entropy to MicroPython's Yasmarang software PRNG for five years.
Coinkite published a Coldcard seed-generation incident postmortem on November 23, 2026, pinning the July 2026 exploit of its hardware wallets to a 2021 firmware migration that silently routed seed generation away from the hardware RNG and into MicroPython's Yasmarang, a software pseudo-random generator. The flaw shipped for more than five years and survived at least 15 independent review efforts, including two paid third-party audits and an AI-assisted firmware review. Reporting: Decrypt.
The primitive
Coldcard firmware was supposed to pull seed entropy from the device's hardware random-number generator. A build and link integration error introduced in a 2021 migration meant that the libNgU symbol rng_get() resolved to MicroPython's default Yasmarang implementation rather than the hardware call. A safeguard in libNgU meant to reject that fallback configuration did not fire. Effective entropy on generated seeds dropped from the 128-bit target to approximately 40 to 72 bits — within offline-regeneration range on commodity hardware.
Coinkite is explicit that there was no intentional weak-entropy backdoor: the flaw was a silent symbol-resolution error, not a design choice.
Why 15 reviews missed it
The postmortem's core forensic finding is that every audit answered a nearby question rather than the critical one. Reviewers verified:
- That the hardware RNG code path existed in the codebase.
- That the hardware RNG produced good entropy when invoked directly.
- That the build pipeline linked libNgU correctly.
None verified that seed generation actually called the hardware path. The report characterises the pattern as "every check answered a nearby question rather than the critical one."
Reviewers who missed the flaw include two paid third-party audits, physical-security work by Ledger Donjon, and an AI-assisted firmware review that produced 85 findings — none of them this one.
Attribution hedged
The exploit surfaced in July 2026, two days after the public release of the Kimi K3 model's full weights. Coinkite notes the timing but refuses to attribute: the AI-assisted-discovery theory is "a plausible hypothesis, not an attribution."
Loss counts from different measurement angles do not combine. Per Coinkite:
- Roughly 300 loss-related support tickets tied to 242 accounts (~0.21% of estimated user base).
- Galaxy Research attributes more than 8,600 addresses to the theft.
The two figures count different things (reported losses vs. addresses observed on-chain); Coinkite warns against a combined "victim total."
Numbers block
- Affected period: March 2021 – July 2026 (~5 years)
- Effective entropy: ~40–72 bits (target: 128)
- Reviews missed: ≥15, including two paid audits and an AI-assisted firmware review (85 findings, none this one)
- Primary cause:
rng_get()resolved to MicroPython's Yasmarang via build-link error - Guard that failed: libNgU safeguard rejecting the faulty configuration
- Reported losses (Coinkite tickets): ~300 tickets, 242 accounts
- Addresses attributed to theft (Galaxy Research): >8,600
- Patch: mandatory user entropy + multiple hardware sources + build-time and boot-time checks; independent review by Keylabs rules the defect "fully closed"
- Residual risk: seeds already generated on affected devices remain compromised; users must rotate to new seeds
What to watch
- Rotation dynamics. Patched firmware fixes future seeds but cannot cleanse exported ones. The open question is how many legacy seeds remain active; address-reuse clustering by Galaxy and independent researchers will trace that in the coming weeks.
- Secondary vendor response. Trezor, Ledger and Jade have all published posts on lessons from the Coldcard incident. Watch whether any ships a comparable build-verification pass — a check that seed generation actually invokes the hardware path rather than just that the code exists — in Q1 firmware.
- AI-assisted review methodology. The AI firmware review's 85 findings missed the critical defect. Coinkite's forensic lens — audits answered the wrong question — is the standing lesson. Expect vendors to publish updated review playbooks that require a chained verification from seed-generation entry point through to hardware register, not just a static-analysis sweep.
Context
The Coldcard incident is the third hardware-wallet firmware incident in 12 months where a defect sat in mainline code for years before a loss event triggered a postmortem. The pattern across them is consistent: the audit market checks for code presence and for the health of individual primitives, but not for the end-to-end wiring between them. The Coinkite postmortem's architectural recommendations — mandatory user entropy, redundant hardware sources, boot-time self-tests — are the right local fix for Coldcard; the broader lesson for anyone shipping key material is that "code exists" is not the same assurance as "code is invoked."