Technology

35-Cent Attack Links Bitcoin Wallet Addresses to Node IPs

Bitcoin Core contributor Abubakar Sadiq Ismail disclosed that the wallet's automatic stuck-transaction rebroadcast lets an attacker link any watched address to its node's IP for as little as 18 cents, hitting 30-of-30 on testnet.

4 min read
A lone laptop sits open on a bare wooden desk in a dim room, its screen casting cool blue light across a tangle of ethernet cables and a small hardware security device, while a single desk
Share

A cheap, repeatable exploit in Bitcoin Core's default rebroadcast behavior strips the privacy layer off self-custody nodes before a patch has shipped.

Key takeaways

  • Bitcoin Core contributor Abubakar Sadiq Ismail disclosed that an attacker can link a wallet address to its node's IP address for 18 to 34 cents by exploiting automatic stuck-transaction rebroadcast, achieving a 30-of-30 success rate in testnet simulations.
  • The flaw affects Bitcoin Core's built-in wallet and software running on top of it (Sparrow in Core mode, Specter, Liana, JoinMarket, Electrum Personal Server); nodes using Tor alongside clearnet connections are not fully protected.
  • A proposed fix (PR #36482) exists but has not shipped, and a fellow contributor says it only "raises the cost of the active attack slightly." The only available mitigation today requires broadcasting every transaction manually.

Bitcoin Core contributor Abubakar Sadiq Ismail posted to the Delving Bitcoin developer forum on November 25 disclosing that the wallet's habit of automatically re-announcing unconfirmed transactions can be weaponized to map a target address directly to the IP address of the node watching it. No funds are at risk. The exposure is privacy, and the cost per attempt is pocket change.

The mechanics are straightforward. An attacker sends a small, low-fee "dust" payment to a target address. The transaction sits unconfirmed. After roughly 12 to 36 hours, the node whose wallet is tracking that address is the only node on the network that re-announces it.

Monitoring which node rebroadcasts identifies the IP. In Ismail's testnet simulations, the attack succeeded 30 times out of 30. At Bitcoin prices near $60,000, the cost per attempt runs 18 to 34 cents.

Who Is Exposed and Why Tor Isn't Enough

The flaw lives in Bitcoin Core's default configuration. Wallets built on top of Core inherit it: Sparrow running in Core mode, Specter, Liana, JoinMarket, and Electrum Personal Server are all affected.

The Tor assumption breaks here in a specific way. Nodes that route through Tor but also maintain any clearnet connections still leak their real IP, because rebroadcast goes out on every network channel the node uses simultaneously. A Tor-only node with zero clearnet peers is safer, but most node operators running mixed configurations are exposed even if they believe Tor has them covered.

The only mitigation available today is setting -walletbroadcast=0, which disables automatic rebroadcast entirely. The tradeoff is that users must then manually submit every transaction. That's not a realistic ask for most people running Core wallets.

The Fix, the Pushback, and What It Means

A pull request, PR #36482, has been proposed. It limits rebroadcast to newly added mempool transactions only, closing the specific signal an attacker exploits. Fellow Bitcoin Core contributor Martin Zumsande pushed back, saying the proposal "only raises the cost of the active attack slightly," and wants rebroadcasting of incoming payments made opt-in rather than patched at the margin.

The Zumsande objection matters. If the stronger opt-in model he's describing doesn't make it into a release, the attack surface narrows but doesn't close. A well-resourced adversary, a chain analysis firm, an exchange compliance team, or a state-level actor can still build an IP-to-address map cheaply and at scale. At 34 cents per identification, running thousands of probes is a rounding error on a surveillance budget.

This is the gap that sits uncomfortably behind the "run your own node" message in Bitcoin privacy education. The Bitcoin Core vulnerability disclosure process has been improving, and this disclosure is a healthy sign of that.

But a 30-of-30 testnet result against default node behavior means the gap between what self-custody promises and what it currently delivers is real, not theoretical. Custodians will use exactly this kind of disclosure to argue that managing your own node is too complicated. The correct response is to close the attack surface and tighten the user education, not to soften the finding.

Privacy tooling more broadly faces the same pattern: default configuration is the weak point and the user bears the cost of hardening it.

What to Watch

No release date is confirmed for PR #36482 or any variant addressing Zumsande's opt-in concern. Watch the Delving Bitcoin thread and the Bitcoin Core pull request for movement. Until a patched release ships, any node running Bitcoin Core's wallet in default configuration with clearnet connections active should be treated as having a linkable IP, regardless of Tor usage. If you're running one of the affected wallets, the -walletbroadcast=0 flag exists, but go in knowing the tradeoff.

Sources

Frequently Asked Questions

Does this vulnerability let someone steal bitcoin?

No. The attack reveals the IP address of the node monitoring the wallet. Private keys and funds are not touched. It is a deanonymization vector, not a theft vector.

I run my node over Tor. Am I protected?

Not fully, if your node also maintains any clearnet connections. Rebroadcast goes out on every channel the node uses, so a mixed Tor/clearnet setup can still leak the real IP. A Tor-only node with no clearnet peers reduces the risk, but verify your configuration before assuming coverage.

When will a fix ship in Bitcoin Core?

PR #36482 has been proposed but not merged, and no release date is confirmed. A fellow contributor has argued the current proposal only marginally raises attack cost and wants a stronger opt-in model. Follow the Bitcoin Core GitHub and the Delving Bitcoin thread for updates.

News and analysis, not financial, investment, legal, or tax advice. Figures and quotes are verified against primary sources where possible. See our editorial and financial disclosures.

Keep reading

All of TFTC

The Commoner

Truth for the Commoner, every weekday. Money, machines, and the people trying to control both.

Independent writing by Marty Bent at TFTC since 2017. Money, markets, AI, energy and privacy, delivered free to your inbox.

Free, every weekday. Unsubscribe anytime using the link in each newsletter. By subscribing you agree to our Terms and acknowledge our Privacy Policy. Read recent issues.