Researchers at the University of Liège say automated attackers can move almost immediately when a Bitcoin wallet exposes its private key through a nonce-reuse mistake. In tests using deliberately vulnerable addresses funded with only a few dollars, they observed competing transactions appear within seconds after the bait hit Bitcoin’s mempool.
The work, by computer scientists Vincent Jacquot and Benoît Donnet, also expanded into a broader scan of ECDSA signatures across six blockchains. Reviewing activity from each network’s launch through June 30, 2024, they reported recovering 3,620 private keys, most of them on Bitcoin, and estimated that the affected addresses had at one point held a combined peak value of about $106 million. The researchers did not determine how much of that was actually stolen.
How the bait experiment worked
Jacquot and Donnet placed between $3 and $5 into Bitcoin and Ethereum accounts that they had intentionally set up to be vulnerable. On Bitcoin, they said attacks started a second or a few seconds after the setup was visible, with at least two rival transactions racing to capture the funds while the transaction was still waiting in the mempool.
CoinDesk’s review of one trap outlined the sequence in more detail. The researchers sent 7,200 satoshis to each of six newly created Bitcoin addresses from one wallet. About an hour later, two of those addresses paid each other using the same nonce, but because the signatures came from different keys, that step alone did not expose either key.
The critical error came when one of those addresses signed a third payment with that same nonce. Once a single private key reused its nonce, anyone who could see the signatures had enough information to derive the key. The next outgoing transaction from that address sent its remaining 5,200 satoshis to an unknown address, using the bait’s own private key. That transaction was confirmed nine minutes later, and the 4,700 satoshis that reached the thief’s address had not moved since.
Why nonce reuse is dangerous
The flaw centers on ECDSA, the signature scheme widely used across major cryptocurrencies. Each signature combines the owner’s private key with a random number called a nonce, which is meant to be fresh for every transaction. If the same key signs two transactions with the same nonce, an observer can use those signatures to recover the private key.
Because Bitcoin’s mempool is public, attackers do not need to target a specific person in advance. They can continuously monitor the network for signing mistakes and react as soon as a vulnerable transaction appears. The researchers’ experiment illustrates how quickly that can happen once exploitable data is broadcast.
The paper also noted a spillover effect in one of the test cases: once one key was recovered, a partner address that had shared the nonce became exposed as well. That address was left untouched for 13 days before being swept later.
Thousands of keys recovered across six chains
The researchers said they scanned every ECDSA signature on six blockchains from launch through June 30, 2024. In total, they recovered 3,620 private keys. Bitcoin accounted for 3,278 of them, followed by Dogecoin with 195, Ethereum with 119, Litecoin with nine, Bitcoin Cash with six and Dash with one.
Fifteen keys appeared only when signatures were compared across all six networks together, suggesting some wallet software had reused nonces on more than one blockchain. According to the study, addresses linked to those 15 keys held just under $2,100 at their peak.
To estimate the scale of exposure, the team took the highest balance of each vulnerable address and valued those balances using cryptocurrency prices from Nov. 25, 2024. On that basis, the separate peaks totaled €101 million, or about $106 million. The study did not establish how much attackers actually extracted.
Where the exposure was concentrated
Most of the vulnerable value identified in the study dates back to Bitcoin’s earlier years. The total exposed pot exceeded $1 million nine times, mostly between 2014 and early 2016, and reached a high of nearly $26 million in December 2014.
Later spikes were smaller and came mainly from Ethereum, including roughly $12 million in 2022 and about $1 million in 2023. The earliest Bitcoin activity that the paper marks as possible attacks dates to the fourth quarter of 2015.
The authors said attackers appear less active on some chains, writing that Dogecoin, Dash and Litecoin are likely not under active scrutiny. They also reported that most currently vulnerable funds are concentrated in a single Bitcoin address using an uncommon format, though the paper does not disclose that address or its current balance.
What the findings point to next
The study’s central takeaway is that weak randomness in wallet signing can turn into an immediate theft risk once transactions become public. The researchers argue that security cannot depend entirely on users avoiding mistakes, and that wallet developers, providers and exchanges need safeguards that make nonce-reuse failures harder to produce or exploit.
The issue is not only historical. The article notes that in July, a flaw in the way Coldcard hardware wallets generated private keys allowed attackers to drain 594 BTC in an initial 25-minute sweep. The Liège researchers’ findings add a wider cross-chain dataset to that warning, while leaving open the unresolved question of how much of the identified exposure was ultimately stolen.
Source: www.coindesk.com