COLDCARD Postmortem: Weak Seeds Enabled Offline Theft
Originally published at COLDCARD Postmortem: Weak Seeds Enabled Offline Theft On 23 November 2026, Coinkite published a formal postmortem of the COLDCARD seed-generation defect that had been patched in late July. The co
Originally published at COLDCARD Postmortem: Weak Seeds Enabled Offline Theft
On 23 November 2026, Coinkite published a formal postmortem of the COLDCARD seed-generation defect that had been patched in late July. The company posted the report on its blog the next day, together with an independent Keylabs review, describing how a firmware configuration error left seeds far weaker than intended.
This is a defensive account of a disclosed firmware incident, not a how-to. We do not describe how affected seeds can be reconstructed.
What Happened
COLDCARD is a Bitcoin-only, non-custodial hardware wallet. From the first signed public release of the affected series, v4.0.1 on 29 March 2021, through 30 July 2026, shipping firmware generated wallet seeds with MicroPython's Yasmarang software pseudo-random number generator instead of the STM32 hardware random-number generator the product was designed to use.
Unexpected transactions from affected seeds began on 29 July 2026. Users discovered thefts the next day. Coinkite identified the defect on 30 July, published an initial advisory, and shipped fixed firmware for every supported track on 31 July.
The attackers did not remotely access or take over any COLDCARD. Coinkite and Keylabs both conclude that private keys for weakened seeds were regenerated offline.
How the Shipping Path Went Wrong
The firmware was never meant to fall back to a software generator. Coinkite says the hardware RNG did not fail at runtime, and no fallback was triggered. Both implementations simply exposed a compatible interface, so the build linked, the device produced well-formed BIP-39 words, and nothing on the screen suggested that seed generation had missed the hardware.
Keylabs traced the resolved path as follows. COLDCARD's firmware configuration set MICROPY_HW_ENABLE_RNG to zero. A guard in the pinned libNgU wrapper, adopted in March 2021 so firmware could use libsecp256k1, accepted that configuration. The rng_get() symbol then resolved to MicroPython's software generator. Keylabs notes that the guard used #ifndef, which tests whether the macro is defined rather than whether its value enables the hardware RNG.
Coinkite calls this a COLDCARD integration defect, not a bug in libNgU itself, while treating the ineffective guard as a contributing control failure. The intended hardware implementation was present in the firmware; seed generation simply never reached it. Hashing the generator's output changed its form but could not add entropy that was not there.
# Simplified control-flow sketch. Not COLDCARD or libNgU source,
# and not a reproduction of the defect.
# intended: seed_generation -> STM32 hardware RNG
# shipping path: seed_generation -> software PRNG
# hashing output does not add missing entropy
# missing check: does the compiled seed path actually reach the hardware?
Coinkite estimates that affected seeds had roughly 40 bits of effective entropy on Mk2/Mk3 and 72 bits on Mk4, Mk5, and Q, against a 128-bit target. It states that the 72-bit figure has not been independently established, and Keylabs did not confirm either estimate.
Why Years of Review Missed It
The defect sat in public source, behind reproducible builds, for more than five years. Coinkite documented at least 15 independent review and research efforts on COLDCARD hardware, firmware, entropy tooling, and release controls, including two commissioned product reviews. The firmware repository had 54 contributors. None of those contemporaneous reports identified and reproduced the integration defect.
That is less mysterious once the questions those reviews answered are separated from the one that mattered. Release checks confirmed that the hardware-RNG code was present, not that seed generation called it. Functional tests confirmed that seed words were well formed, which they were. Keylabs reproduced the defective generator and found that it could pass statistical health tests, including checks associated with FIPS CRNGT and NIST SP 800-90B. Those tests describe output. They do not establish where the entropy came from.
Even reviews that looked at randomness still missed the linkage. A paid pre-release Mk4 review in March 2022 covered random-number generation and entropy hardening but did not identify the defect. A June 2026 review by Nick Farrow expressly included weak RNG in its scope, concluded the path was sound, and still missed it. From 1 May to 26 June 2026, independent researcher Rob Hamilton used the OpenAI Cybersecurity Harness on the firmware, produced 85 candidate findings, and prompted several fixes β but not this one.
The missing gate, in Coinkite's own finding, was verification of the resolved seed-generation path in the shipping binary.
What Is Known About the Losses β and What Is Not
Coinkite has not published an official loss total. Its postmortem is explicit: no public total of affected users or losses across every theft wave has been established, and the available counts measure different populations.
What it does cite, and what we can cross-check, is this:
- On 14 August 2026, Galaxy Research reported that it had been in direct contact with 190 people reporting alleged losses and, with high confidence, attributed 1,778.84 BTC β $112.7 million at the prices in that report β stolen from more than 8,600 addresses.
- The postmortem's later table, citing Galaxy as of 24 August 2026, records 8,865 attributed addresses.
- One public Wave 1 analysis reconstructed at least 328 seed roots.
- As of 18 November 2026, Coinkite's support review had 300 loss-related tickets tied to 242 requester accounts, about 0.21% of its estimated user base. The blog summary of the same report says 236 accounts; the documents do not explain the difference. Because COLDCARD is non-custodial, Coinkite can count only losses customers report, and it says the true number is likely higher.
Galaxy also wrote that, among the confirmed thefts it studied, no theft transaction stole funds from a multisig. Coinkite likewise says that seeds generated with at least 50 fair, independent, private dice rolls, entered through the device's Add Dice Rolls flow and never recorded or exposed, were not weakened, and that a strong BIP-39 passphrase or a multisig setup added a barrier the weak seed did not.
Who found the defect remains unknown. Coinkite calls AI-assisted discovery a plausible hypothesis, not an attribution.
What the Fix Does β and What a Firmware Update Does Not
Keylabs reviewed Mk5 5.6.2 and 5.6.3, Q 1.5.2Q and 1.5.3Q, the matching source, and all four signed binaries, using pre-fix Mk5 5.5.1 as a negative control. Within that scope it concluded the defect is fully closed. Edge releases were outside the review.
Current standard firmware, as of Coinkite's 23 November 2026 status page, is 5.6.3 for Mk4/Mk5 and 1.5.3Q for Q. Later releases require user-supplied entropy, mix it with the STM32 RNG and both secure elements, and add compile-time and boot-time checks that seed generation actually reaches the hardware path. If those checks fail, the build is rejected or the device stops before normal use.
None of that repairs a seed already generated on affected firmware. Importing the same words into another wallet does not either. The weakness is in the seed. Coinkite's guidance is to install verified fixed firmware, create a new seed on that firmware, and move funds β and never to send seed words, passphrases, dice rolls, private keys, or backups to anyone, including people claiming to help recover a COLDCARD.
Lessons for Builders
Verify the path that actually ships, not the path the source intends. A hardware RNG in the binary is not the same as the seed-generation call reaching it. Compile-time and boot-time checks that fail closed belong on that path, not only in design documents.
Statistical randomness tests are not a provenance check. A generator can look uniform and still be the wrong implementation. If the security claim is "this output came from this hardware," the test has to inspect the resolved linkage in the signed artifact.
"The key never leaves the device" is not a complete threat model. The same lesson appears in other wallet-adjacent failures we have covered: the Keplr / Web3Auth social-login key exposure moved a custody boundary into a vendor, and the Fluidkey logging-tool session drain showed that a key which stays on the device can still authorize a spend the user did not mean to make. COLDCARD kept keys offline and still produced seeds that could be regenerated off the device.
Defense in depth still matters after the primary RNG is fixed. User-supplied entropy, a unique BIP-39 passphrase, and multisig do not excuse a broken generator, but they are the layers that, in this incident, Coinkite and Galaxy say were not defeated in the same way as a bare, device-generated seed. They also belong in any review that treats wallet and key-generation infrastructure as in-scope, including our smart contract security checklist.
What Users Should Do
Start with Coinkite's official Security Status page and sections 1.4 and 4.1 of the postmortem, not with unsolicited recovery messages. A firmware update alone is not a migration. If a seed may have been generated on affected firmware, follow Coinkite's current migration guide unless the documented dice-roll exception applies. Use only support routes linked from coldcard.com.
Sources
- Coinkite, "Our COLDCARD seed-generation postmortem is now public" (24 Nov 2026): 300 tickets; 236 accounts in the blog summary; about 0.2% of estimated users; no device compromise; dice-roll exception; Keylabs confirmation
- Coinkite, COLDCARD Seed-Generation Incident Postmortem (23 Nov 2026): affected window 29 March 2021 through 30 July 2026; Yasmarang substitution; 40- and 72-bit estimates; 300 tickets and 242 accounts as of 18 Nov; Galaxy figures; findings
-
Coinkite, Keylabs seed-generation review announcement:
MICROPY_HW_ENABLE_RNGand the#ifndefguard; statistical tests passing; defect closed in the four named standard binaries - COLDCARD Security Status (verified 23 Nov 2026): current standard firmware 5.6.3 and 1.5.3Q; update does not repair an affected seed
- Galaxy Research, "Coldcard Exploit Abates as Total Losses Climb to (at Least) 1,700 BTC" (14 Aug 2026): 1,778.84 BTC / $112.7 million from more than 8,600 addresses; 190 people contacted; no confirmed multisig theft
- Bitcoin Magazine, "Coldcard Postmortem: Weak Seeds Drove Bitcoin Thefts": independent write-up of the 23 November report and the Galaxy figures Coinkite cites
Closing Thoughts
COLDCARD's physical isolation did what it was supposed to do. The seed-generation path did not. For five years, a configuration and linkage error meant that well-formed recovery words were produced from a software generator the product was never meant to use, and the checks around that path asked whether the hardware code was present and whether the words looked valid β not whether the shipping call reached the chip.
If you are building a wallet, a key-generation service, or any system whose security claim depends on a hardware entropy source, talk to our team or review audit pricing before that path is trusted with real funds.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.