InSerHappy

The Coldcard Exploit: How a 2021 Backdoor Bled $115M in 41 Minutes

CryptoNode Web3

The market didn't see it coming. But the silence between the blocks told the real story. On July 30, 2025, a coordinated sweep of 1,195 Bitcoin addresses drained 1,778.58 BTC—valued at $115 million—in under an hour. The target? Coldcard hardware wallets. The attack vector? A firmware backdoor planted four years earlier.

Tracing the gas leaks before the code compiles.

Coldcard has long been the gold standard for Bitcoin self-custody—a hardware wallet marketed as 'military-grade' security. The device, built by Coinkite, runs a custom firmware that isolates private keys from the internet. Its promise: even if your computer is compromised, your keys remain safe. But the attack exposed a fundamental flaw in that assumption. The vulnerability wasn't in the hardware's physical security—it was in the software that generates those keys.

According to Galaxy Research, the exploit targeted wallets created after a specific firmware update on March 17, 2021. The attacker drained addresses that had been dormant for an average of 1,292 days—roughly 3.5 years. This isn't random. It's a forensic signature. The attack was a time bomb: the keys were compromised at birth, but the trigger was pulled only when the balances were worth the cost.

The model didn't account for patience.

Let's break down the execution. The attacker used a highly automated script to sweep 1,195 addresses across nine blocks in 41 minutes. That's roughly 133 transactions per block—a pace that would overwhelm any manual operation. The bot paid a fixed 30 sat/vByte fee, prioritizing speed over cost efficiency. This wasn't a hack; it was a liquidation event.

Wave 1 alone moved 1,082.57 BTC into a single output, later consolidated into a script hash vault. The attacker then used batch transactions—one block contained 795 addresses in a single sweep. This level of automation requires deep knowledge of Bitcoin's scripting language, UTXO management, and transaction batching. It's not script kiddie work. It's an APT-grade operation.

Debugging the market: the real story is in the timing.

The key question: why wait 3.5 years? If the keys were compromised in 2021, why not drain them immediately? The answer lies in the attacker's strategy. A 2021 sweep would have triggered immediate panic and a firmware patch. By waiting, the attacker allowed balances to accumulate—and more importantly, allowed the market to forget. The median time of 1,292 days suggests the attacker was either acquiring the exploit capability recently or strategically delaying to maximize value.

I've seen this pattern before. In 2022, when I dissected the LUNA/UST collapse, I noticed that the largest wallets didn't exit at the peak. They waited until the panic was over, then executed their moves when the market was least prepared. The same principle applies here. The attacker didn't want to tip their hand. They wanted the full $115 million.

Contrarian: the real risk isn't the $115 million—it's the unknown.

The market's reaction was predictable: a drop in Coldcard's reputation, a spike in hardware wallet sales from competitors. But the contrarian view is darker. If the attacker controlled keys from a specific firmware version, they may have access to far more addresses than the 1,195 they drained. The 1,778.58 BTC could be the tip of the iceberg. The attacker might be sitting on a cache of 10,000 compromised wallets, waiting for the next batch to mature.

This is the same logic I used when auditing the Golem ICO contract in 2017. I found an integer overflow that could have drained the entire fund. The developers patched it, but the vulnerability was a symptom of a deeper issue: the codebase had no formal security standards. Hardware wallets face the same problem. The firmware is the trusted base, but if it's compromised, the entire security model collapses.

Liquidity is just patience with a time limit.

The attacker's patience is a form of liquidity. They held the option to drain addresses at any time, and they exercised it when the market cap was high enough. This is a classic option play: the attacker bought a long-dated call option on Bitcoin's price, with the strike price being the cost of the exploit. The waiting period was the premium. And they won.

For retail investors, the lesson is brutal. Your hardware wallet is only as secure as its firmware. If you bought a Coldcard between March 2021 and the present, you need to check your key generation date. If you used a device from that batch, assume your keys are compromised. The rug wasn't pulled; it was dug from under you.

Takeaway: the next attack is already in the code.

The Coldcard exploit is a wake-up call for the entire self-custody ecosystem. The assumption that 'hardware' equals 'security' is a fallacy. The trust is in the software that runs on the hardware. And if that software has a backdoor, the hardware is just a fancy USB drive for the attacker.

Two weeks in the lab, one second in the field. The attacker spent years preparing for a 41-minute sweep. The next attack is already being engineered. The question is: which firmware version are you running?

Market Prices

Coin Price 24h
BTC Bitcoin
$75,983.3 -1.30%
ETH Ethereum
$2,404.06 -2.91%
SOL Solana
$97.34 -3.50%
BNB BNB Chain
$711.7 -0.95%
XRP XRP Ledger
$1.29 -7.97%
DOGE Dogecoin
$0.0799 -3.43%
ADA Cardano
$0.1945 -5.17%
AVAX Avalanche
$7.27 -3.49%
DOT Polkadot
$0.9585 -3.70%
LINK Chainlink
$10.81 -5.10%

Fear & Greed

51

Neutral

Market Sentiment

Event Calendar

{{年份}}
28
03
unlock Arbitrum Token Unlock

92 million ARB released

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

12
05
halving BCH Halving

Block reward halving event

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

18
03
unlock Sui Token Unlock

Team and early investor shares released

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

🧮 Tools

All →

Altseason Index

41

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

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$75,983.3
1
Ethereum ETH
$2,404.06
1
Solana SOL
$97.34
1
BNB Chain BNB
$711.7
1
XRP Ledger XRP
$1.29
1
Dogecoin DOGE
$0.0799
1
Cardano ADA
$0.1945
1
Avalanche AVAX
$7.27
1
Polkadot DOT
$0.9585
1
Chainlink LINK
$10.81

🐋 Whale Tracker

🔵
0xbe02...ca2d
12m ago
Stake
1,893 ETH
🔵
0x8132...b655
1h ago
Stake
3,702,368 USDC
🔵
0xcb4f...9d9e
30m ago
Stake
43,769 SOL

💡 Smart Money

0x3856...d36d
Experienced On-chain Trader
+$4.4M
70%
0xb959...073a
Arbitrage Bot
+$3.5M
94%
0x25b8...b5ac
Institutional Custody
+$3.3M
65%