Bitcoin Core’s Wallet Rebroadcast Can Reveal a Node’s IP for 34 Cents

A Bitcoin Core wallet re-announces an unconfirmed payment it is holding, on its own timer, once that payment has sat for 12 to 36 hours. The behaviour exists to nudge stuck transactions toward a miner. Abubakar Sadiq Ismail, a Bitcoin Core contributor, published a write-up on Delving Bitcoin on 25 November showing that the same timer tells anyone who is listening which computer is watching a given address, and that one probe costs 309 satoshis for a native SegWit output: about 19 cents at Thursday’s price.
The mechanism is not a new discovery. Bitcoin Core has carried the leak as an open issue since March 2014, when issue 3828 was filed under the title “Clients leak IPs if they are recipients of a transaction.” What Ismail added is a working demonstration, a price, and a list of the software that inherits the behaviour. He posted it to Delving Bitcoin, the developer forum where consensus-adjacent and wallet changes are argued in public, on 25 November.
His conclusion is narrower than the headlines that followed. In the tested configuration the link worked every time: 30 attributions out of 30, across five target wallets and six trials each, on a private test chain built from stock Core nodes. Nobody has measured the hit rate on Bitcoin’s live network, where churn, poisoned address tables and relaying nodes add noise the lab does not have.
The Timer an Attacker Waits Out
Start with what the wallet does. When a payment sent or received by a Core wallet stays unconfirmed for roughly half a day to a day and a half, the wallet pushes it back out to its peers. Most payments confirm in minutes, so the path is rarely exercised in ordinary use. Ismail’s point is that an attacker can arrange for it to be exercised on purpose, at a moment of the attacker’s choosing.
The planted transaction needs three properties. It has to pay an address the target wallet already tracks. It has to carry the lowest fee the network will relay, 0.1 satoshi per virtual byte by default, so it lingers instead of confirming. And it has to clear the dust threshold, because a node will not relay an output below it. That is the entire payload: one input from a confirmed coin the attacker owns, two outputs, one of them dust paid to the victim’s address.
Then the attacker connects a fresh peer to each candidate node and waits. When the wallet’s timer fires, the node announces the planted payment to peers that have not yet seen it. Per-peer announcement suppression keeps the node quiet toward connections it already told. A spy that connected after the fact has not been told, so it hears the announcement, and the node that speaks is running a wallet that recognises the address.
There is a cheap filter before any of that. Wallet fingerprinting reads input ordering, change position, transaction version and locktime off an address’s past spends, which lets an attacker spend probes only on addresses that look like they came from a Core wallet rather than scanning the whole chain. Ismail cites the same technique that earlier dusting research has used to pick targets, and the arithmetic below is why it matters: the attack scales with the number of addresses worth probing, not with the size of the blockchain.
Eighteen to Thirty-Four Cents, and What a Campaign Costs
The fee table in the post is short enough to reproduce. Each row models one planted transaction with one input and two outputs of the listed script type, at the default minimum relay fee, with an output at the dust threshold.
| Output type | Size (vB) | Relay fee | Dust output | Total per probe | Cost at $59,000/BTC |
|---|---|---|---|---|---|
| P2WPKH | 141 | 15 sat | 294 sat | 309 sat | $0.18 |
| P2TR | 154 | 16 sat | 330 sat | 346 sat | $0.20 |
| P2PKH | 226 | 23 sat | 546 sat | 569 sat | $0.34 |
Ismail priced that table at approximately $59,000 per bitcoin on 25 November. Bitcoin traded near $60,550 on Thursday afternoon, so the same probes cost $0.19, $0.21 and $0.34 in today’s dollars, with the satoshi amounts unchanged.
What the post does not do is scale the number, which is where the economics get uncomfortable. A thousand probe addresses at 309 to 569 satoshis each costs 0.00309 to 0.00569 BTC, or roughly $187 to $345. Ten thousand addresses cost 0.0309 to 0.0569 BTC, or about $1,871 to $3,445, before any node infrastructure. The lab run itself, 30 probes, cost between $5.60 and $10.34 at today’s rate. For an entity already running a wide set of listening nodes across many networks and autonomous systems, the marginal cost of another attribution is less than the price of a coffee.
That is the part worth holding onto. A privacy leak that costs cents per query is not a theoretical weakness in a wallet setting most users never touch. It is a service an adversary can buy in bulk, and the output is a map of which address was seen at which node.
The Same Signal Fires for Wallets That Hold No Keys
Ismail’s second finding is the one that widens the blast radius. Bitcoin Core’s wallet decides that an address is “mine” by script membership alone, with no key check. A watch-only wallet, which tracks an address without holding its private key, therefore rebroadcasts a planted payment exactly as a spending wallet would. The attack pins the node, not the owner of the funds, and those are frequently different parties: a server watching an exchange deposit address, a treasury running a cold key on a different machine, a custody operator monitoring client addresses.
The post lists the software it considers potentially affected, and the table is worth reproducing in full because the tail is longer than the obvious names.
| Software | How it uses Core |
|---|---|
| Bitcoin Core / Knots | Native descriptor wallet, -walletbroadcast default true |
| Sparrow | Bitcoin Core (“Cormorant”) mode only |
| Specter Desktop | Core RPC, watch-only descriptor wallet |
| Liana | bitcoind backend mode |
| Fully Noded | Core RPC, disable_private_keys wallet |
| Gordian Wallet | Core RPC, importmulti watch-only |
| JoinMarket / Jam | Core watch-only wallet, created per the docs |
| Lily Wallet (v1.0.7) | Core RPC, importmulti watch-only |
| Electrum Personal Server | importmulti watch-only into Core |
| Caravan (local bitcoind) | importdescriptors watch-only |
| bwt (Bitcoin Wallet Tracker) | createwallet plus importmulti watch-only |
| Eclair | No internal on-chain wallet, uses a Core hot wallet |
Private broadcasting does not cover the gap either. If a payment is pushed through a private path and then sits unconfirmed past the timer, the periodic resend falls back to Core’s broadcast-to-all routine, which announces to every peer with no network filter. A node that reaches the network over Tor but keeps clearnet peers will re-announce over clearnet too, leaking the address it was trying to hide. Only a node restricted to onion, or otherwise without clearnet peers, avoids that specific exposure, and even then the address stays linked to the node’s onion identity.
The Patch Already Has a Counterexample
Pull request 36482, opened by Bitcoin Core maintainer Ava Chow on 8 October and still open, narrows the behaviour: only broadcast a resubmitted transaction if it was newly added to the mempool. On its face that kills the attack, because a planted payment that simply sat in the mempool would no longer be re-announced.
Martin Zumsande, another Core contributor, replied the same day the Delving post went up with a four-step adaptation that he says is already exercised in the pull request’s own test. Plant the payment, replace it with a higher-fee transaction spending the same coin, replace that again with a transaction spending only the attacker’s second coin. The planted payment is now invalid in no mempool, but the victim’s wallet still holds it as replaced rather than abandoned or conflicted, so the wallet resubmits it on schedule and, to peers, it is new.
“36482 only raises the cost of the active attack slightly, it doesn’t prevent it.”
His sharper objection is about who the attack hurts. “So 36482 alone is not preventing what I think is the most concerning attack: against an unsuspecting node runner who just passively runs bitcoin core with a loaded wallet, and can get dusted for transactions made years ago.” The remedy he wants is opt-in rebroadcasting for payments that arrive at the wallet, split across pull requests 36398, which restricts automatic rebroadcast to transactions the wallet originated, and 36481, which adds a manual RPC and GUI path for the rest. Both are open. Ismail agreed in a follow-up post that rebroadcast “should be opt in too.”
There is a second gap inside the proposed fix, documented in the post’s own footnotes: if the planted payment is evicted from the victim’s mempool under pressure and the wallet later resubmits it, that counts as newly added, so the rebroadcast happens anyway.
Turning Rebroadcast Off Costs You the Send Button
The mitigation available today is one startup flag. Setting -walletbroadcast=0 stops the periodic resend, but it also disables wallet-initiated relay entirely, which means the wallet will not announce your own outgoing payments either. The workaround is to broadcast sends yourself through sendrawtransaction, which relays once through the node’s ordinary broadcast path. That is a real change in how a node is operated, not a checkbox, and it is the reason most node runners will never apply it. Bitcoin hot wallets have already been drained in production incidents where operators kept default relay behaviour until an incident forced the change, as with the BTCPay Server shutdown in early November.
Restricting the node to onion or I2P removes the clearnet exposure without touching the timer, at the cost of the address-to-node link moving to a different identifier rather than disappearing. Running no Core wallet integration at all sidesteps the behaviour and requires a different backend. Each option trades a privacy property against an operational one, and none of them is on by default.
The dusting angle is familiar ground for exchange compliance teams, which have spent the past year dealing with unsolicited small transfers designed to force address clustering. The difference here is direction. Earlier dusting campaigns mostly tried to poison analytics or force a support ticket. This one uses the payment as a tripwire and reads the wallet’s own helpfulness as the answer.
Regtest Is Not the Live Network
The strongest reason to treat the result as a demonstration rather than a measurement is the lab. Ismail ran Dockerised stock Core nodes on regtest, a private chain with no other traffic, funded the planted payments from a hub node, and connected a fresh spy to each candidate. Local timers and a clean mempool are exactly the conditions under which a deterministic signal is easiest to read. On mainnet, the same announcement competes with tens of thousands of unrelated transactions, and small-mempool relays can evict a planted payment and then re-relay the victim’s resubmission as if it were new, producing false positives that point at the wrong node.
He says as much about his own topology work. An earlier passive attack of this shape, the LinkingLion observation documented by researcher b10c, showed that address-to-IP linking works probabilistically at scale. Ismail’s extension into neighbour discovery produced a weaker result: the second announcer after the source was a direct peer about 90% of the time across two synthetic graphs of 2,000 and 10,000 reachable nodes, but that does not rank the rest of the source’s peers. “The ~90% is an empirical result for this model under favourable assumptions. It is not a measured mainnet rate,” he wrote.
Attribution also stops short of ownership. One entity can run many nodes, a node’s wallet can track addresses it does not control, and a shared watch-only server produces a link that means nothing about who holds the keys. Chain-analysis value comes from repetition across many addresses, not from a single hit.
What Would Move This From a Lab Result to a Fix
Three observable signals will decide whether this stays a forum thread or turns into a shipped change. The first is whether 36398 and 36481 review past their current open state, since Zumsande’s objection is specifically that the narrower 36482 alone does not close the attack. The second is what the release notes of the next Core major version say about wallet rebroadcast, because a merge without a user-facing note leaves node runners with the default they have now. The third is whether operators of watch-only infrastructure change their deployment in the meantime, either by restricting networks or by moving address tracking off Core wallets.
For an individual running a node at home, the practical read is unglamorous. A wallet that has received a payment at any point is a wallet whose address can be probed, the probe costs cents, and the only switch that stops it also stops your own sends. For anyone running watch-only infrastructure on behalf of others, the exposure is larger than the flag suggests: the node that answers is not necessarily the machine that holds the keys, which is precisely why the link is worth something to an attacker and easy to miss in a security review.
Frequently Asked Questions
Does this affect wallets that never touch Bitcoin Core?
The leak is in the Bitcoin Core wallet, so it reaches software that loads addresses into a Core wallet. That includes Sparrow in its Core mode, Specter Desktop, Liana in bitcoind mode, JoinMarket, Electrum Personal Server and a longer list in the original write-up. Wallets with their own independent chain backend do not inherit this specific behaviour.
Can I tell whether my node has been probed?
Not reliably from the node itself. A planted payment arrives as an ordinary low-fee transaction to an address the wallet already uses, and it is designed to stay unconfirmed. Unusual dust payments to previously used addresses, followed by a peer that disconnects shortly after, are the pattern to look for, but the post does not claim detection is practical.
Is there a fix I can apply today?
Setting -walletbroadcast=0 removes the signal but also disables automatic broadcasting of your own payments, which then have to be relayed manually through sendrawtransaction. Restricting the node to onion or I2P removes clearnet exposure while keeping the timer. No released version changes the default.
Why has this been open since 2014?
Issue 3828 described the passive version of the leak twelve years ago. It stays open because the rebroadcast exists for a reason: without it, some payments that only the recipient’s wallet knows about would never reach a miner. Closing the leak means deciding which transactions still deserve that help, which is what the three open pull requests are arguing about.
This story was originally published by Blockchain Reporter. Read the original article.




