Skip to main content
Block #9

Private Keys Exposed Within Seconds Once a Wallet Slips Up

Bitcoin

Private Keys Exposed Within Seconds Once a Wallet Slips Up

Dani Oosterhuis
Private Keys Are Exposed Within Seconds as Soon as a Wallet Slips Up
7 min

Researchers from the University of Liège have demonstrated how automated bots rapidly siphon funds from crypto wallets repeating an age-old mathematical error.

Automated search programs plunder vulnerable bitcoin addresses within seconds of a transaction appearing on the network. That is the key finding of practical tests conducted by Vincent Jacquot and Benoît Donnet, two computer scientists at the Montefiore Institute of the University of Liège. The Liège researchers intentionally placed small sums of between 3 dollars and 5 dollars on bitcoin and ethereum addresses configured with a well-known cryptographic flaw. On the Bitcoin network, rival programs struck almost instantaneously: within one to a few seconds of the bait being deployed, at least two bots were competing in the network’s waiting room to sweep the balance to their own addresses.

The speed with which these thefts occur shows just how ruthlessly automated the ecosystem behind public blockchains has become. While the fear and greed index pointed to extreme fear among traders at 15:01 on 20 November with a reading of 12 out of 100, and bitcoin was trading around 56,220 euros at that same moment following a 25.9 per cent drop over the preceding thirty days, specialised scanning software continued running unabated in the background. Malicious actors scan networks day and night searching for mathematical patterns that give away private keys. As soon as an address partially exposes its secret code, the funds vanish before a miner has even finalised the transaction block.

An Old Flaw with Fatal Mathematical Consequences

The vulnerability investigated by the Liège team centres on how many crypto wallets digitally sign payments. The vast majority of transactions on older networks rely on the Elliptic Curve Digital Signature Algorithm, abbreviated to ECDSA. To validate a transaction, the sender’s software combines two distinct ingredients: the account holder’s private key and a one-time random number, known technically as a nonce. The term derives from ‘number used once’ and, strictly speaking, should only ever appear a single time when signing a transfer.

When a wallet uses the same private key to sign two different transactions using the exact same nonce, the security model collapses completely. Anyone viewing both signatures on the public ledger can calculate the address’s master private key using elementary school algebra. The principle is comparable to a banking app generating the exact same one-time PIN twice for separate transfers: anyone comparing both transactions could uncover the account holder’s master password and subsequently drain the entire account.

During the Liège experiment, the researchers sent 7,200 satoshis, the smallest unit of bitcoin, to six brand-new addresses. Roughly an hour later, they instructed two of those addresses to send a payment to each other using the same nonce. Because those transactions originated from two different keys, the danger remained averted for the time being. Only when one of the two addresses signed a third payment using that same random value did the calculation error turn fatal. An unknown bot computed the key immediately and dispatched the remaining 5,200 satoshis to its own address. The attacker’s transaction landed in an official bitcoin block exactly nine minutes later, after which the loot was not moved again.

Six Blockchains Examined in Minute Detail

The Liège scientists did not limit themselves to their honeypot; they also conducted an extensive historical audit. Jacquot and Donnet analysed every single ECDSA signature across six different networks from their very first transaction up to 30 June 2024. That systematic investigation uncovered 3,620 unique private keys that could be fully deduced from reused nonces. The overwhelming majority of these finds, exactly 3,278 keys, originated on the Bitcoin blockchain. Dogecoin followed at a distant second with 195 cracked keys, Ethereum yielded 119 vulnerable addresses, Litecoin came in at nine, Bitcoin Cash recorded six incidents, and Dash saw just a single case.

During the Liège experiment, the researchers sent 7,200 satoshis, the smallest unit of bitcoin, to six brand-new addresses.

One notable finding was that fifteen private keys only came to light when the researchers analysed transaction data across all six networks simultaneously. Certain defective wallet software was recycling identical random numbers across different blockchains. Anyone using the same key for both a bitcoin transaction and a litecoin transaction unknowingly surrendered control of both accounts. At their absolute peak, the addresses behind those fifteen linked keys collectively held nearly 2,100 dollars in crypto assets.

The total historical exposure of all identified vulnerable accounts is substantial. Jacquot and Donnet calculated the highest balance each vulnerable address had ever held, valuing those sums at crypto prices from 25 November 2024. Those individual peaks total 101 million euros, which corresponds to roughly 106 million dollars. That figure represents the theoretical maximum attackers could have snatched had they emptied every account at its wealthiest moment. The research team stressed, however, that it is impossible to determine with certainty how much money was actually siphoned off by criminals at the time and how many withdrawals were executed by legitimate owners moving their funds to safety.

Why Attackers Primarily Hunt on Bitcoin

