COLDCARD Details Five-Year Firmware Flaw That Led to Crypto Theft
Fault exposed weaknesses in hardware wallet RNG validation, prompting industry‑wide calls for stricter firmware release checks.
Approx. 0.2% of COLDCARD users lost funds, highlighting non‑custodial wallets’ vulnerability to subtle code errors.
Post‑incident fixes add hardware RNG checks and user‑entropy, setting new standards for crypto‑hardware security.
COLDCARD manufacturer Coinkite has detailed how a firmware integration error weakened Bitcoin wallet seeds for more than five years, allowing attackers to regenerate private keys offline and steal customer funds.
In a postmortem published on November 24, the company said the affected firmware used MicroPython’s Yasmarang software pseudorandom-number generator instead of the intended STM32 hardware random-number generator. The issue affected seed-generation software across COLDCARD’s Mk2, Mk3, Mk4, Mk5, and Q devices.
The incident began with firmware released on March 29, 2021, and continued until Coinkite identified the defect on July 30, 2026. The company said the first theft-related transactions appeared on July 29, a day before it discovered the problem. It published corrected firmware for supported release tracks on July 31.
The company said attackers did not remotely access or take control of COLDCARD devices. Instead, they used the weakened seed-generation process to reconstruct affected private keys offline. The defect did not involve the wallet’s physical-security layers or transaction-authorization controls.
A firmware configuration error redirected seed generation
According to Coinkite’s investigation, the problem arose after the company integrated its libNgU cryptographic wrapper in March 2021. A firmware configuration setting, MICROPY_HW_ENABLE_RNG, was set to zero, while an ineffective guard in the pinned libNgU code allowed the configuration to pass.
As a result, the rng_get() function resolved to MicroPython’s Yasmarang software generator rather than the board-specific STM32 hardware generator. Both implementations exposed compatible interfaces, allowing the firmware to compile and generate valid-looking seed words. The device did not encounter a runtime error because the software generator was selected during the build process rather than activated as a fallback after a hardware failure.
Coinkite estimated that affected seeds had approximately 40 bits of effective entropy on Mk2 and Mk3 devices and 72 bits on Mk4, Mk5 and Q models, compared with the intended 128-bit security target. The company said the estimates were based on its internal analysis. The 72-bit estimate has not been independently established.
Hashing the generator’s output did not restore the missing entropy, according to the report. The weakened seeds could therefore be subjected to offline key-recovery attempts without requiring access to the original hardware wallet.
Reported losses span hundreds of accounts and thousands of addresses
Coinkite said its support review, completed on November 18, identified approximately 300 loss-related tickets associated with 242 customer accounts. The company estimated those accounts represented about 0.21% of its user base.
However, the figure does not establish the total number of affected customers. COLDCARD is a non-custodial wallet provider, meaning it does not hold users’ funds or maintain a complete record of their wallet balances and losses. The company said the actual number of affected users could be higher because not every victim reports a theft.
Other investigations have produced different figures. A public analysis of the first theft wave reported reconstructing at least 328 distinct seed roots, while Galaxy Research reported 8,865 attributed addresses as of August 24.
These figures measure different things and cannot be added together to calculate the number of victims. A single seed can generate multiple wallet addresses, while one person may control several seeds. Coinkite also said its review of duplicate reports was still open. The company has not published a confirmed aggregate figure for the funds stolen across all reported thefts.
Earlier security reviews did not identify the defect
The postmortem said Coinkite documented at least 15 independent security reviews and research efforts involving COLDCARD hardware, firmware, entropy tools and release controls between 2021 and 2026. Those efforts included a paid Mk4 review in 2022, a separate review of the Q model in early 2024, research by Ledger Donjon and contributions from independent firmware researchers. The company said its firmware repository had 54 contributors during the period.
However, the reviews varied in scope, and many did not examine the specific seed-generation path used in shipping firmware. Coinkite said none identified the integration error that caused rng_get() to resolve to Yasmarang.
An AI-assisted review conducted by independent researcher Rob Hamilton between May 1 and June 26, 2026, also failed to detect the defect. Using the OpenAI Cybersecurity Harness, the review produced 85 candidate findings and led to several fixes, but did not identify the incorrect random-number generator selection. A separate firmware review by Nick Farrow, dated June 17, included weak random-number generation in its scope but concluded that the RNG path was sound. It also did not identify the integration defect.
Coinkite attributed the failure to a gap in its release checks. The company said its existing controls verified that the hardware RNG code was present and that generated output passed statistical tests, but did not establish which implementation the actual seed-generation path reached in the shipping firmware.
The report does not establish who discovered the flaw before the thefts began or how the attackers found it. Coinkite discussed AI-assisted discovery as one possible explanation, citing the short interval between the public release of Kimi K3’s model weights on July 27 and the first reported thefts on July 29. It did not present evidence identifying the tool or person responsible.
Fixed firmware adds hardware checks and user-supplied entropy
Coinkite released corrected firmware on July 31, 2026, adding a build-time check designed to reject firmware if the random-byte function resolved to the wrong implementation.
Later releases introduced additional safeguards. Starting with the August 20 updates, standard firmware required user-supplied entropy for newly generated master seeds, Temporary Seeds, and CCC Keys. The process combines that input with the STM32 hardware RNG and entropy from two secure elements.
The company also replaced Yasmarang in libNgU’s general-purpose random-number path with SHA-256 Hash_DRBG. The updated firmware checks the hardware RNG for errors, retries certain recoverable faults, and stops operation if a persistent fault occurs.
A boot-time check was added to verify that the running firmware reaches the intended hardware random-number-generation path before normal operation. Later releases also introduced View TRNG Words and a public verification script, allowing users to independently check how their seed was mixed with additional entropy.
Coinkite said these changes do not repair seeds created on affected firmware. Owners whose seeds were generated during the affected period must create a new seed using verified fixed firmware and transfer their funds to the new wallet.
Keylabs verifies the fix in four standard firmware builds
Independent security firm Keylabs published its review of the remediation on October 15, 2026. It examined four signed standard firmware binaries: Mk5 versions 5.6.2 and 5.6.3, and Q versions 1.5.2Q and 1.5.3Q. The review included source-code analysis, checks of signed release images, disassembly of the firmware binaries, and a comparison with a pre-fix build. Keylabs confirmed that the reviewed fixed binaries reached the STM32 hardware RNG through the intended seed-generation path.
It concluded that the remediation was sound and that the July 2026 integration defect was closed within the scope of its review. The assessment did not cover every COLDCARD model, component, or release track. In particular, Edge firmware was outside the review’s scope.
The company said further independent reviews remain necessary and listed additional work on its Security Status page. Three recommendations in the postmortem remain open, including further reviews covering Edge releases, restoring control of the COLDCARD X account and deciding whether to establish a customer compensation or assistance program.
Affected users are advised to replace compromised seeds
Coinkite’s migration guidance says users with seeds generated on affected firmware should install verified fixed firmware, create a new seed, verify the backup and move their funds. The guidance also applies to passphrase-protected wallets derived from an affected seed.
The company cautioned users against sharing seed words, passphrases, private keys, dice rolls or backup files with anyone, including people claiming to offer recovery or compensation services.
Coinkite said law enforcement is investigating the thefts and that the Canadian Center for Cyber Security has a separate open case. The identity of the attackers and how they discovered the vulnerability remain unknown.
The company has asked whoever controls the stolen funds to contact its security team at security@coinkite.com and return the assets. It said it could not promise immunity, confidentiality, payment, or any particular outcome.
Also Read: Bitcoin’s Long-Term Holders Sell at 33% Loss During $64.6K Rebound
Disclaimer: The information researched and reported by The Crypto Times is for informational purposes only and is not a substitute for professional financial advice. Investing in crypto assets involves significant risk due to market volatility. Always Do Your Own Research (DYOR) and consult with a qualified Financial Advisor before making any investment decisions.


