Coldcard's Fatal Flag: TRNG Bypassed, Private Keys Built From Serial Numbers, $130M Drained — and the Attacker Is Still Sweeping

0xNeo Funding

Block timestamps don't lie. Neither do private keys generated from a chip's serial number and a boot timer.

Seven thousand three hundred addresses. One thousand five hundred ninety-six Bitcoin confirmed stolen. Dollar figure now north of $100 million and climbing. A suspected fourth wave pushes the total toward 2,055 BTC — roughly $130 million at current prices. The attacker hasn't moved 90% of the haul. This isn't a post-mortem. This is a still-burning fire.

The root cause isn't a leaked seed phrase. It isn't a phishing attack. It isn't a compromised app.

It's a firmware build error in Coldcard, the Bitcoin purist's hardware wallet. A configuration flag that told the device to skip its own hardware random number generator. A supporting library that checked whether the flag existed — but never checked whether the flag was actually enabled. Key generation then fell back to a software scheme seeded by two variables: the chip serial number and timer registers.

Neither is secret.

That's the whole attack. That's the entire nightmare. The most paranoid hardware wallet in Bitcoin — the minimalist one, the open-source one, the "trust nothing" one — was generating private keys from values an attacker could predict. And the fix shipped July 31 cannot repair a single seed generated while the bug was live.

I've audited enough firmware to say this plainly: this is a fail-open entropy collapse. The worst class of bug in hardware security. And it ran for more than two years.


CONTEXT: WHY THIS CUTS DEEPER THAN ANY EXCHANGE HACK

Coldcard occupies a peculiar throne in the Bitcoin ecosystem. It's the hardware wallet for the user who doesn't trust hardware wallets. Made by Coinkite, it's deliberately austere — no screens loaded with fancy animations, no companion app that phones home, no wireless interfaces to attack. Open-source firmware. Air-gapped transactions. A device marketed to the "not your keys, not your coins" crowd that takes self-custody to its logical extreme.

That's why this cuts deep.

When a centralized exchange leaks a database, mainstream users shrug. When Coldcard generates predictable private keys, the most security-conscious segment of Bitcoin gets hit exactly where it lives. This user base — the ones running their own nodes, the ones who HODL through capitulation, the ones who treat hardware wallets as vaults — now faces the possibility that their vault had a copy of the code written on the door.

Coldcard's Fatal Flag: TRNG Bypassed, Private Keys Built From Serial Numbers, $130M Drained — and the Attacker Is Still Sweeping

The timeline matters. March 2021: a firmware build introduces the fatal configuration error. The device is instructed to skip its own hardware TRNG. The library that handles key generation checks for the presence of the setting rather than verifying whether the setting was enabled. Key generation immediately begins using a fallback path — a software-based pseudo-random scheme seeded by the chip's serial number and timer registers.

Those inputs aren't secrets. They're device identifiers visible to anyone with physical access — and predictable to anyone with knowledge of the chip supply chain. Anyone who can enumerate serial number patterns and sample timing windows can reconstruct the seeds. Reconstruct the seeds. Derive the master key. Drain the deterministic wallet tree. That's the mathematical equivalent of handing a burglar the combination to every safe you've ever owned.

The bug sat quiet for two years. Then Galaxy Research found the bleeding.

Three main attack waves. Fourteen smaller incidents. Addresses flowing to a single attacker-controlled cluster. The confirmed number started at $38 million when first discovered, ballooned to $88.6 million by Saturday, and now stands above $100 million. A suspected fourth wave — 2,055 BTC in total — would put the final bill at roughly $130 million.

The attack is still running.


CORE: THE TECHNICAL CHAIN, STEP BY STEP

Let me break down what actually happened, because the technical chain is where the real horror lives.

Step one: the config flag. Somewhere in the Coldcard firmware refactor of early 2021, a build configuration was introduced that told the device's key generation routine to bypass the hardware random number generator. Whether this was accidental, copied from a test profile, or the result of a merge gone wrong — the reporting calls it a build error — the effect is unambiguous: the device's primary source of cryptographic entropy was switched off.

Step two: the broken check. The companion library trusted the configuration. This is the part that should terrify every security engineer reading this. The library didn't verify whether the TRNG was actually enabled and producing output. It only checked whether the setting was present. That's the difference between checking "is the door locked?" and checking "does a key exist that might unlock the door?" — a catastrophic conflation of configuration detection with functional validation.

