COLDCARD Wallets Suffer Mass Crypto Theft After RNG Flaw Allows Seed Reconstruction
A major incident last week involved the mass theft of cryptocurrency from users of COLDCARD hardware wallets produced by Coinkite. Although cold wallets are designed to keep private keys offline and resistant to remote attacks, a flaw in the random number generation process allowed attackers to reconstruct wallet seeds for a large number of devices.
The root cause traces back to 2021 when Coinkite decided to replace its custom elliptic-curve cryptographic stack with the widely used libsecp256k1 library. During integration, developers mistakenly routed seed generation through the libNgU library’s rng_get() function. For COLDCARD Mk2 and Mk3 devices running firmware v4, the resulting seed depended only on the device UID, timer state, and prior generator calls, making reconstruction straightforward. Newer models added limited extra entropy that only marginally increased attacker effort.
Attackers were able to replicate the flawed generator on their own infrastructure and validate candidate seeds against public Bitcoin blockchain data. On July 30, the first large-scale operation drained more than 70 million dollars in roughly 41 minutes, targeting the richest wallets. By August 1, total losses reached 1,367 BTC across 4,585 addresses, equating to approximately 88 million dollars.
Coinkite published details of the vulnerability the same day and later released patched firmware. Users must both update their devices and generate fresh seeds; simply applying the firmware update is insufficient. Wallets that combine the generated seed with a passphrase or independently created entropy remain at lower risk. Products such as TAPSIGNER, OPENDIME, and SATSCARD are not affected.
The case demonstrates how a subtle coding error in a cryptographic component can undermine years of hardware security design, remaining undetected despite standard testing and code review processes.