
Anyone running Bitcoin Core with the wallet switched on may be revealing to the network which addresses belong to them – and often the IP address of their node as well. On 25 November, Bitcoin Core contributor Abubakar Sadiq Ismail described an attack that needs nothing more than a tiny payment: by his calculation, one attempt costs 18 to 34 cents. An attacker cannot steal coins this way. This is about privacy – which can also affect your personal security.
What it is about
The Bitcoin Core wallet regularly re-sends unconfirmed transactions that concern it to the network. This "rebroadcast" is meant to stop a payment from getting lost if other nodes drop it from memory. It applies not only to your own payments but also to incoming ones. That is exactly where the leak comes from: an incoming payment is later re-sent only by a node whose wallet knows the receiving address.
How the attack works
- Setting the bait: the attacker sends a very small amount to an address they already know – for example because it has been used publicly before. The fee is so low that the payment stays unconfirmed for a long time.
- Listening in: they open fresh connections to as many nodes as possible and watch who announces which transaction.
- Waiting: after 12 to 36 hours, the wallet's rebroadcast kicks in. The node that spreads the bait transaction again gives itself away as the node watching that address.
The cost depends on the address type. At a price of around $59,000, Ismail puts it at about $0.18 for SegWit addresses (P2WPKH), $0.20 for Taproot and $0.34 for old legacy addresses (P2PKH).
Who is affected
Bitcoin Core and Bitcoin Knots with an active wallet are affected – including watch-only wallets without private keys, because the wallet recognises a payment by the address alone. According to Ismail, any software that uses the Bitcoin Core wallet inherits the behaviour. He lists, among others, Sparrow (only in Bitcoin Core mode), Specter Desktop, Liana (in bitcoind mode), Electrum Personal Server, JoinMarket/Jam, Fully Noded and Caravan.
If you use a wallet without your own node, this mechanism does not affect you – but you are handing your addresses to third-party servers anyway.
How solid are the results?
Ismail only ran the attack in a local test environment (regtest): five wallets, six runs, 30 out of 30 correct attributions. It has not been measured on the live Bitcoin network. Some reports speak of "testnet", but the original source says regtest. There is no official security advisory from Bitcoin Core so far.
The finding should still be taken seriously. Linking an address to an IP address often points to a provider, a region or even a household. For people holding larger amounts, that is a risk, as our article on wrench attacks shows.
What you can do now
- Switch off rebroadcast: with the option
walletbroadcast=0in bitcoin.conf, the wallet no longer re-sends transactions. The downside: it then no longer sends your own payments either. You have to broadcast them yourself, for example with thesendrawtransactioncommand. - Tor or I2P only: if the node runs exclusively over Tor or I2P (
onlynet=onionoronlynet=i2p), your real IP address stays hidden. The address can still be linked to the node's onion identity, though. Mixed operation with normal connections does not protect you. - Private broadcast does not help here: according to Ismail, the
privatebroadcastoption offers no protection because the periodic rebroadcast falls back to normal relay. - Do not reuse addresses: the attack requires the attacker to know the address. Using a new address for each payment reduces your exposure.
What the developers are planning
No fix has shipped in any release yet. Several approaches are being discussed. One proposal (pull request #36482) would only re-send transactions that have newly entered the node's memory. According to Ismail, this closes the gap for the bait transaction. Core developer Martin Zumsande counters that it only makes the attack slightly more expensive. He suggests making rebroadcast of incoming payments opt-in (#36398 and #36481). Ismail goes further and wants rebroadcast to become optional altogether.
The case is unrelated to the flaw from June. Back then, the new privatebroadcast feature in Bitcoin Core 31.0 could, under certain conditions, reveal the IP address by bypassing the Tor proxy. That was fixed in version 31.1.
Read more: Should you run your own Bitcoin node?, Fake internet routes: more than 1,000 mining sites unknowingly worked for a thief and Wrench attacks: why bitcoin holders now fear burglars more than hackers







