Over three days starting July 30, 2026, coins left Coldcard-generated wallets in three coordinated waves. Galaxy Research’s August 14 report puts high-confidence losses at 1,778.84 BTC ($112.7M) from more than 8,600 addresses, with no confirmed activity after August 6. The victims had done what the industry told them to do, bought a well-regarded hardware signer, generated the seed on the device and kept it offline, and many had not touched those wallets in years. The attacker never touched one of them.
The cause, per Coinkite’s advisory and technical backgrounder, was a firmware regression that shipped in March 2021 and survived five years of releases and reviews: seed generation stopped using the hardware random number generator. I read the fix in the firmware repository to see what the bug and the repair look like at source level. Both are smaller than I expected: the bug is one preprocessor check and the fix is sixty lines in eleven files.
One preprocessor semantic
Coldcard’s board configuration defines MICROPY_HW_ENABLE_RNG as 0 because Coinkite supplies its own hardware-RNG wrapper. That define is still there today in each board’s mpconfigboard.h. Downstream, the guard in Coinkite’s own libNgU, the library that wraps the chip’s generator for MicroPython, checked #ifndef MICROPY_HW_ENABLE_RNG: whether the macro exists, not whether it is enabled. Defined-as-zero passed the check, and the build linked MicroPython’s software fallback, Yasmarang, a toy pseudo-random generator for chips with no hardware generator at all, seeded from the chip’s unique ID and boot-time state and never fed fresh entropy again.
The fix commit, dated July 31, is eleven files and sixty lines. The upstream fallback is compiled from /dev/null so it can never be built. A new step in the makefile runs nm over the result and fails the build if MicroPython’s rng.o defines any symbol at all, or if the board’s rng.o does not define rng_get, so a surviving reference fails the build instead of failing silently. Two weeks later a boot-time self-test was added that proves rng_get() reaches the hardware and halts the device if it does not.
By Coinkite’s estimate, seeds on Mk2 and Mk3 (firmware 4.0.1 through 4.1.9) carried roughly 40 bits of effective entropy. Mk4, Mk5 and Q got an accidental partial rescue in 2022, a 32-bit reseed from the secure elements, bringing them to roughly 72 bits. Block’s analysis reaches a similar ceiling and refuses to call it strength: “This is not 73-bit cryptographic security”, because the rest of the state is timer values that are correlated and can be narrowed. Block also lists what else drew on the same generator: paper-wallet keys, ephemeral seeds, the masks for a random Seed XOR split and some session keys. The design target was 128. A 40-bit keyspace is a weekend project on commodity hardware, and the sweeps so far are consistent with that. Seventy-two bits is far harder, and no public evidence yet shows one cracked, but Coinkite tells those users to migrate too rather than wait to find out.
Present, never called. The wrapper around the hardware generator existed in every affected binary, reviewed and intact, and was never called from the seed-generation path. Coinkite’s own wording is that reviews “did not verify end-to-end symbol resolution and call reachability” from seed generation. The check confirmed the code existed and nobody confirmed it was reachable, the way a backup can be confirmed to exist and never be restored.
A mundane change. Per an independent reading of the commit history, the regression arrived while integrating a crypto library, as a workaround for a duplicate-symbol compile error, and nothing about it looked like a security decision.
Invisible afterwards
Keys derived from a broken generator look the same as keys derived from a perfect one. A seed with 40 bits of real entropy still expands into well-distributed, unique-looking addresses, and no test suite run against outputs can distinguish “unpredictable” from “deterministic but unexamined.” Entropy is a property of the process that produced the bytes, and the bytes do not carry it. Once generation is over the process has left no trace unless you recorded one.
It has gone this way before. Debian’s 2008 OpenSSL package seeded its generator from a 15-bit process ID and nothing else, and Matthew Green wrote that this “wasn’t obvious during testing, since the 32,768 possible RNG streams all looked pretty random”. In 2023 Libbitcoin’s bx seed command turned out to produce about four billion distinct values, found by people investigating a theft, and Ledger’s researchers found the Trust Wallet browser extension seeding a Mersenne Twister with 32 bits. Every key any of them produced looked random on its own.
That separates key generation from almost everything else in custody. A backup can be verified after the fact and a recovery procedure can be drilled after the fact, but randomness can only be witnessed while it is being made. Whatever assurance you want about it has to be built into the ceremony and written down at the time.
Who survived
Every surviving group made its decisive move at generation time. Dice-roll users survived, by one of two routes that the affected firmware kept apart. A seed made from dice alone is the SHA-256 of the rolls, and the device’s generator never enters it. A seed made the ordinary way could have rolls hashed on top of the weak device entropy, and that mode asked for no minimum, so it saved only the people who rolled enough. Fifty rolls carry about 128 bits. The people teased for paranoia-theater dice ceremonies are the people whose funds never moved, and Coinkite has since made user-supplied entropy mandatory for every new seed on the Mk4, Mk5 and Q, while the fixed Mk3 firmware keeps dice optional.
Multi-vendor multisig users survived, because a 2-of-3 across manufacturers loses one key to one vendor’s design failure and stays below threshold. Wizardsardine’s writeup names the property doing the work: dissimilar redundancy. Three devices of the same brand cover you against losing one, and this failure was on all three. Most of those wallets held anyway. Unchained wrote in September that there were “very few reported cases of a multisig address having funds stolen”, wallets built entirely from Coldcard keys included. Spending from a multisig address takes every cosigner’s public key as well as a quorum of private ones, and an attacker holding a list of weak keys still has to work out which of them belong together. The exposed case in Unchained’s advisory to its own clients was two Coldcard keys out of three on an address that had already been spent from, where the third public key is on chain. Unchained sells multisig, so it is not a neutral witness, but the mechanism is checkable. Every key in an all-Coldcard wallet was still weak. What protected it was the matching problem, and a spend that puts the public keys on chain takes part of that away.
Passphrase users got the least. A passphrase over a weak seed is a second factor bolted onto a broken first one, and it holds only as long as the passphrase itself resists guessing. On Optech’s 4 August podcast Rob Hamilton cited “multiple credible reports” of one and two word passphrases already cracked. Coinkite tells passphrase users to migrate as well.
There is also a group that thinks it survived and has not. Restoring a weak seed onto a different, perfectly good hardware wallet leaves it a weak seed, and no firmware update or change of vendor repairs a key that was already generated.
Everyone else is in a forced migration against parties who can enumerate the keyspace. Galaxy’s clustering has the first wave already running on the morning of July 30, the day the advisory went out.
The largest of the first wave’s three collector addresses, bc1qnk4zh9qcnap2mycp56qjrgza3cc8ylrh8fecp0, took its first payments in block 960188 at 01:36 UTC that day, still the evening of July 29 in the United States, which is the date some accounts give. It shows 506 incoming payments totalling 594.48 BTC as of 3 September 2026, one address per victim, swept and consolidated by a script working through a precomputed list. About 500 of them arrived in four consecutive blocks, mined between 01:36 and 01:51 UTC. Jameson Lopp, writing for Casa, put the whole first wave at roughly 1,200 wallets in about 40 minutes.
Optech reported the next day that several developers had reproduced the attack at once with the help of AI models, so nobody could count on a single attacker. When a key-compromise event goes public, the recovery window is whatever the attacker leaves, and here it was closing the same morning. The advisory itself moved too, first scoped to the Mk3 and widened to Mk4, Mk5 and Q a day later, so anyone who read the first version and stood down was wrong by the following afternoon.
What a key-generation record has to contain, then, is short. Where the randomness came from, what was added to it, how the two were combined, and two more items, about the quorum and about the migration path, that are missing from every ceremony template I have read. A backup can be verified later and the randomness cannot, so the record made on the day is the only evidence of it there will ever be.
Update, 3 September 2026. The first version of this piece, on August 2, gave Galaxy’s count as it stood that day: near 1,367 BTC ($88.6M) across more than 4,500 addresses. The figures at the top are from its August 14 report, which also lists at least 33 further attacker footprints that it does not attribute to a number of attackers.
Correction. An earlier version placed the #ifndef guard in MicroPython (it is in Coinkite’s libNgU), credited the fix to a value check that was already there (the build check that does the work is an nm step), and said user-supplied entropy is now mandatory on every model (Mk4, Mk5 and Q). It gave the 72-bit estimate without Block’s caveat that the figure is a ceiling on the search, left the impression that multisig built from three Coldcards fell with the rest, when reports of stolen multisig funds were very few, called passphrases a partial reprieve when one and two word passphrases were reported cracked by 4 August, and described only one of the firmware’s two dice modes.