News › Security
Security
A 35-cent payment can expose the IP address behind a Bitcoin Core wallet
A developer showed that a payment costing 18 to 34 cents can link a Bitcoin Core wallet address to the node's IP address. No funds are at risk; privacy is.


A payment worth less than 35 cents may be enough to find the internet address of the computer watching a Bitcoin wallet. Bitcoin Core contributor Abubakar Sadiq Ismail described the attack this week on Delving Bitcoin, a forum used by developers. In a test network built from standard Core software, the method picked the correct computer 30 times out of 30. It has not been measured on the live network.
The leak comes from a helpful habit. When a payment to or from a Core wallet stays unconfirmed for roughly 12 to 36 hours, the software announces it to other nodes again so that it has a better chance of being processed. Most payments confirm long before then, so the behaviour rarely matters.
An attacker can force it to matter. They send a tiny payment with the lowest fee the network allows to an address that has been used before, so the transaction is likely to wait. About a day later, the only node announcing that payment again is the one whose wallet is tracking the address. By connecting to likely nodes and watching which one speaks, the attacker can tie the address to an internet connection.
An internet address can point to a provider, a city and sometimes a particular home. Each planted payment costs about 18 to 34 cents with bitcoin near $60,000, according to the reports. No coins can be taken this way: the damage is to privacy, and for someone who holds meaningful savings, privacy is part of physical safety.
The exposure reaches beyond Core itself. Wallets that run on top of it inherit the behaviour, including Sparrow in its Core mode, Specter, Liana, JoinMarket and Electrum Personal Server. Using Tor does not fully protect a node that also keeps ordinary internet connections, because the second announcement goes out on every network the node uses.
There is a blunt workaround today. Starting the node with the setting walletbroadcast=0 turns the automatic announcements off, but then every transaction has to be sent by hand. TFTC notes that this is hardly realistic for most people. Running a node only over Tor narrows the problem, although it still ties the address to a Tor identity.
Developers are working on it. A proposed change, pull request 36482, would repeat only payments that have newly entered the node's list of waiting transactions. Fellow contributor Martin Zumsande replied that this raises the cost of the active attack only slightly and favours making the repeat announcement of incoming payments optional. None of these changes has been released.
The practical advice for now is to know what your setup does. If you run one of the affected wallets, check whether your node uses clearnet connections and avoid reusing receiving addresses, since the attack described targets an address that has already appeared on the chain. Watch for an update from the software you use.
Facts only, never financial advice.