Security

Software randomness error in Coldcard wallets enabled theft

A configuration error in Coldcard firmware caused seeds to use a weak pseudo-random number generator instead of hardware entropy. This flaw allowed attackers to regenerate private keys and target over 8,600 addresses, bypassing 15 independent security reviews and audits.

Software randomness error in Coldcard wallets enabled theft

Software randomness error bypassed security reviews

The postmortem report clearly identifies how a single configuration error allowed thieves to exploit Coldcard hardware wallets for years. From March 2021 to July 2026, the firmware generated wallet seeds using MicroPython’s Yasmarang software pseudo-random number generator instead of the intended hardware random-number generator. This error reduced the effective randomness of seeds to between 40 to 72 bits, which fell short of the 128-bit target. Attackers used this weakness to regenerate private keys offline and steal funds without touching a device. The flaw evaded 15 independent review efforts, including two paid third-party audits, physical-security work conducted by Ledger Donjon, and an AI-assisted firmware review that produced 85 different findings regarding the code. These checks confirmed the hardware-RNG code existed, but they never verified that seed generation actually used it. Because a safeguard in the libNgU code failed to reject the faulty configuration, statistical tests also failed to distinguish the defective generator output from a properly seeded one.

Victim impact and hardware migration

Galaxy Research attributed more than 8,600 addresses to the theft, while Coinkite reported 242 accounts tied to 300 loss-related support tickets. This figure equals roughly 0.21% of the estimated user base. Coinkite cautioned that Galaxy Research figures and Coinkite support tickets count different things and cannot be combined into a single victim total. Coinkite noted the first thefts started two days after the Kimi K3 model release and called AI-assisted discovery "a plausible hypothesis, not an attribution." The Bitcoin Red Team used Kimi K3 to run a 108-hour multi-model sweep that flagged nearly 8,000 candidate findings across 501 Bitcoin projects.

Metric Value
Affected accounts (Coinkite) 242
Reported loss tickets 300
Attributed addresses (Galaxy Research) 8,600+
Seed randomness (Effective) 40-72 bits
Seed randomness (Target) 128 bits

Coinkite rebuilt its seed generation by adding mandatory user entropy, multiple hardware sources, and build-time and boot-time checks. Keylabs concluded the defect is "fully closed" in current standard firmware. However, software updates cannot repair seeds already created on affected devices, so these users must migrate to new hardware. "Some victims lost life-changing amounts, and returning the funds is the only action that can directly reduce that harm," Coinkite said.