This is precisely the kind of bug that slips through code review because it fails silently. No error. No warning. No degraded-health indicator. The device just... used the wrong entropy source. Users assumed their private keys were born from quantum-grade physical randomness. In reality, those keys were derived from a deterministic seed built out of a serial number and a timer.

Step three: the fallback. When the TRNG was skipped, key generation fell back to a software alternative. The seeds came from the chip's serial number and timer registers. Both are non-secret. Timer registers, sure, contain some microsecond-level noise — but they're also highly predictable, especially for an attacker who understands the chip's boot sequence and clock behavior. Serial numbers are worse: often sequential, often logged in supply chains, often exposed in debug interfaces or printed on packaging.

Combine the two. You don't need a genius. You need a script that enumerates plausible serial-number ranges, samples plausible timer windows, generates candidate seeds, and checks whether any derived address holds a balance. At that point, the attacker is no longer cracking wallets. They're mining them.

The principle violated here is one I hammer on in every audit: fail-secure, not fail-open. A security device that cannot confirm its own entropy source should stop working. It should refuse to generate keys. It should brick itself before it produces a single vulnerable address. Instead, this device did the opposite — it downgraded silently, gave the user a warm feeling of security, and handed the attacker a probabilistic master key.

Coldcard's Fatal Flag: TRNG Bypassed, Private Keys Built From Serial Numbers, $130M Drained — and the Attacker Is Still Sweeping

Fail-secure, not fail-open. That's the whole sermon. Coldcard slept through it.


THE 7,300 ADDRESS MYSTERY: WHERE THE REAL EXPOSURE LIVES

Galaxy Research identified roughly 7,300 affected addresses. Only 1,596 BTC of confirmed theft has been disclosed. But here's what keeps me up at night: only 73 victims have come forward.

Seven thousand three hundred addresses. Seventy-three claimants.

That's a 1% reporting rate. Either the remaining addresses held dust, or — far more likely — the attacker prioritized high-balance addresses first and left thousands of smaller wallets dormant. Hibernating. Waiting for the victims to deposit more funds into a compromised key ladder.

This is the "silent victim" problem. The theft isn't a one-time event. It's a standing exploit. Anyone who initialized a Coldcard wallet between March 2021 and July 31, 2023, and who is still holding assets in a wallet derived from that vulnerable firmware, is walking around with a pre-signed withdrawal permission in the attacker's pocket. The attacker hasn't taken the funds because the attacker hasn't needed to. The funds are already as good as controlled.

The waves confirm the targeting logic.

First wave: the biggest, most obvious addresses. Second wave: the next tier. Third wave: the long tail. Each wave requires the attacker to enumerate more candidate keys, test more addresses, and win the race against any wallet cleanup. The progression from $38 million to $88.6 million to $100 million-plus in five days doesn't look like random theft. It looks like a systematic sweep.

And then there's the 90%.

Ninety percent of the stolen Bitcoin has not moved. Attackers don't usually leave their loot parked. They mix it. They bridge it. They try to launder it through exchanges before the heat arrives. The fact that 90% sits unmoved tells me one of two things. Either the attacker is still sweeping — still enumerating new victims, and liquidation would tip their hand — or the attacker is deliberately holding, waiting for the attention cycle to decay.

Galaxy Research, to its credit, has already handed the address clusters to US federal law enforcement, crypto exchanges, and network forensic firms. That's a significant move. Exchange-level freeze requests on identified addresses could blunt the attacker's ability to cash out. But it also means the attacker knows the clock is ticking. Desperation could trigger a dump. Dump pressure from 90% of a $100 million+ haul — call it 1,440 BTC — wouldn't crash a market that trades hundreds of thousands of coins daily. But it would be visible. And in a bull market, visibility cuts both ways: fear sells, then dip buyers step in.


THE LIBRARY CHECK: A BUG CLASS I KNOW TOO WELL

Here's where my own audit background kicks in.

I've spent years reading firmware diff logs and hammering pre-audits on wallet code. The "presence vs. enabled" bug class is not exotic. It's one of the most common failure patterns in configuration-driven software. I saw it in smart contract upgrade modules back in 2020, when teams checked whether an admin key was "set" rather than whether the key holder had actually signed. I saw it in DeFi oracle integrations during the Aave governance scramble — the same lazy boolean, the same catastrophic assumptions.

