Market cap $2.06 T −4.87 % over 24 hours24h volume $71.79 BBTC dominance 57.8 %ETH 9.9 %Fear & Greed 11 Extreme fearCoins 21,258

Coldcard post-mortem: a build setting switched off the hardware random generator and left seeds guessable for five years

Coinkite's Coldcard post-mortem says seeds made from March 2021 to July 2026 used a software generator. Affected seeds must be replaced, not patched.

11 min read

Abstract key and wallet beside a broken chain and a microchip
Table of contents
  1. Which Coldcard devices and firmware made weak seeds
    1. How to tell whether a seed is affected
  2. What Coinkite tells owners to do now
  3. How a build setting switched the hardware random generator off
    1. About 40 and 72 bits, by Coinkite’s own estimate
  4. Why five years of checks missed it
  5. From the first thefts to the audit: the timeline
  6. 236 or 242 accounts, 328 seeds, 8,865 addresses: counts that do not add up
  7. Twelve recommendations done, three open, and no compensation decision
  8. What is still unknown: the thieves, and how they found the flaw

Coinkite, the Canadian maker of the Coldcard bitcoin hardware wallet, made public on Tuesday 24 November an 18-page post-mortem of the flaw that let thieves empty customers’ wallets from late July. The report, dated 23 November, says Coldcard firmware created wallet seeds with a software random generator instead of the chip’s hardware one from 29 March 2021 to 30 July 2026, because of a build setting that no check ever caught. As of 18 November the company counts about 300 loss-related support tickets from 242 accounts, and it has taken no decision on compensation.

A seed created on the affected firmware is still weak today, whatever firmware the device now runs. Coinkite says such a seed has to be replaced and the coins moved. No Coldcard was hacked or accessed remotely, according to the report: the attackers recomputed private keys on their own machines.

“The losses are real and, for some customers, life-changing,” Coinkite wrote in the blog post that accompanies the report, adding an apology. The document is the company’s own account, built on the model of an accident report, and it says so in its opening summary. An outside firm, Keylabs, reviewed the repair separately.

Which Coldcard devices and firmware made weak seeds

What matters is the firmware the device was running on the day the seed was created, not the model alone and not the firmware installed since. The report gives this table, and Coinkite’s security status page, last verified on 23 November, repeats the same minimum versions.

Model and release trackSeed is affected if generated onFirst fixed release
Mk2 / Mk34.0.1 through 4.1.94.2.0
Mk4 / Mk5, standardany version before 5.6.05.6.0
Mk4 / Mk5, Edgeany version before 6.6.0X6.6.0X
Q, standardany version before 1.5.0Q1.5.0Q
Q, Edgeany version before 6.6.0QX6.6.0QX

The current standard releases are 5.6.3 for the Mk4 and Mk5 and 1.5.3Q for the Q; the Edge track, a preview line for developers, stands at 6.6.2X and 6.6.2QX. Version 4.2.0 is the last release for the older Mk2 and Mk3, and the status page says it can generate a sound replacement seed.

How to tell whether a seed is affected

Coinkite gives three rules. A seed phrase generated on affected firmware stays affected after it has been restored, imported, backed up or cloned onto another device. A seed that was generated securely somewhere else and only imported later into a Coldcard was not weakened. And a seed made with at least 50 fair, private dice rolls entered through the “Add Dice Rolls” option was not weakened either, on condition that the sequence was never written down or exposed.

That dice exception is narrow. The status page tells owners with fewer rolls, or with doubts about how the rolls were made, to migrate. It also warns against assuming that newer hardware escaped: the Mk2 and Mk3 path was “more severely weakened”, but seeds from the Mk4, Mk5 and Q before the fixed releases are covered too.

What Coinkite tells owners to do now

The seven steps below are Coinkite’s own recommendations to owners, numbered U-1 to U-7 in the report.

  • Owners of an affected seed should install fixed firmware after verifying it, create a new seed, check the seed and its backup, then move the funds. Wallets protected by a passphrase are included.
  • Seed words, passphrases, dice rolls, private keys, backup files and backup passwords should never be sent to anyone, Coinkite included, or typed into a website.
  • Support should be reached only through links on coldcard.com. Unrequested offers of recovery, migration or compensation are probably impersonation, the report says.
  • For larger sums, Coinkite recommends extra layers: private dice rolls, a strong BIP-39 passphrase backed up separately, or multisig. None of them repairs an affected seed.
  • Buyers should inspect the numbered tamper-evident bag and the clear case, and install current verified firmware before creating or importing a seed.
  • Security and firmware notifications should stay switched on. Customers who had their email address blanked can subscribe again.
  • Anyone who paid for advice tied to an affected wallet should keep the invoices, messages and course material.

The last item points at a side story. Coinkite says it has received reports that some influencers and educators charged customers for “wallet mentoring” and advised keeping large savings in single-signature wallets with no strong passphrase, no private dice rolls and no multisig. The report names nobody.

