Every Bitcoin privacy tool sold, downloaded, or recommended in 2027, Wasabi, Ashigaru (the Samourai successor), JoinMarket NG, and the various Whirlpool forks, rests on a CoinJoin protocol. CoinJoin is elegant: strangers agree to craft a single on-chain transaction in which multiple inputs fund multiple equal outputs, so no observer can tell which input paid for which output. But elegance has a price. A CoinJoin transaction is only as private as its anonymity set, its coordinator is only as honest as its incentives, and the wallet software that stitches it together has its own attack surface. This comprehensive threat model field guide takes a different approach from a feature roundup: it enumerates the concrete ways a CoinJoin deployment can fail you, coordinator trust violations, fingerprinting, Sybil attacks, timing analysis, and post-mix leakage, and then scores the major implementations against each vector so you can make an informed choice.
Throughout, we distinguish verified facts, documented protocol behavior, published research, official maintainer statements, from analysis, our own assessment of residual risk. Privacy on Bitcoin is probabilistic: a well-executed CoinJoin gives you a finite k-anonymity set, not invisibility, and the quality of that set depends on factors most wallet interfaces never surface.
The threat model: who are you hiding from?
Privacy tooling only matters relative to a named adversary. Before choosing a CoinJoin implementation, enumerate the observers who could plausibly link you to your funds:
- Public chain analysts. Firms such as Chainalysis, Elliptic, and TRM Labs sell clustering, attribution, and risk-scoring services to exchanges, banks, and law enforcement. Their heuristics, common-input ownership, change detection, change-address identification, are precisely what CoinJoin is designed to defeat, but they adapt quickly and flag suspected CoinJoin outputs as high-risk at many regulated venues.
- The CoinJoin coordinator. Every CoinJoin needs someone to collect inputs, craft outputs, and broadcast the transaction. That party sees your IP address, your timing, and the full list of inputs and outputs before signing, a privileged vantage point that protocol design tries to minimize but cannot fully eliminate.
- Network observers. Your ISP, VPN exit, or Tor exit node sees that you run Bitcoin software and, with effort, that you use privacy tools. Pattern-of-life traffic analysis, how often you mix, at what times, how much, is a second-order risk.
- Counterparties and insiders. Anyone who pays you, or to whom you pay, knows the address you used. If they collaborate with an exchange or analyst, they can confirm a spend and apply social pressure or legal process. CoinJoin does not break the social link between sender and receiver; it breaks the on-chain link.
- The wallet developer and supply chain. Closed or partially closed implementations, compromised build pipelines, and telemetry leaks are real-world failures that bypass every protocol guarantee.
Legal warning: CoinJoin is legal to use in most jurisdictions, but exchanges routinely treat mixed coins as higher-risk and may delay, reject, or close accounts that deposit them. In some countries, using privacy-enhancing technology in connection with regulated activity draws regulatory scrutiny. This guide is technical and educational, it is not legal advice, and no tool removes counterparty, banking, or tax obligations.
Attack vector one: coordinator trust
The coordinator is the single largest trust dependency in most CoinJoin designs. What can a malicious coordinator actually do?
- Steal funds? In well-constructed CoinJoins, no. Wasabi uses a zero-knowledge-style design in which the coordinator only assembles signatures on a partially signed Bitcoin transaction (PSBT); clients verify the output decomposition locally before signing. The coordinator cannot redirect outputs because clients check the PSBT themselves. Verified: the Wasabi documentation states the coordinator's sole role is collecting signatures.
- Steal leftovers and set fees. Yes, partially. Wasabi's own documentation admits clients forfeit small amounts, "leftovers," capped at 10,000 sats per round, which the coordinator collects. A malicious coordinator could inflate mining fee rates or run small rounds to maximize forfeits. Wasabi 2.2.0.0 removed the explicit coordination fee and added client-side minimum input counts (default 21) and maximum fee rates (default 50 sat/vByte) specifically to blunt this attack. This is a verified protocol-level mitigation, but the incentive to maximize leftovers remains structurally.
- Tag outputs to inputs. This is the sophisticated attack. In 2024, researcher nothingmuch (Kogman) demonstrated on the Bitcoin dev list that both Whirlpool's blind-signature flow and WabiSabi's per-client Round IDs allow a coordinator to give each input a subtly different key, then read the input-to-output mapping off the registration messages, collapsing a 5-person anonymity set to 1. Proof-of-concept code exists in the joinmarket-ng/coinjoin-simulator repository. Whether Wasabi's client or the post-mix wallets detect this varies; the key-consistency defense (polling the Round ID over independent circuits) is implemented in the simulator and recommended for other protocols.
- Selectively censor. A coordinator can refuse your input registration, drop your round, or delay indefinitely, a soft attack that costs you time and reveals willingness-to-pay.
- Go dark. Verified real-world event: zkSNACKs, the company behind Wasabi, shut down its default coordinator on June 1, 2024, citing legal uncertainty. Users kept working only because Wasabi had already shipped version 2.0.8 with support for user-selected coordinators discovered via Nostr and community trackers. In July 2024, maintainers also reported a compromised GitHub account swapping the Windows installer binary and sustained DoS attacks against free coordinators, supply-chain risk in the wild.
Analysis: coordinator trust is the dominant residual risk for every centralized CoinJoin. No CoinJoin implementation we reviewed offers cryptographic proof that the coordinator behaved honestly; they offer client-side verification that bounds the damage. Coordinator choice should therefore be treated like choosing a VPN exit: reputation matters, and a single coordinator is a single point of failure both for privacy and liveness.
Attack vector two: fingerprinting and linkage
Even an honest coordinator leaves fingerprints that survive the mix:
- Denomination fingerprinting. Whirlpool-style pools force inputs into fixed denominations (0.001, 0.01, 0.05, 0.5 BTC). The transaction pattern, five equal outputs plus one fee output, is unmistakable on-chain, and MIT Digital Currency Initiative researchers have studied Whirlpool timing and usage directly. Fixed denominations make outputs easy to tag: a recipient who asks for exactly 0.05 BTC to a fresh address is highly suspect. Wasabi's WabiSabi rounds allow variable denominations, which reduces this fingerprint but makes amounts more linkable within the round.
- Timing fingerprinting. If you deposit funds and mix within minutes, or mix at predictable intervals, chain analysts can bound which pre-mix inputs correspond to which post-mix outputs. Waiting a variable, human-plausible delay between funding, mixing, and spending measurably improves unlinkability, analysis, not a protocol guarantee.
- Tor guard fingerprinting. This one is documented and measurable. The joinmarket-ng coinjoin-simulator includes a tor_timing module that measured real Tor guard latencies: because Tor pins clients to long-lived guards, per-guard latency offsets can re-link a round's outputs to known inputs when an attacker (or the coordinator) can observe both sides. If your privacy stack routes CoinJoin traffic over Tor, guard-level latency is a covert channel worth respecting, avoid mixing from the same Tor guard as routine browsing, and don't run coordination and post-mix monitoring from correlated sessions.
- Amount and change leakage. If you CoinJoin most of a UTXO but send the rest elsewhere, the remainder is linkable by elimination. Input decomposition mistakes, using a privacy tool for the deposit but a transparent wallet for the withdrawal, are the most common real-world failure mode we observe in documentation and forum reports (analysis).
- Re-mix linkage. Whirlpool requires at least one re-mix input per round. Long-term re-mixing creates persistent clusters of coins that an analyst can follow across rounds; research on Whirlpool deanonymization has shown that repeated participation narrows anonymity over time.
Attack vector three: Sybil attacks and inflated anonymity sets
A Sybil attacker creates many funded identities and joins a CoinJoin round to dominate it. Two variants matter:
- External Sybil. An attacker who controls many inputs joins rounds hoping to be co-mingled with a target. In a zero-knowledge CoinJoin, the attack mostly inflates the apparent anonymity set rather than deanonymizing you, you think you're hiding among strangers, some of whom are one adversary. Peer-reviewed work on cryptocurrency mixers (ePrint 2019/1111) confirms that in zero-knowledge-based mixers Sybil attacks artificially inflate the anonymity set instead of actively linking users.
- Coordinator Sybil. A malicious coordinator can refuse registrations until only the target remains, then force a small round, the covert version documented in Samourai's own Whirlpool THEORY.md. Refusing inputs can be disguised; refusing connection confirmations cannot be hidden if inputs are already spent. Cost scales linearly with anonymity set size and denomination, which is the protocol's only built-in defense. This is why minimum-input settings and large, busy coordinators matter.
Practical consequence: a round of 50 inputs where 40 belong to one attacker gives you an effective anonymity set of ~10, not 50. You cannot directly observe Sybil dominance, but you can prefer coordinators and implementations with transparent, high-liquidity round statistics, LiquiSabi and similar trackers publish round sizes for Wasabi, and avoid tools that let the coordinator cherry-pick participants.
Attack vector four: timing analysis
Timing attacks operate at three levels:
- On-chain timing. Depositing to an exchange right after a CoinJoin, or mixing immediately before a known spend, creates a tight temporal correlation. Chain analysts weight recent, high-entropy events heavily. Delaying post-mix spends by hours to days and avoiding round-number amounts reduces confidence.
- Network timing. Your CoinJoin participation is visible to your ISP/VPN and to the coordinator. Correlating connection times with on-chain tx0/round timestamps narrows candidates even without breaking the cryptography.
- Behavioral timing. Using the same wallet for mixed and unmixed funds, reusing change patterns, or mixing only once before a large spend are all weak signals. Analysis: consistent, boring, irregular-but-plausible behavior is harder to profile than heroic one-time privacy efforts.
CoinJoin privacy limits: what no tool can fix
Every implementation shares the same ceiling:
- Anonymity set is finite and observable. A 20-input round gives you roughly 20 candidates minus Sybils and timing outliers, often effectively fewer than 10.
- Exit-point risk. CoinJoin breaks input-output linkage, not sender-recipient linkage. If you pay an address that later deposits to a KYC exchange, the payment is attributable to someone in the round, and if the recipient cooperates or is surveilled, your anonymity set shrinks to whoever had motive and means.
- Amount correlation. If only you in the round paid a distinctive amount, amounts re-link you even when outputs are uniform.
- Off-chain leaks. The wallet's logs, crash reports, address-book sync, and peer-to-peer gossip can leak more than the chain ever will.
- Chainalysis still flags CoinJoin. Mixed coins carry a risk label at many exchanges regardless of mathematical unlinkability. Privacy tooling shifts attribution difficulty; it does not grant legal cover.
For a deeper protocol-level treatment, see our guide on CoinJoin inside the round and the analysis of CoinJoin deanonymization risks.
Implementation-by-implementation security analysis
Wasabi Wallet (WabiSabi). Open-source, non-custodial, coordinator-agnostic since v2.0.8. Client-side verification, configurable minimum inputs and max fee rates, and no coordination fee since v2.2.0.0 are real mitigations. Residual risks: leftover forfeiture, coordinator selection burden on the user, and the demonstrated key-consistency attack class on blind-signing designs. Best for users who want a GUI and are willing to vet coordinators.
Ashigaru (Samourai fork). Whirlpool-style fixed-denomination pools with strong coin control and post-mix wallet features. Fixed denominations make rounds easy to detect and follow; Whirlpool's own documentation acknowledges covert Sybil attacks are feasible for a malicious tumbler. Samourai's October 2024 law-enforcement seizure and developer arrests make the project's governance a live threat-model input, verify you're running the community fork, not seized infrastructure, and treat maintainer continuity as a risk factor.
JoinMarket NG. The most decentralized design reviewed: makers and takers negotiate directly over Jam, a peer-to-peer protocol, with no central coordinator in the default path. This removes the coordinator trust vector almost entirely, at the cost of complexity, lower liquidity, and a learning curve that has historically limited adoption. Best for threat models where a trusted coordinator is unacceptable.
Whirlpool forks and Sparrow integration. Widely deployed, well-documented, and on-chain recognizable. The five-equal-output pattern is a fingerprint by design; privacy comes from pool depth and re-mix discipline, not obscurity. Sparrow's wallet-side CoinJoin support makes it a common choice for self-custody users.
PayJoin, CoinSwap, and Silent Payments. Complementary rather than substitutes: PayJoin links payer and payee cooperatively (great for reducing common-input heuristics on merchant payments), CoinSwap-style atomic swaps offer trustless peer exchange, and silent payments reduce address-reuse leaks. Each has its own trust assumptions; none replaces CoinJoin for breaking historical linkability.
Threat model comparison table
| Threat | Wasabi (WabiSabi) | Ashigaru/Whirlpool | JoinMarket NG |
|---|---|---|---|
| Coordinator can steal funds | No (client verifies PSBT) | No (client verifies) | N/A, no central coordinator |
| Coordinator can tag/link outputs | Demonstrated attack class; mitigation depends on client version | Documented blind-key tagging risk | Much reduced, negotiation is pairwise |
| Fee/leftover abuse | Leftovers to coordinator; mitigated by v2.2 fee removal | Tumbler fee model; pool fees apply | Direct negotiation; maker sets terms |
| Sybil/covert censorship | Possible; mitigated by min-input settings | Acknowledged in protocol docs | Pairwise; no single censor point |
| Fixed-denomination fingerprint | Variable amounts (lower fingerprint) | Fixed pools (high fingerprint) | Variable, maker-defined |
| Ease of use | High (GUI) | High (GUI/fork) | Low (CLI/JAM complexity) |
| Liquidity/anonymity set | Large, coordinator-dependent | Moderate, pool-dependent | Smaller, episodic |
| Governance/supply-chain risk | Post-zkSNACK community model; 2024 installer incident | Post-seizure fork continuity risk | Community-run; fewer eyes on releases |
Field guide: a practical checklist before you mix
- Name your adversary. Chain analyst, exchange compliance desk, state actor, or a curious ex? The right tool differs.
- Vary your timing. Random delays between funding, mixing, and spending; avoid mixing right before known deposits.
- Break amounts. Non-round amounts, split UTXOs before mixing, and never let one distinctive amount identify you in a round.
- Vet the coordinator. Check round-size statistics on community trackers, prefer coordinators with long uptime and no fee extraction, and re-evaluate if your coordinator changes.
- Respect Tor guard hygiene. Don't run CoinJoin coordination over the same Tor guard as your routine browsing; latency fingerprints are measurable.
- Isolate mixed and unmixed funds. Separate wallets, separate seeds, separate timing. Never spend mixed change back into a transparent flow.
- Verify builds. Download from official repos, verify signatures/hashes, the 2024 Wasabi installer swap is the cautionary tale.
- Plan the exit. Decide in advance where mixed coins will go; an exchange deposit undoes months of careful mixing.
- Keep records for yourself. Tools fail; your seed and your transaction history are yours alone. Never paste seeds or xpubs into any tool, website, or AI assistant.
Recommendations
For most users facing exchange and analyst scrutiny: Wasabi 2.2+ with a vetted, high-liquidity coordinator offers the best balance of usability and protocol-level protections, set minimum inputs and a low max fee rate, and treat coordinator choice as an ongoing decision. For users whose threat model explicitly distrusts any centralized coordinator: JoinMarket NG, accepting its complexity for structural trustlessness. For fixed-denomination pool users on the Ashigaru fork: prefer large pools, re-mix deliberately, and understand that pool fingerprints are a known trade-off for deep liquidity. Whatever you choose, pair CoinJoin with the fundamentals, Tor hygiene, fresh addresses, timing variation, and never reusing an address across privacy boundaries. For darknet-market-specific payment hygiene, see our CoinJoin and mixing best practices for market users, and compare the full tool landscape in our privacy-tools threat model comparison.
Final note: every privacy tool in this guide can be subpoenaed, fingerprinted, or simply misused. The strongest privacy stack is boring: good key hygiene, plausible timing, no address reuse, and the humility to know that anonymity sets shrink every time you use them.
External references and further reading
- Wasabi Wallet FAQ, coordinator trust and coinjoin mechanics (official documentation)
- Whirlpool THEORY.md, Sybil attack analysis (Samourai Wallet repository)
- Reiterating centralized coinjoin deanonymization attacks, Kogman's bitcoindev post on blind-signing tagging
- joinmarket-ng/coinjoin-simulator, proof-of-concept coordinator tagging and Tor guard timing attacks
- Towards Characterizing Sybil Attacks in Cryptocurrency Mixers, IACR ePrint 2019/1111
- Evaluating usage of the Whirlpool Bitcoin privacy protocol, MIT Digital Currency Initiative
- What's next for Wasabi Wallet?, zkSNACKs coordinator shutdown announcement
Comments 0