A payment worth a few cents can reveal which computer is watching a bitcoin address, Bitcoin Core contributor Abubakar Sadiq Ismail has shown. In a post on Delving Bitcoin, a developers’ forum, on 25 Nov, he described how the Bitcoin Core wallet rebroadcast habit can tie an address to a node’s internet (IP) address, and reported that it picked the right node 30 times out of 30 on a private test network.

He is careful to say the leak itself is not new. It has been discussed on the project’s tracker for years. What his post adds is a cheap way to trigger it on purpose, and numbers.

How the planted payment works

A node is a computer running Bitcoin Core: it keeps its own copy of the chain, swaps transactions with other nodes and can hold a wallet. If a payment to or from that wallet stays unconfirmed, the wallet announces it to its peers again at a random point 12 to 36 hours later, as the GitHub issue on rebroadcasting sets out. Ordinary relaying nodes do not do this.

That makes the re-announcement a signature. An attacker sends a tiny payment, at the lowest fee the network will relay, to an address that has been used before, so it is unlikely to confirm. A day or so later, the node that announces it again to a freshly connected peer is the one whose wallet tracks that address.

The cost, from Ismail’s own table at about $59,000 per bitcoin:

  • Paying a native SegWit (P2WPKH) address: 309 satoshis in all, about $0.18.
  • Paying a Taproot address: 346 satoshis, about $0.20.
  • Paying a legacy (P2PKH) address: 569 satoshis, about $0.34.

Watch-only wallets, which follow an address without holding its private key, behave the same way. So the leak reaches tools that load addresses into a Core wallet, including Sparrow in its Core mode, Specter, Liana, JoinMarket and Electrum Personal Server, by his list. A node that uses Tor but keeps some ordinary internet peers also re-announces over the ordinary internet, exposing its real IP.

Two caveats matter. The test ran on regtest, a private network, not on bitcoin’s live network. And linking an address to a node is not the same as identifying who owns the coins: one node can watch addresses for many people.

What is on the table, and my base case

A pull request, #36482, opened by maintainer Ava Chow on 8 Oct, would rebroadcast only transactions that are new to the node’s mempool, its list of transactions waiting to confirm. It is still open.

Fellow contributor Martin Zumsande replied that it “only raises the cost of the active attack slightly”, and argued that resending payments the wallet receives should become opt-in. Ismail answered on 26 Nov that rebroadcasting as a whole should be opt-in.

My base case, which I will call the quiet default, is that the eventual fix is a change of default behaviour rather than a dramatic patch, much as the orphan-announcement stall fixed on 20 Nov came down to a simple change that still took months to ship. What would change my mind is a measurement of the method on the live network that shows it working at scale, which would put pressure on a point release instead of a design debate.

It also belongs to a family. This week Braiins described forged internet routes used against miners. Bitcoin’s network layer leaks and bends in ways its ledger does not.

What node operators can do now

Ismail lists the options. Running with -walletbroadcast=0 stops the signal, but it also stops the wallet sending your own new transactions, so you must broadcast them yourself with sendrawtransaction.

Running only over Tor (-onlynet=onion) or I2P keeps the public IP out of it, though the address can still be tied to the node’s onion or I2P identity. The method does not let anyone spend coins. The risk is to privacy, and to anyone who would rather not be found.

This article is for information only and is not investment advice.