A developer writes a check that reads "if flag exists, then proceed" instead of "if flag is enabled and verified, then proceed." It's a shortcut. And shortcuts are how hardware security dies.

The deeper issue is what I'd call the "security theater of physical isolation." Coldcard's entire pitch was minimalism as security. No extra attack surface. No unnecessary code paths. But minimalism cuts both ways. A lean codebase with no independent entropy verification is a lean codebase that can fail in exactly one direction: silently. Ledger has its own secure-element chips, its own validation layers. Trezor has its own set of trade-offs. Coldcard's "we do less" philosophy created an environment where this single config check was the only gatekeeper. And the gatekeeper was reading the wrong field.

Let me be fair to the designers. Hardware wallets are hard. The intersection of hardware, firmware, and cryptography is where the industry's smartest people trip over their own shoelaces. The 2020-era Ledger firmware issues showed that even the biggest players ship entropy-adjacent bugs. The difference is the consequence. When a mainstream gadget fails, you lose a session. When a hardware wallet fails, you lose a life's savings.


THE FIX THAT DOESN'T FIX: WHY THE JULY 31 PATCH IS ONLY HALF THE STORY

The fix, released July 31, addresses the generation path going forward. New keys will use the TRNG as intended. But — and this is the part that needs to be screamed from every rooftop — the fix cannot repair seeds already generated on vulnerable firmware.

This isn't a software patch situation. This is a replace-your-locks situation.

A deterministic wallet derives every address from a single master seed. Compromise the seed, and every current and future address in that wallet tree is exposed. There is no way to "update" the seed to a secure version. There is no migration path that preserves the same wallet. The only response is to generate a brand-new seed on updated firmware, move all assets, and abandon the old wallet addresses forever.

Anyone who tells you otherwise — anyone who suggests the July 31 fix makes your existing Coldcard wallet safe — is wrong.

This is also where the incident stops being a technical bug and becomes a supply-chain reckoning. The vulnerability chain begins with the build process, moves through a library's validation logic, and ends with user assets. That's three layers of failure. Three opportunities to catch the problem before it became a theft. None of them fired.

What should have happened: the library should have validated TRNG output. The firmware build should have included entropy self-tests. The release process should have run differential tests comparing hardware-generated keys against known-answer vectors. And the product, as a whole, should have treated "cannot confirm entropy" as a fatal error rather than a fallback condition.

None of that was in place. And the result is now measured in nine figures.


THE COMPETITIVE AFTERMATH: WHO WINS WHEN COLDCard BLEEDS

The market impact is more subtle than a headline number.

Coldcard's Fatal Flag: TRNG Bypassed, Private Keys Built From Serial Numbers, $130M Drained — and the Attacker Is Still Sweeping

Bitcoin spot price: barely affected. 1,600 to 2,000 BTC is churn in a market that trades massively more daily. The real damage is to the hardware wallet sector's credibility. Coldcard is not a niche curiosity; it's a reference point. The Bitcoin-hardened maximalist community treated it as the gold standard. When the gold standard leaks, the entire self-custody narrative absorbs the shrapnel.

Competitors will run ads within weeks. Ledger will trumpet its secure-element certification. Trezor will point to its own entropy validation processes. Some share-shifting will happen. But let's be realistic about the Coldcard user: this is the person who runs a full node out of principle and considers anyone using a phone wallet a degenerate. Loyalty runs deep. The bigger risk is not that Coldcard loses users. The bigger risk is that the users who stay — the true believers — start questioning whether any hardware product can truly guarantee key secrecy.

That's the dangerous narrative shift. Because the answer is: no, it can't. Not absolutely. Not ever.

There's a structural lesson here that extends beyond wallets. Every piece of crypto infrastructure — nodes, bridges, custodians, hardware — is a trust assumption wearing a technical costume. The Coldcard incident doesn't just undermine Coldcard. It undermines the entire category of "buy a device, sleep at night." And that, ironically, is the most honest outcome possible.


CONTRARIAN: THE STORY ISN'T THE ATTACKER. IT'S THE 99% WHO DON'T KNOW.

Here's the angle nobody's talking about: the actual story isn't the attacker's cleverness. It's the 7,227 silent victims.

Seventy-three reports out of 7,300 affected addresses. Think about that ratio. The attacker targeted high-value addresses first. The remaining addresses are a loaded minefield of unclaimed vulnerabilities. Thousands of users are holding Bitcoin in wallets whose private keys are mathematically reconstructable by an attacker who already demonstrated the capability. They just haven't been hit yet. Or they've been hit and haven't noticed. Bitcoin doesn't send push notifications when an address gets drained. Some of these users may not check their wallets for months. By the time they do, the attacker could be long gone.