“An update is not a seed migration,” the security status page says. It adds that a passphrase can put a barrier in front of a weak seed without repairing it, and that passphrase users should migrate as soon as practical. The general process of creating a wallet on a new device is covered in our step-by-step guide to setting up a hardware wallet, and our glossary explains the multisig setup Coinkite mentions, in which several keys must sign.

Abstract warning sign beside a vault door, a shield and an hourglass
Coinkite says a seed created on affected firmware has to be replaced; updating the device does not repair it.

How a build setting switched the hardware random generator off

A hardware wallet’s first job is to draw a secret number nobody can guess. The Coldcard was designed to take that number only from the random generator built into its STM32 microcontroller, with no software fallback. In March 2021 Coinkite rebuilt its cryptographic stack around a library called libNgU, written by its chief technology officer Peter Gray. That is where the path changed.

Keylabs traced it in three steps. Coldcard’s firmware configuration set a flag named MICROPY_HW_ENABLE_RNG to zero. A guard in libNgU was meant to stop the build in that case, but, as the Keylabs review of 15 October shows, it tested only whether the flag existed, not what value it held. So the function that fetches random numbers, rng_get(), was wired to Yasmarang, a general-purpose software generator that ships with MicroPython.

Nothing broke. Both generators answer the same call in the same format, the firmware compiled, and the device showed well-formed seed words. “The defect was a silent substitution, not a runtime failure,” the report says. The hardware generator was present in the firmware the whole time. Seed creation simply never reached it.

According to Keylabs, the software generator was seeded from the chip’s identity number and from timer and clock values, not from physical noise. The seed was hashed before use, but hashing changes the form of a number and cannot add unpredictability that was never there. Coinkite calls the fault a defect in its own integration, not in libNgU itself, and says the wallet’s physical security, its duress features, its transaction checks and the libsecp256k1 signing library played no part.

About 40 and 72 bits, by Coinkite’s own estimate

The security target was 128 bits of entropy, a measure of how many guesses an attacker would need. Coinkite estimates that affected seeds carried roughly 40 bits on the Mk2 and Mk3 and roughly 72 bits on the Mk4, Mk5 and Q. By simple arithmetic, 40 bits means 2 to the power of 40, about 1.1 trillion possibilities; the figure is not in the report. Both levels are within reach of offline brute force, the report says.

These figures are internal estimates, and the report states that the 72-bit one has not been independently established. Keylabs writes that it did not establish it and did not rely on it. Its review adds one detail: on the newer models a 32-bit reseed from the secure element “narrowed but did not close the gap”.

Why five years of checks missed it

Between 2021 and 2026 Coinkite counts at least 15 independent review and research efforts on the Coldcard, two of them paid product reviews: one by Lazy Ninja on the Mk4 in March 2022, which covered random-number generation, and one of the Q in early 2024 whose author is not named. The source code was public, with 54 contributors. None of this found the path.

The report’s explanation is that every check “answered a nearby question rather than the critical one”. Release checks confirmed the hardware generator’s code was in the firmware, not that seed creation used it. Functional tests confirmed the seed words were well formed. Signed manifests and reproducible builds proved that the published binary matched the source, defect included.

Statistical tests could not help either. Keylabs simulated the old generator and found that it passes the standard health tests it examined, because a software generator’s output looks uniform whatever it was seeded with. “Output health tests cannot separate a well-seeded generator from a poorly-seeded one,” its review says.

Two more reviews ran in the weeks before the thefts. From 1 May to 26 June 2026, researcher Rob Hamilton ran an AI-assisted review with an OpenAI cybersecurity tool that produced 85 candidate findings and several fixes, without spotting the seed path. A review by Nick Farrow, dated 17 June and published after the incident, expressly had weak random-number generation in scope and judged the path sound.

Abstract magnifying glass over a document, with a gear, a chip and a bug
Signed builds, functional tests and statistical tests all passed while seed creation never reached the hardware generator, the report says.

One earlier exchange gets its own section. In May 2025, the report says, independent Bitcoin developer James O’Beirne raised a concern about the quality of libNgU and recommended removing it, without identifying or documenting a specific defect and without pursuing the matter. That is Coinkite’s description; the report carries no statement from O’Beirne. A proposed class action filed in Ontario tells it differently and claims he had identified the defect, an allegation no court has tested, as set out in our report on the class action alleging Coinkite was warned of flaws in 2025.

From the first thefts to the audit: the timeline

  • 1 March 2021: Coinkite integrates libNgU. Version 4.0.1, the first signed public release with the defect, ships on 29 March.
  • 29 July 2026: unexpected transactions from affected seeds begin, according to independent reporting cited by the report.
  • 30 July: users discover thefts. Coinkite identifies the defect the same day, publishes an advisory and quarantines unshipped stock at the factory, later decommissioned.
  • 31 July: fixed firmware is published for all supported tracks, with a build-time check that rejects a build wired to the wrong generator.
  • 3 August: the fix reaches the factory and production restarts.
  • 20 August: versions 5.6.1 and 1.5.1Q require the user’s own input for every new seed (at least 65 key presses, 50 dice rolls or 128 coin flips), mixed with the hardware generator and both secure elements. A boot-time test halts the device if rng_get() does not reach the hardware.
  • 3 September: versions 5.6.2 and 1.5.2Q restore “View TRNG Words” and add a public script, verify_seed_mix.py, so that a user can recompute a seed independently.
  • 15 October: date of the Keylabs review. The status page’s change log shows it was added there on 21 November.
  • 18 November: Coinkite’s count of loss reports. The post-mortem is dated 23 November and was announced on 24 November.

