Posted by ismaelsadeeq
Nov 25, 2026/16:24 UTC
Deanonymization of Bitcoin transactions can occur through wallet rebroadcast behavior, which allows an adversary to probabilistically link a transaction to its source node, and in certain attack models, achieve near-certainty. In standard operation, Bitcoin Core announces new transactions to outbound peers on a roughly two-second timer and to inbound peers on a shared five-second timer. These randomized intervals obscure the signal but do not eliminate it. Passive attacks such as LinkingLion exploit these timings for probabilistic association, while more aggressive strategies leverage deterministic patterns in wallet rebroadcasting.
Bitcoin Core wallets periodically re-announce transactions that remain unconfirmed for 12 to 36 hours. This rebroadcast provides an exploitable signal: by planting low-fee transactions to target addresses and monitoring which nodes re-announce them after the delay, an attacker can reliably associate addresses or UTXOs with specific nodes. This behavior affects both hot and watch-only wallets, as address tracking does not require key possession—membership in the wallet's script list is sufficient. In controlled regtest environments, this technique achieved 100% success in linking planted transactions to their respective nodes across multiple trials.
The cost of performing the attack is minimal. Each planted transaction must be above the dust threshold and pay the minimum relay fee, resulting in a cost range from approximately $0.18 to $0.34 per attempt at prevailing Bitcoin prices. The process involves sending small transactions that are unlikely to confirm promptly, ensuring they persist in the mempool long enough to trigger the wallet’s rebroadcast logic.
This deanonymization approach enables clustering of UTXOs across the network. By systematically planting transactions to various candidate addresses and observing rebroadcasts, an attacker can map which nodes are tracking which addresses. While node identification does not equate to confirming common ownership—since entities may run multiple nodes or track third-party addresses—these associations are valuable for chain analysis and network mapping.
Non-listening nodes, typically hidden behind NAT or firewalls, present additional challenges. However, attackers can induce these nodes to connect outwards by running a broad set of listening nodes advertised over diverse network segments. Once non-listening nodes initiate connections, the same attribution method applies, allowing the adversary to extend coverage across otherwise inaccessible parts of the network.
Private broadcasting of transactions does not prevent this leakage. If a privately broadcasted low-fee transaction remains unconfirmed, the periodic rebroadcast mechanism will eventually announce it to all peers, disregarding the original privacy intent. Even when using Tor or I2P, if the node also connects to clearnet peers, the rebroadcast can leak the node’s clearnet IP address unless explicitly configured with -onlynet=onion or equivalent restrictions.
The vulnerability resides within the Bitcoin Core wallet and extends to any software that leverages Core for address management, whether in hot-wallet or watch-only configurations. Numerous wallets and services—including Bitcoin Core/Knots, Sparrow (Cormorant mode), Specter Desktop, Liana, Fully Noded, Gordian Wallet, JoinMarket, Lily Wallet, Electrum Personal Server, Caravan, bwt, and Eclair—may inherit this leak when integrating Core wallets for address tracking or transaction relay.
Beyond source identification, partial network topology discovery is feasible. By analyzing the timing of transaction propagation after a rebroadcast, observers can often identify one of the source node’s direct neighbors with high probability. Simulations show that in directed random graphs modeled after the Bitcoin P2P topology, the first peer to re-announce a transaction following the source is a direct neighbor about 90% of the time. This observation, however, does not enable comprehensive mapping of all peer connections due to randomized announcement delays and the stochastic nature of message propagation.
Mitigation strategies focus on disabling or refining wallet broadcasting behavior. Setting -walletbroadcast=0 eliminates both the initial and periodic wallet-initiated relay, requiring users to manually broadcast their own transactions. Proposed code changes, such as bitcoin/bitcoin36482, would restrict rebroadcast to transactions newly added to the mempool, thereby removing the persistent leak for dormant, planted transactions. Alternatively, avoiding Core-based hot or watch-only wallet integration sidesteps the vulnerability but necessitates architectural changes in wallet backends. Restricting node connectivity exclusively to privacy networks like Tor or I2P (-onlynet=onion) prevents clearnet IP leakage but still links the address to the node's pseudonymous identity within those networks.
Further technical details, simulation results, and source code supporting these findings are available at core-wallet-rebroadcast-research. For a foundational explanation of passive linking techniques, see LinkingLion.
TLDR
We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project.
Give Feedback