Bitcoin Core's wallet can reveal which node is watching an address, a developer shows
In a lab test, a planted payment costing well under a dollar exposed the right node 30 times out of 30. Developers are still debating the fix.

Bitcoin Core's built-in wallet can give away which node is watching a bitcoin address, tests by contributor Abubakar Sadiq Ismail show. He posted the findings on the Delving Bitcoin developer forum on Wednesday, November 25. The flaw exposes privacy, and it doesn't let anyone take coins. It can tie an address to a node's IP address, its internet address, which can point to a person.
How the leak works
Bitcoin Core's wallet rebroadcasts, or sends again to its peers, any unconfirmed transaction it still holds after 12 to 36 hours. That covers payments the wallet receives as well as ones it sends. A node that is only passing a transaction along doesn't tell a peer about it again when that peer joins later. So the wallet's rebroadcast stands out.
An attacker can use this by sending a tiny, low-fee payment to an address that has already been used. Such a payment is unlikely to confirm quickly. The attacker then connects to candidate nodes and waits. Whichever node rebroadcasts the planted payment gives itself away as the one watching that address.
Ismail ran six rounds against five test wallets on a private test network. He picked out the right node every time, 30 out of 30. He gave no figure for the live network. By his estimate, one planted payment costs about 18 to 34 cents, depending on the address type, at a bitcoin price near $59,000.
Who is affected
The leak affects wallets that hold keys and watch-only wallets, which track addresses without keys. Ismail said software that loads addresses into a Core wallet may be affected, including Bitcoin Knots, Specter Desktop, JoinMarket and Electrum Personal Server. He listed Sparrow and Liana as possibly affected, but only when set to connect to a Bitcoin Core node.
Tor does not fully protect a node that also keeps ordinary internet peers. The rebroadcast goes to every peer, so it can expose the node's public IP address. Tor and I2P are networks that hide a computer's internet address. Ismail wrote that a node using only Tor or I2P keeps its IP address out of this leak. Even then, the bitcoin address can be tied to that node's Tor or I2P address.
Fixes under discussion
A proposed change, pull request #36482, would only rebroadcast transactions newly added to the node's mempool, its list of waiting transactions. Martin Zumsande, another contributor, wrote on the forum that the change "only raises the cost of the active attack slightly." He proposed that the wallet rebroadcast incoming payments only when the user turns that on. Ismail agreed and said rebroadcasting should not be on by default.
Ismail's post names one setting that stops the leak now, walletbroadcast=0. It also stops the wallet sending the user's own new payments, which then have to be broadcast separately.
Running your own node is the usual advice for keeping bitcoin private. Your wallet then doesn't have to ask someone else's server about your addresses. This finding shows a default setting can still link those addresses to your node's internet address. It doesn't put coins at risk, but anyone relying on a Core-backed wallet for privacy now knows where the gap is.
Sources (3)
Not financial advice. How we report and check stories.
Found this useful? Tip the desk in sats at our Lightning address, tips@orangewirebtc.com. Tips are voluntary. They buy no extra content and no influence over coverage.
Liked this? Get five stories like it every week, plus one chart and one explainer.