The historical figures reveal that the flaw caused the most severe damage during bitcoin’s early years. The total vulnerable capital peaked in December 2014 at around 26 million dollars and crossed the 1 million dollar threshold nine times between 2014 and early 2016. The earliest recorded transfers bearing all the hallmarks of an automated theft date back to the fourth quarter of 2015. On the Ethereum network, similar peaks emerged much later, including a wave of roughly 12 million dollars in 2022. For instance, when 6 and 350 ether were sent consecutively to an exposed address in November 2022, a competing transaction hijacked the funds after a mere twelve seconds.

The disparity in scrutiny between the different blockchains is striking. While Bitcoin and Ethereum remain perpetually under the magnifying glass of predatory bots, networks such as Dogecoin, Dash, and Litecoin appear largely untouched. The researchers noted that attackers presumably bypass those networks because the potential proceeds do not justify the ongoing cost of maintaining infrastructure and mempool scanners. According to the research paper, the vast majority of capital still vulnerable to this mathematical exploit today sits on a single bitcoin address using an uncommon transaction format.

That malfunctioning random number generators remain a structural problem for the crypto sector has also been demonstrated at other levels. In July 2026, an error in how Coldcard hardware wallets generated random numbers enabled attackers to drain 594 bitcoin within 25 minutes. Whether in hardware or software: the moment mathematical randomness fails, the door is left wide open.

Lessons for Belgian and Dutch Crypto Holders

For retail savers and investors in Belgium and the Netherlands, the Liège study provides a sober yet urgent warning. Many users assume their funds are untouchable as long as they store their twelve- or twenty-four-word recovery phrase safely on paper and share it with no one. Yet this academic research demonstrates that threats can also stem directly from flawed code. Even if your physical security is immaculate, a hidden programming flaw in an obscure wallet app can still expose your private key to the world the moment you send a routine transaction.

Those who practice self-custody would do well to rely on widely tested software and established open-source programs that implement modern signing standards. Within Bitcoin, for example, a method called RFC 6979 has existed for years, replacing random nonces with a deterministic number mathematically derived from the message being broadcast. This makes reusing the same nonce across two different transfers technically impossible. Anyone using outdated hobbyist software, obscure web wallets, or custom scripts to broadcast transactions, however, still faces a real risk.

Furthermore, the findings underline the fundamental importance of address discipline. By generating a fresh receiving address for every incoming payment and never returning change to an already used address, you limit the number of transaction signatures tied to a single public key. Once an address is emptied, there is mathematically nothing left to steal, even if the signature used happened to contain a flaw.

Not Hidden Flaws, but an Open Hunt

In day-to-day practice, many analysts immediately point to phishing, malware on the victim’s computer, or social engineering whenever crypto theft occurs. In our view, this study primarily highlights that the greatest vulnerability of public networks often lies in their very transparency. The mempool, the public waiting room where transactions await confirmation by miners, acts as a glass showcase where sophisticated bots watch in real time for every mistake a user or their software makes.

The speed with which bots strike proves that attackers are not operating manually, but running pre-configured scripts that solve mathematical equations the moment a new data packet surfaces on the network. We believe that friction for malicious actors has virtually disappeared: they no longer need to breach complex computer networks; they simply turn the protocol’s own mathematics against the user. Anyone who makes a mistake receives neither a warning nor an opportunity to recover, watching their balance disappear before the block is even completed.

The open question remaining after the Liège team’s publication is how many dormant addresses from bitcoin’s early days could still fall prey to these scanners today. Because the researchers deliberately kept the exact address holding the largest remaining vulnerable balances secret to prevent looting, it remains a tense game of cat and mouse between academics and anonymous bot developers. It demonstrates that security in the crypto space is not merely a matter of guarding passwords, but above all of mathematical flawlessness at the origin of every single transaction.

  • Belgium
  • Benoît Donnet
  • bitcoin
  • coldcard
  • Crypto Storage
  • ECDSA
  • Ethereum
  • mempool
  • Universiteit Van Luik
  • Vincent Jacquot
Dani Oosterhuis

Written by

Dani Oosterhuis

Payments Editor · Groningen (NL)

Expertise

StablecoinsPaymentsEuro

Dani follows stablecoins, payment rails, and the bridge between euros and on-chain money. He tests payment solutions himself and measures costs and speed.

Stay in the loop

Follow Block #9.

Daily market and equity news in your feed. Follow us on Facebook and Instagram so you never miss an analysis.

Also on LinkedIn

Block #9 Pro

More depth, less noise

€ 25 / month

See Pro

Practice without real money or test your knowledge?

Read more

Other interesting articles

All articles
Block Notes

By 7 a.m. you already know

Monday, Wednesday and Friday the news that matters. Sunday morning the whole week in one overview. No hype, no noise.

  • Monday, Wednesday, Friday and Sunday morning at 07:00
  • 2 min
  • No spam

Free. Unsubscribe in one click.