Keylabs examined four signed standard releases (Mk5 5.6.2 and 5.6.3, Q 1.5.2Q and 1.5.3Q), disassembled them and ran the same analysis on a pre-fix binary, version 5.5.1, as a control. It concluded that the July defect is “fully closed” in those releases. The limits are stated in both documents: this is not a full audit of the wallet, and the Edge releases were not covered.

236 or 242 accounts, 328 seeds, 8,865 addresses: counts that do not add up

Nobody knows how many people lost money. The report lists four measures and warns that they count different things.

MeasureCountSource and date
Loss-related support tickets300Coinkite support review, 18 November 2026
Customer accounts behind those tickets242 in the report, 236 in the blog postCoinkite, 23 and 24 November 2026
Distinct seeds reconstructed from the first theft waveat least 328a public “Wave 1” analysis cited by the report
Addresses attributed to the thefts8,865Galaxy Research, as of 24 August 2026

Coinkite’s two documents disagree on the number of accounts. The PDF gives 242, about 0.21% of the estimated user base. The blog post dated 24 November gives 236, “just ~0.2%”. Neither explains the gap. The report is not consistent on dates either: its timeline has the support review completed on 8 October, while its tables date the figures 18 November and say a check for duplicate reports was still open that day.

Because the wallet is non-custodial, the company sees only the losses customers report, and it says the true number is probably higher than its own count. One seed can produce many addresses and one person can hold several seeds, so the figures cannot be combined into a number of victims. The status page adds that the public record holds no complete model-by-model list of victims.

On amounts, the report cites one outside estimate: Galaxy Research reported on 14 August that 1,778.84 BTC had been stolen from more than 8,600 addresses, partly on the basis of direct contact with 190 people reporting alleged losses. With bitcoin near $59,900 at about 17:35 UTC on 24 November (Coindaro market data), that quantity comes to roughly $106.6 million. The dollar figure is arithmetic at that price, not a number from Coinkite or Galaxy, and the report says no public total across every theft wave has been established.

Twelve recommendations done, three open, and no compensation decision

The report ends with 15 recommendations Coinkite addresses to itself. Twelve are marked as implemented, among them the build-time and boot-time checks of the seed path, mandatory user entropy, the replacement of Yasmarang by a SHA-256 Hash_DRBG generator, reviews tied to specific release files and private reporting instructions in the firmware repository.

Three remain open. Recommendation C-12 calls for further independent reviews, including of the Edge releases. C-14 is to “restore and confirm control” of the @COLDCARDwallet account on X; the report does not say how control was lost. C-15 is a compensation or assistance plan, with the status “Open; no decision”. Coinkite says it is “evaluating all possible options” and will announce a programme only once its scope and terms are settled. It gives no date.

What is still unknown: the thieves, and how they found the flaw

The report does not name those behind the thefts, and it does not say how they found the defect. Law enforcement is investigating, it says, and the Canadian Centre for Cyber Security has a separate open case. Blockchain analysis firms are watching the attackers’ addresses.

Coinkite floats one idea and labels it carefully. The full weights of Kimi K3, an AI model, were released on 27 July, two days before the first thefts, which makes AI-assisted discovery “a plausible hypothesis, not an attribution”. The tests that followed prove little either way. Several people reported that AI models found the flaw once it was public, and others reported misses with the same prompt. The report classes all of these as reproductions after disclosure.

To whoever holds the coins, Coinkite repeats a public appeal: return them through [email protected] and work through lawyers, with no promise of “immunity, confidentiality, payment, or any particular outcome”. The report also mentions, as technically unrelated, the hardware implant Ledger reported on 13 October, the subject of our piece on tampered Ledger devices.

Coinkite says the status page remains the current record for fixed releases, migration guidance and corrections, and tracks the three open recommendations. Verified updates will continue as the investigation proceeds, the report says.

Sources

  1. Coinkite, COLDCARD Seed-Generation Incident Postmortem (PDF, 23 November 2026) blog.coinkite.com
  2. Coinkite blog, Our COLDCARD seed-generation postmortem is now public (24 November 2026) blog.coinkite.com
  3. Keylabs, COLDCARD Seed Generation Review, version 1.0 (PDF, 15 October 2026) blog.coinkite.com
  4. Coldcard, Current COLDCARD Security Status (verified 23 November 2026) coldcard.com

Leave a Reply

Your email address will not be published. Required fields are marked *