Privacy Flaw in Bitcoin Core Wallet Revealed by Contributor
A Bitcoin Core wallet leak reveals how addresses can be traced back to nodes, raising privacy concerns over unconfirmed transactions.

Privacy Vulnerability in Bitcoin Core Wallet
A contributor to Bitcoin Core, Abubakar Sadiq Ismail, has highlighted a concerning privacy vulnerability within the software's integrated wallet. His recent findings, detailed in a post on Delving Bitcoin dated November 25, indicate that the wallet can inadvertently leak information about which node is monitoring a specific Bitcoin address. In experimental trials executed on a local testing network, Ismail successfully identified the node tracking a Bitcoin address in all 30 attempts he made.
Understanding the Issue
The issue stems from the wallet's functionality of broadcasting unconfirmed transactions to its network peers. This behavior is triggered when users send or receive payments. As a result, even if a user has not recently spent from an address, the wallet can still disclose which node is observing the transactions related to that address. Bitcoin Core nodes typically handle relaying transactions, but the wallet serves a distinct role by maintaining records of transactions involving its addresses and can resubmit them as long as they remain pending.
Testing the Vulnerability
To demonstrate this vulnerability, Ismail employed five designated wallets across six iterations on a private network known as regtest, commonly utilized by developers for testing Bitcoin-related software. He utilized standard Bitcoin Core setups with their default descriptor wallets, securing private keys within these setups. The results showed that all 30 matches effectively reflected the functionality of Ismail's testing configuration. However, he did not provide insights into the performance of Bitcoin's live network, where nodes may connect and disconnect frequently, leading to variable unconfirmed transaction sets across different nodes.
Impact on Watch-Only Wallets
Notably, this same broadcast issue extends to watch-only wallets, which track payments to an address without having access to the private keys required for spending those funds. Should an observer pinpoint the node associated with such a wallet, they will potentially learn which addresses are being monitored, although this does not disclose the identity of the individual controlling the funds.
Community Response and Proposed Solutions
Ismail’s findings revisit a long-standing issue captured in Bitcoin Core’s public issue tracker. He acknowledged that this leak has been known within the community and presented his testing results during an open developer discussion without prior distinct private disclosures.
In response to these findings, fellow Bitcoin Core contributor Andrew Chow submitted a pull request in October, advocating for modifications that would limit the broadcasting of transactions that are newly entered into the node's memory pool. As of November 26, this proposal is still under debate, with concerns raised by community member Martin Zumsande suggesting the possibility of unintended rebroadcasts remaining unless incoming payments' automatic resend is made optional.
In his response to the ongoing discussions, Ismail supported the idea of opting into automatic rebroadcasting, thus enhancing user control. Additionally, he suggested that turning off wallet broadcasting altogether could also mitigate the exposure risk—though this would necessitate alternative methods for users to communicate their outgoing transactions.
Privacy Measures and Future Considerations
In terms of privacy measures, Ismail referenced Bitcoin Core’s Tor documentation, which details strategies for blocking connections to standard IP addresses by using onion routing. He noted that while adopting an onion-only setup could shield the node's public IP address, it would still be possible to link the Bitcoin address with the node's onion identity. Another potential privacy solution he proposed was the I2P-only setup, which would replace the public IP with an I2P identifier within the network.
The implications of these findings are significant, particularly given Glassnode's recent report that estimated a substantial amount of Bitcoin—7.12 million BTC, or 35.4% of the total supply—was traceable through publicly accessible keys on the blockchain. In an era where quantum computing capabilities could potentially jeopardize the security of these private keys, Ismail's research underscores the urgency of addressing privacy vulnerabilities in Bitcoin Core.
Also in other languages: РусскийDeutschFrançaisItalianoEspañol