This exposes a structural truth the industry avoids: self-custody is a skill, not a purchase.

Buying a hardware wallet feels like buying safety. It isn't. It's buying a key-management tool with a complex trust chain — firmware integrity, entropy generation, supply chain, user behavior, and, critically, ongoing maintenance. The Coldcard event breaks the illusion that the hardware device is the end of the security conversation. It isn't. It never was.

The second contrarian layer: Galaxy Research just demonstrated a new kind of quasi-regulatory authority. Without any government mandate, a private research firm detected the theft pattern, identified victims, contacted them, and handed the evidence to the FBI and exchanges. That's a sector-internal immune response. And it worked better than most formal regulatory frameworks have managed so far. The template is now set: on-chain surveillance teams will increasingly function as the industry's de facto enforcement arm, with or without formal authority. Governance isn't a meeting. It's a raid — and this time, the raid was run by researchers, not regulators.

Founders should start planning for a world where their protocol's anomalous flows are detected by Galaxy, Chainalysis, or Elliptic before their own dashboards show a problem.

The third contrarian point is the one the bull market doesn't want to hear: incidents like this are net positive for the institutional custody narrative. Every retail self-custody horror story becomes a sales pitch for regulated custodians. "Don't trust yourself," the pitch will go. "Trust a bank-grade custodian with insurance and compliance." That's not a conspiracy. That's a market response. And it's a response the crypto ethos should watch carefully, because the cure for Coldcard's failure might end up being the centralization that Bitcoin was supposed to eliminate.


TAKEWAY: WHAT TO WATCH NEXT

If you touched a Coldcard between March 2021 and July 31, 2023, you have exactly one move: generate a new seed on updated firmware, migrate every asset, and abandon the old addresses. Not later. Now.

For everyone else, watch the 90%. Watch for sudden movement from the flagged address clusters. Watch for exchange freeze announcements. Watch for a fourth-wave confirmation. Watch for other hardware vendors quietly publishing entropy-validation patches — because if this bug class exists in one firmware, it exists in others.

The hardware was the fortress. The firmware was the backdoor. The question is not whether the attacker returns. The question is whether the industry learns to check that the door is actually locked — not just that a lock exists. Fail-secure, not fail-open. Or the next vault won't just be breached. It'll be a pincushion.

Market Prices

BTC Bitcoin
$64,935.5 +1.17%
ETH Ethereum
$1,919.31 +2.44%
SOL Solana
$74.38 +0.35%
BNB BNB Chain
$599 +0.96%
XRP XRP Ledger
$1.07 -0.53%
DOGE Dogecoin
$0.0703 +0.10%
ADA Cardano
$0.1902 -1.50%
AVAX Avalanche
$6.69 -0.36%
DOT Polkadot
$0.8487 +0.35%
LINK Chainlink
$8.2 +0.21%

Fear & Greed

27

Fear

Market Sentiment

Event Calendar

{{年份}}
15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

18
03
unlock Sui Token Unlock

Team and early investor shares released

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

28
03
unlock Arbitrum Token Unlock

92 million ARB released

12
05
halving BCH Halving

Block reward halving event

Market Cap

All →
1
Bitcoin
BTC
$64,935.5
1
Ethereum
ETH
$1,919.31
1
Solana
SOL
$74.38
1
BNB Chain
BNB
$599
1
XRP Ledger
XRP
$1.07
1
Dogecoin
DOGE
$0.0703
1
Cardano
ADA
$0.1902
1
Avalanche
AVAX
$6.69
1
Polkadot
DOT
$0.8487
1
Chainlink
LINK
$8.2

Tools

All →

Altseason Index

43

Bitcoin Season

BTC Dominance Altseason

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

🐋 Whale Tracker

🟢
0xef19...1f94
2m ago
In
5,379 SOL
🔴
0x2b30...7f83
30m ago
Out
2,927,194 USDT
🟢
0xbdc7...0e2d
12m ago
In
8,615 BNB

💡 Smart Money

0xb6ec...b2d0
Top DeFi Miner
+$4.5M
92%
0x4051...e01a
Institutional Custody
+$3.3M
83%
0xf7c6...a880
Institutional Custody
+$3.5M
65%