Back to the index

Blockchain & DeFi

TornadoCash: Privacy irritates those in power

When financial activity moves onto transparent public blockchains, privacy becomes both a technological challenge and a political battlefield. Tornado Cash emerged as one of the most controversial attempts to restore anonymity to cryptocurrency transactions, using advanced cryptography such as zk-SNARKs to break the visible link between deposits and withdrawals. Praised by privacy advocates yet condemned by regulators like the U.S. Department of the Treasury, the protocol sits at the center of an ongoing debate about surveillance, financial freedom, and the limits of decentralized technology.

Gustavo Hammerschmidt 40 min 605 views
Cover image for post: tornadocash-privacy-irritates-those-in-power-9724033e

In an era where every transaction is traceable and data streams are logged into public ledgers, the emergence of Tornado Cash has become one of the most unsettling paradoxes for regulators, law enforcement agencies, and even ordinary citizens who fear losing their privacy to a digital omniscience. At first glance, Tornado Cash appears simply as another decentralized finance (DeFi) protocol—a “mixing” service that scrambles Ethereum-based tokens to obfuscate ownership. Yet the deeper we dig, the more it reveals an undercurrent of resistance against state‑controlled surveillance and an audacious challenge to the very architecture of financial accountability.

The core of Tornado Cash’s operation is deceptively simple: users deposit a fixed amount of cryptocurrency into a smart contract, keep a secret note, and later withdraw that same sum to any address by presenting a zero‑knowledge proof. The protocol relies on zk-SNARKs—an advanced form of zero‑knowledge proofs—to prove that a withdrawal corresponds to some earlier deposit without revealing which one. In practice, this breaks the on‑chain link between the address that deposited and the address that withdraws.

From a regulatory perspective, Tornado Cash has been a thorny issue since its launch in 2019. In August 2022, the U.S. Treasury’s Office of Foreign Assets Control (OFAC) added the protocol’s smart contracts to its sanctions list, saying it had been used to launder more than $7 billion since 2019—including hundreds of millions stolen by North Korea’s Lazarus Group. The sanctions barred U.S. persons from interacting with the contracts, although the contracts themselves, being immutable code on Ethereum, kept running.

The real intrigue lies in how Tornado Cash illustrates a broader conflict: privacy versus power. On one side are governments that argue anonymity fuels illicit behavior—money laundering, terrorism financing, tax evasion—and thus must be curtailed to protect national security and public welfare. On the other side stand technologists and civil‑rights advocates who view digital privacy as an extension of individual autonomy—a right to communicate and transact without unwarranted intrusion. Tornado Cash sits at this intersection, offering a tool that can serve both ends: it can facilitate legitimate anonymity for whistleblowers, journalists, or activists in oppressive regimes; simultaneously, it provides cover for criminal actors.

This article traces the lifecycle of Tornado Cash from its inception as an open‑source project to sanctions, arrests and court battles. We examine how its zero‑knowledge architecture defeats traditional blockchain forensics, what the legal fight over it decided, and why privacy is not merely a technical feature but a political question: it can empower or endanger society depending on who wields it.

1. The Concept of Non-Custodial Privacy

TornadoCash represents a paradigm shift in how privacy is achieved on public blockchains. Rather than relying on an intermediary to shield transactions, the protocol empowers users to maintain full control of their private keys while still enjoying unlinkable transfers. This non‑custodial model removes a single point of failure and eliminates the need for trust in any third party, which is why it has become a focal point for regulators who fear that anonymity can facilitate illicit activity.

At its core, TornadoCash operates through a smart contract that accepts deposits of ETH or ERC‑20 tokens. When a user deposits funds, their wallet generates two random secrets and submits a commitment—a hash of those secrets—which the contract inserts into a Merkle tree. The deposit itself is visible on-chain, but the commitment reveals nothing about who will later withdraw it. To withdraw, the user proves in zero knowledge that they know the secrets behind one of the stored commitments, without revealing which one, and the contract pays out to any address they choose. This mechanism relies on hash functions, Merkle trees, and zero‑knowledge proofs to preserve privacy without compromising transparency.

From a user’s perspective, non‑custodial privacy offers several compelling advantages. First, because keys never leave the wallet, there is no risk of theft through central hacks or insider attacks. Second, users can mix large volumes of tokens in one pool, diluting transaction trails and thwarting network analysis tools that rely on address clustering. Third, the protocol’s design allows for multi‑token support; each token type has its own dedicated contract, preventing cross‑asset correlation. Finally, because withdrawals are processed through a single smart contract, users can audit the entire process themselves, ensuring there is no hidden logic or backdoor that could compromise anonymity.

  • Decentralization – No central authority controls funds.
  • Zero‑knowledge proofs – Verify withdrawals without revealing identities.
  • Unlinkability – Deposits and withdrawals are cryptographically separated.
  • Confidentiality – Only the user knows the secret note that unlocks the funds.

The regulatory response to non‑custodial privacy has been mixed. On one hand, governments argue that anonymity undermines anti-money laundering (AML) and know‑your‑customer (KYC) frameworks by creating blind spots for illicit flows. On the other hand, proponents of digital rights highlight that privacy is a fundamental human right in an age where data surveillance is pervasive. TornadoCash sits at this intersection; its architecture forces regulators to confront whether enforcement should target the protocol itself or the users who employ it. The debate has intensified as high-profile cases involving cryptocurrency laundering have surfaced, prompting calls for stricter oversight of mixing services and, by extension, non‑custodial privacy tools.

FeatureTornadoCash (Non‑Custodial Privacy)Custodial Mixer Service
User Control of KeysFull control – keys never leave walletKeys held by service provider
Anonymity MechanismZero‑knowledge proofs and Merkle treesCentralized mixing algorithm
Transparency of OperationsOn‑chain smart contract logic visible to allOpaque backend processes
Regulatory Compliance PathwaysChallenges due to decentralizationPotential for KYC/AML integration

In sum, the concept of non‑custodial privacy embodied by TornadoCash challenges conventional notions of control and oversight in the digital asset space. By decoupling anonymity from custodianship, it offers users a powerful tool to protect their financial sovereignty while simultaneously provoking a re‑examination of how regulators can enforce compliance without eroding fundamental privacy rights. As governments worldwide grapple with this tension, the future of non‑custodial privacy will likely shape the broader trajectory of blockchain governance and civil liberties in the years ahead.

2. The Technical Core: zk-SNARKs and Zero-Knowledge Proofs

TornadoCash leverages a sophisticated cryptographic primitive that has become synonymous with privacy‑enhancing blockchains: zk SNARKs, or zero knowledge succinct non-interactive arguments of knowledge. In this ecosystem, users deposit Ether into the contract and later withdraw it to an address that bears no linkable history. The magic behind this unlinkability is a proof system that convinces the network that a withdrawal request satisfies all protocol rules without revealing any sensitive data about the underlying transaction chain.

At its core, a zk SNARK comprises three phases: setup, proving, and verification. During a trusted‑setup ceremony, participants jointly generate a common reference string (CRS) that contains public parameters for the arithmetic circuit representing TornadoCash’s logic. The prover uses these parameters to construct a succinct proof that they know values satisfying the circuit constraints—namely, that a commitment exists in storage, that a nullifier has not been spent before, and that the withdrawal amount matches the committed value. The verifier then checks this proof against the CRS; if it passes, the contract releases funds to the requested address.

Amounts do not need to be hidden, because every pool has a fixed denomination. Instead, each deposit commits to two random values, a nullifier and a secret, using a Pedersen hash:

\[ C = H(\text{nullifier} \,\|\, \text{secret}) \]
When withdrawing, the prover demonstrates knowledge of a nullifier and secret whose hash is a leaf of the Merkle tree, and reveals only the hash of the nullifier. The contract records that nullifier hash so the same deposit can never be withdrawn twice, while the proof itself discloses nothing about which leaf was used.

Because zk SNARKs are non‑interactive and succinct, a single proof file occupies only about 200 bytes, regardless of circuit size. Verification on Ethereum requires executing a small number of precompiled contracts (e.g., bn256Add, bn256Mul) that perform elliptic curve operations in constant time. Consequently, a full TornadoCash withdrawal—proof verification plus bookkeeping—costs on the order of a few hundred thousand gas, far less than proving the same facts without succinct proofs.

However, the trusted setup remains a point of contention. If any party in the ceremony learns the secret trapdoor values used to generate the CRS, they could forge proofs that allow illicit withdrawals. TornadoCash mitigated this risk with a public multi‑party ceremony in 2020 in which more than a thousand people contributed randomness; the setup is secure as long as at least one participant destroyed their secret.

Below is a concise list of the primary technical components that enable TornadoCash’s privacy guarantees:

  • Pedersen hash commitments to a secret nullifier and secret.
  • Nullifier generation to enforce single‑use withdrawals.
  • Arithmetic circuit encoding deposit and withdrawal logic.
  • Trusted setup producing a common reference string.
  • Zero knowledge proof generation by the prover.
  • On‑chain verification using Ethereum precompiles.

The following table summarizes key parameters that characterize TornadoCash’s zk SNARK implementation, offering a quick reference for developers and auditors alike.

ParameterDescription
Proof size≈200 bytes
Verification key size≈1.2 KB
CurveBN254 (alt_bn128), verified with Ethereum precompiles
Gas per withdrawalOn the order of a few hundred thousand
Trusted setupPublic multi‑party ceremony with over a thousand contributors (2020)

In sum, TornadoCash’s reliance on zk SNARKs allows it to offer robust privacy while maintaining compatibility with Ethereum’s smart‑contract framework. The succinctness of proofs keeps gas costs manageable, and the zero knowledge property ensures that even sophisticated observers cannot trace funds across deposits and withdrawals—an attribute that inevitably attracts scrutiny from entities vested in financial transparency.

3. Smart Contract Architecture: Commitments and Nullifiers

TornadoCash’s smart contract architecture is a layered construct that turns ordinary ERC‑20 or ETH transfers into privacy‑preserving operations through the use of commitments and nullifiers. At its core, each user generates a secret note made of two random values, a nullifier and a secret. Their hash forms a commitment that the contract stores as a leaf in a Merkle tree on-chain. Because the commitment reveals nothing about who created it, it becomes a cryptographic token of ownership without any traceable linkage.

When a user wishes to withdraw funds, they must prove knowledge of a note corresponding to an existing commitment while simultaneously revealing a nullifier that marks that commitment as spent. The nullifier is derived from the same secret note but in a way that it cannot be reversed back into the original data. Once submitted on-chain, the contract checks that the nullifier hash has not been used before by consulting an on‑chain mapping of spent nullifier hashes. This mechanism guarantees that each commitment can only be spent once while preserving anonymity for all other participants.

The zero knowledge proof component is what binds these two elements together. Using zk‑SNARKs, the user generates a succinct circuit proving that they possess a valid note and corresponding nullifier without revealing any part of it. The contract verifies this proof against a pre‑compiled verifier contract that implements the same arithmetic logic as the off‑chain prover. If the proof passes, the contract records the nullifier hash, transfers the fixed amount to the recipient, and emits an event, preventing any replay of the same note.

The architecture is deliberately minimal: the contract stores only what it must—a compact representation of the Merkle tree, a short history of recent roots, and the set of spent nullifier hashes—while full deposit history is reconstructed from event logs. This design choice keeps gas costs low for users while ensuring that privacy guarantees remain intact even under high network congestion.

  • Commitments – hashed notes stored in a Merkle tree, exposing no user data.
  • Nullifiers – unique identifiers derived from the same note, preventing double spending.
  • Zero Knowledge Proofs – succinct verifications that link commitments to nullifiers without revealing secrets.
  • Merkle Root History – recent roots kept on‑chain so proofs remain valid while new deposits arrive.
  • Event Logs – deposit history that wallets use to rebuild the tree and generate proofs.
FieldDescription
Commitment (C)Pedersen hash of nullifier and secret – stored as a Merkle tree leaf.
Nullifier HashPedersen hash of the nullifier – revealed at withdrawal and marked as spent.
Merkle Root (R)Root of the commitment tree, updated with each deposit; recent roots are kept for proofs.

The interplay between these components makes deposits and withdrawals cryptographically unlinkable—though, as the next section shows, users can still undo that protection through their own behavior. Yet because every transaction still requires a proof and a nullifier, regulators can observe the existence of activity without knowing its source or destination. This tension—between cryptographic anonymity on one side and auditability on the other—is at the heart of why TornadoCash remains both technically impressive and politically contentious.

4. The "Anonymity Set" and Fixed Denomination Pools

In the world of decentralized privacy solutions, the term “anonymity set” refers to the pool of users who could be responsible for a given transaction. For TornadoCash, this concept is not merely theoretical; it is engineered into every deposit and withdrawal through its fixed denomination pools. Each pool holds only one specific amount—on Ethereum, 0.1, 1, 10 or 100 ETH—so that when a user withdraws from the same pool they cannot be linked to their original depositor by value alone. The anonymity set expands with each additional participant, but it is bounded by the size of the pool and the frequency of deposits versus withdrawals.

The mechanics behind fixed denomination pools are deceptively simple yet profoundly effective. When a user deposits 1 ETH into the 1‑ETH pool, the contract records only a commitment; the secret note that can redeem it stays with the user. Because all deposits within a pool are identical in amount, any withdrawal from that pool could correspond to any of them, diluting traceability.

  • Pool Size: The larger the number of active deposits in a given denomination, the greater the anonymity set.
  • Deposit Frequency: Rapid successive deposits increase pool entropy and reduce timing correlation attacks.
  • Withdrawal Timing: Randomized withdrawal windows prevent attackers from linking deposit times to withdrawals.

Despite these safeguards, the anonymity set is not infinite. Larger pools, such as 100 ETH, typically have fewer participants than smaller ones, and researchers have shown that users often weaken their own privacy—by withdrawing to addresses linked to their deposits, reusing gas sources, or withdrawing soon after depositing. This imbalance can be attributed to user behavior: larger deposits are less common, and users tend to split their holdings into multiple smaller transactions to maximize privacy. Consequently, the effective anonymity set for large denominations may fall below theoretical expectations, leaving room for sophisticated deanonymization attempts that exploit statistical patterns.

5. The Role of Relayers in Maintaining Gas Anonymity

In the TornadoCash ecosystem, relayers are more than mere facilitators; they form a covert layer of infrastructure that preserves the gas anonymity essential to privacy‑centric DeFi operations. A fresh withdrawal address has no ETH to pay for gas, and funding it from a known wallet would link the two. Relayers solve this: they submit the withdrawal transaction on the user’s behalf and are paid a fee out of the withdrawn funds. Relayers mitigate this exposure by acting as intermediaries who absorb and re‑emit the transaction data under an alias that is unrelated to the original participant.

The mechanics are deceptively simple yet technically sophisticated. A user first submits a request to a relayer, which then constructs a new transaction on behalf of the client. The transaction carries the user’s zero‑knowledge proof, but is signed and paid for by the relayer’s wallet. Because the recipient address and fee are bound into the proof, the relayer cannot redirect the funds. Consequently, blockchain explorers display only the relayer's address as the originator, effectively obfuscating the true source.

Gas anonymity extends beyond mere visual obscurity; it has practical implications for regulatory compliance and market manipulation avoidance. By preventing third parties from tracing transaction origins, TornadoCash protects users against targeted surveillance by state actors or malicious entities seeking to identify large holders of privacy tokens. Deposits, by contrast, are sent directly from the user’s own address, which is why the deposit side is always visible.

However, this system is not without its vulnerabilities. Relayers cannot steal funds, but they do see the user’s IP address and the timing of requests, so a malicious relayer could log metadata. Tornado Cash’s governance maintained a registry of relayers who staked TORN tokens, giving users a choice of independent operators.

Below is an outline of the core responsibilities shouldered by relayers in preserving gas anonymity:

  • Transaction encapsulation – wrapping user requests into new, signed transactions that mask origin addresses.
  • Gas payment – covering transaction fees so the new address never needs prior funding.
  • Fee collection – deducting an agreed fee from the withdrawn amount, bound into the proof.
  • Reputation management – maintaining transparent fee schedules and uptime metrics to attract users while discouraging dishonest behavior.

In sum, relayers are the unsung custodians of TornadoCash’s promise to shield users from gas‑level surveillance. Their dual role—both as transaction shapers and economic gatekeepers—ensures that privacy remains a viable option in an increasingly transparent blockchain landscape. As regulators tighten scrutiny over token flows, the resilience offered by this relayer architecture will likely become a focal point for both defenders of decentralization and proponents of stricter oversight.

6. The 2022 OFAC Sanctions: Blacklisting "Code" vs. People

On August 8, 2022, the Office of Foreign Assets Control (OFAC) issued a sweeping sanction against Tornado Cash, marking one of the first times an abstract piece of code was blacklisted by U.S. authorities. The order listed dozens of the protocol’s smart‑contract addresses on the Specially Designated Nationals list, effectively prohibiting any financial transaction that involved the contract or its derivatives. This unprecedented move sparked intense debate over whether a set of lines written in Solidity should be treated with the same legal weight as an individual or corporation.

The rationale behind blacklisting code rests on OFAC’s statutory authority to target “property” and “rights to property.” In this context, the contract itself is considered intangible property that can facilitate illicit activity. By designating the Tornado Cash address as a prohibited asset, the U.S. Treasury aimed to cut off the flow of funds that could be used for money laundering or terrorist financing. The sanction also extended to any “person” who directly interacts with the code, thereby creating a dual‑layered legal framework that targets both the tool and its users.

However, enforcing sanctions against code presents unique challenges. Unlike a corporation, a smart contract can be copied, forked, or rewritten on any blockchain platform without violating intellectual property law. This means that even if the original Tornado Cash address is blacklisted, developers can deploy identical contracts under new addresses, effectively circumventing the sanction. Moreover, because blockchains are inherently pseudonymous, tracing every transaction back to a specific individual becomes an arduous task for regulators and financial institutions alike.

The ripple effects of this approach reverberated through the open‑source community. Many developers expressed concern that labeling code as “property” could stifle innovation by turning benign tools into potential liabilities. Critics argued that privacy‑enhancing technologies are essential for protecting user data and preventing surveillance, yet they also acknowledged the legitimate risk that such tools can be coopted by bad actors. The resulting tension forced a reevaluation of how regulators should engage with decentralized systems without imposing undue burdens on legitimate users.

  • Code is treated as intangible property subject to OFAC’s sanctions.
  • Sanctions target both the contract address and any person who interacts with it.
  • Enforcement relies on financial institutions flagging transactions involving the blacklisted code.
  • The decentralized nature of blockchains allows for rapid circumvention through forks or redeployments.
  • Regulators face legal and technical hurdles in proving a direct link between an individual and the sanctioned contract.
AspectCode TargetedPerson/Entity Targeted
Legal BasisIntangible property under OFAC statutesIndividuals, entities engaging with the contract
Enforcement MechanismBlacklisting of smart‑contract address and source filesFinancial institutions must block transactions involving the code
Risk ProfileHigh potential for illicit use (money laundering, terrorism financing)Potential civil liability if interacting with sanctioned code
Circumvention PathwaysForking or redeploying the contract on other blockchainsHarder to trace pseudonymous users across chains
Impact on InnovationPossible chilling effect on privacy‑enhancing tool developmentLegal uncertainty may deter developers from contributing

The question of whether code can be “property” ended up in court—and, as section 12 shows, the courts eventually sided with the critics. The 2022 OFAC sanctions against Tornado Cash thus illuminate a broader dilemma: how to reconcile the need for regulatory oversight with the inherently borderless, code‑centric nature of modern finance. By treating code as property subject to blacklisting, authorities signaled that they are willing to extend traditional enforcement tools into the digital realm. Yet this strategy also underscores the limitations of existing legal frameworks when confronted with decentralized technologies that can be replicated and anonymized at will. The outcome remains a cautionary tale for policymakers, developers, and users alike: privacy mechanisms can both empower legitimate activity and shield illicit behavior, making it imperative to craft nuanced rules that protect public safety without stifling innovation.

7. North Korea’s Lazarus Group and the Ronin Network Hack

The Lazarus Group, a notorious North Korean state‑sponsored cyber unit, has long been recognized for its sophisticated blend of stealth and sheer brute force. Operating under the veil of national secrecy, they have repeatedly targeted financial institutions, cryptocurrency exchanges, and high‑profile individuals worldwide. Their modus operandi combines advanced malware, zero‑day exploits, and social engineering, allowing them to infiltrate systems that would otherwise be considered secure.

The March 2022 Ronin Network hack stands as a stark illustration of Lazarus Group’s tactics. The attack targeted the bridge serving the blockchain game Axie Infinity and stole about $620 million in ETH and USDC. The attackers gained control of five of the bridge’s nine validator keys—reportedly after a Sky Mavis engineer opened a malicious document disguised as a job offer—and used them to approve fraudulent withdrawals. The FBI attributed the theft to Lazarus in April 2022.

What makes tracing this illicit flow of funds especially challenging is the integration of privacy tools such as TornadoCash. Once stolen assets were moved through a series of mixers and wrapped into new tokens, their provenance became obscured by multiple layers of obfuscation. The anonymity afforded by these services effectively turns the blockchain into a labyrinth, where each transaction appears to originate from an unrelated address pool.

The implications for regulators are profound. Traditional compliance frameworks rely on transparent audit trails and identifiable ownership records; however, when illicit proceeds pass through privacy protocols, they can slip beneath the radar of law enforcement agencies. This not only hampers recovery efforts but also emboldens attackers who know that their digital footprints can be erased with a few clicks.

  • Social engineering that led to compromised validator keys
  • Fraudulent bridge withdrawals approved with stolen keys
  • Use of privacy mixers to obfuscate fund flow
  • Rapid liquidation on decentralized exchanges before detection

The Ronin incident also highlighted the limitations of current blockchain forensic tools when confronted with privacy‑enhancing technologies. Analysts have noted that while traditional tracing methods can follow a chain of custody, they falter once assets are mixed in TornadoCash or similar services. Consequently, law enforcement agencies worldwide must invest in new analytical frameworks and cross‑border cooperation to keep pace with these evolving tactics.

In sum, the Lazarus Group’s Ronin Network hack underscores a broader trend: as privacy mechanisms become more accessible, they empower sophisticated actors to conduct large‑scale thefts while remaining effectively invisible. The convergence of state sponsorship, advanced malware, and privacy protocols presents an unprecedented challenge for regulators, requiring both technological innovation and international policy alignment to safeguard the integrity of digital financial ecosystems.

8. Alexey Pertsev’s Arrest in Amsterdam and Dutch Legal Proceedings

On August 10, 2022—two days after the U.S. sanctions—the Dutch Fiscal Information and Investigation Service (FIOD) arrested Alexey Pertsev, one of Tornado Cash’s developers, in Amsterdam on suspicion of facilitating money laundering. He spent months in pre‑trial detention before being released in April 2023 under electronic monitoring to prepare his defense.

At trial in ’s‑Hertogenbosch, prosecutors argued that the developers had built and maintained a system they knew was being used to launder criminal proceeds, and had chosen not to add measures to prevent it. The defense argued that Pertsev had written open‑source software and could not be held responsible for how anonymous users chose to use it.

On May 14, 2024, the court convicted Pertsev of laundering about $1.2 billion through Tornado Cash and sentenced him to 64 months in prison, finding that the developers controlled the service and bore responsibility for it. He appealed, and the case became a reference point in the global debate over whether writing privacy software can itself be a crime.

DateEvent
August 10, 2022Pertsev arrested in Amsterdam by the FIOD.
April 2023Released from detention under electronic monitoring.
March 2024Trial held in ’s‑Hertogenbosch.
May 14, 2024Convicted of money laundering; sentenced to 64 months; appeal filed.

9. Roman Storm and Roman Semenov: The US DOJ Indictments

On August 23, 2023, the U.S. Department of Justice unsealed an indictment against Tornado Cash co‑founders Roman Storm and Roman Semenov. Storm was arrested in Washington State; Semenov, a Russian national, remained at large and was added to OFAC’s sanctions list the same day.

The indictment charged both men with conspiracy to commit money laundering, conspiracy to operate an unlicensed money‑transmitting business, and conspiracy to violate U.S. sanctions, alleging that Tornado Cash had laundered more than $1 billion in criminal proceeds—including funds stolen by the Lazarus Group. Prosecutors argued that the founders profited from the service, controlled key infrastructure such as the website and relayer system, and ignored clear evidence of illicit use.

  • Indictment unsealed: August 23, 2023, Southern District of New York.
  • Charges: money laundering conspiracy, unlicensed money transmitting conspiracy, sanctions‑violation conspiracy.
  • Alleged laundering: more than $1 billion, including Lazarus Group proceeds.
  • Status at indictment: Storm arrested in the U.S.; Semenov at large and sanctioned.

The case raised the same question as the Dutch prosecution, under U.S. law: whether developers of non‑custodial software can be treated as operators of a financial service. Its outcome, discussed in section 14, would shape how privacy developers assess their legal risk.

10. The "Code is Free Speech" Defense (First Amendment Debate)

The “code is free speech” defense rests on a long‑standing constitutional principle that expressive content, whatever its form, receives protection under the First Amendment. In the context of blockchain, this argument translates into a claim that smart contracts and protocols are not merely technical tools but public texts capable of conveying ideas, values, or instructions to users. By treating code as an expression, developers argue that any attempt to restrict or censor it violates fundamental rights.

U.S. jurisprudence has gradually expanded the scope of protected speech to include software. In the late 1990s, federal appeals courts—most notably in Bernstein v. U.S. Department of Justice and Junger v. Daley—held that source code can be protected expression under the First Amendment, in cases that challenged export controls on encryption software. The Supreme Court has never squarely decided the question, and courts also recognize that code is functional, which can justify some regulation. The implication for privacy protocols is profound: if a protocol’s design embodies an expression of resistance against surveillance, its protection becomes legally tenable.

  • Code functions as a public text; anyone who reads the contract sees the underlying logic and intent.
  • Publishing or modifying code is analogous to authoring an essay that can be disseminated widely without gatekeepers.
  • Decentralized execution removes single points of control, making censorship technically difficult and conceptually distinct from traditional media restrictions.

When applied to TornadoCash, the code‑as‑speech argument raises a clash between privacy engineering and regulatory oversight. The protocol’s mixing service obfuscates transaction trails, thereby protecting user anonymity but also shielding illicit activity. Law enforcement agencies argue that such tools facilitate money laundering and terrorist financing, demanding legal intervention. In contrast, proponents maintain that any attempt to block or alter the code would be an unconstitutional suppression of a protected form of expression.

The debate is not merely academic. In jurisdictions that view code as protected expression, attempts to block or modify TornadoCash could trigger legal challenges and set precedents for future privacy tools. Conversely, where regulatory frameworks prioritize public safety over expressive freedoms, the protocol faces a higher likelihood of enforcement action. As governments grapple with balancing individual rights against collective security, the “code is free speech” defense will continue to shape policy discussions around decentralized finance.

11. The Infrastructure Purge: GitHub, Infura, and Alchemy Takedowns

The sanctions’ most immediate effect was not on the contracts, which kept running, but on the services around them. Within days of the August 2022 designation, GitHub suspended the accounts of Tornado Cash developers and removed the project’s repositories. Node providers Infura and Alchemy began blocking requests involving the sanctioned contracts, the project’s website went offline, and Circle froze USDC held in sanctioned addresses.

  • GitHub – developer accounts suspended and repositories removed.
  • Infura and Alchemy – RPC requests involving the sanctioned contracts blocked.
  • Circle – USDC in sanctioned addresses frozen.
  • DeFi front ends – many began screening and blocking addresses that had interacted with Tornado Cash.

None of these companies was ordered to act by name; each moved to avoid sanctions liability. The episode showed how much supposedly decentralized systems depend on a few centralized companies for hosting, node access and front ends—and how quickly those dependencies can be cut. Copies of the code nonetheless remained available elsewhere, and users who ran their own nodes could still reach the contracts.

12. The 2024 Appellate Court Ruling on Treasury Overreach

In September 2022, six Tornado Cash users backed by Coinbase sued the Treasury in Van Loon v. Department of the Treasury, arguing that OFAC had exceeded its authority; the advocacy group Coin Center filed a separate challenge. The users lost in federal district court in Texas in 2023 and appealed.

On November 26, 2024, the U.S. Court of Appeals for the Fifth Circuit ruled for the plaintiffs. The court held that Tornado Cash’s immutable smart contracts are not “property” that can be blocked under the International Emergency Economic Powers Act, because no one can own, control or exclude others from using them. OFAC had therefore exceeded its statutory authority in sanctioning them.

  • Immutable code is not “property” under IEEPA, because no one owns or controls it.
  • OFAC can still sanction people and entities, but not autonomous contracts as such.
  • The ruling did not address the separate criminal cases against Tornado Cash’s developers.

13. The March 2025 Reversal: Lifting of US Sanctions

On March 21, 2025, the Treasury removed Tornado Cash from the sanctions list, citing its review of the legal and policy issues raised by the Fifth Circuit’s decision. At the same time, Treasury stressed that it remained concerned about North Korea’s use of digital‑asset services to launder stolen funds.

The delisting ended the civil sanctions fight but not the criminal prosecutions. Pertsev’s Dutch conviction and the U.S. case against Roman Storm continued, which meant that the legal risk for privacy developers had shifted from the sanctions regime to money‑laundering and money‑transmission law.

DateAction
August 8, 2022OFAC sanctions Tornado Cash’s smart contracts.
November 8, 2022OFAC re‑designates Tornado Cash, adding North Korea–related authorities.
November 26, 2024Fifth Circuit rules in Van Loon that the immutable contracts are not sanctionable property.
March 21, 2025Treasury removes Tornado Cash from the sanctions list.

14. Roman Storm’s 2025 Trial

Roman Storm went on trial in the Southern District of New York in July 2025. Prosecutors argued that he had operated Tornado Cash as a business, profited from it, and knowingly allowed criminals—including North Korean hackers—to launder funds through it. The defense argued that Storm had published privacy software that he could not control and that the government was criminalizing code.

In August 2025 the jury convicted Storm of conspiracy to operate an unlicensed money‑transmitting business, but could not reach a verdict on the money‑laundering and sanctions charges. The split verdict left the central question—when, if ever, building privacy software becomes laundering—still unresolved in U.S. courts, and made the case a rallying point for developers and civil‑liberties groups.

EventDate
Indictment unsealed; Storm arrestedAugust 23, 2023
Trial begins in New YorkJuly 2025
Verdict: guilty on unlicensed money transmitting; jury deadlocked on other countsAugust 2025

15. The Shift to "Privacy Pools" and Compliant Privacy Protocols

The concept of a “privacy pool” has evolved from a purely technical curiosity into an institutionalized framework that can coexist with regulatory oversight. In the wake of the Tornado Cash sanctions, researchers including Vitalik Buterin proposed “Privacy Pools” in a 2023 paper: a design that keeps zero‑knowledge withdrawals but lets users prove that their funds come from a set of deposits that excludes known illicit sources. A production version, built by 0xbow, launched on Ethereum in 2025.

At its heart, a privacy pool operates by aggregating deposits of identical denominations into a shared smart contract. Withdrawals are then executed through a cryptographic proof that confirms the existence of a deposit without revealing which one was spent. Privacy Pools adds “association sets”: when withdrawing, a user proves that their deposit belongs to an approved subset of deposits, demonstrating they are not connected to stolen funds without revealing which deposit is theirs.

The shift toward compliant privacy protocols has sparked debate among technologists and policymakers alike. On one side, proponents argue that optional compliance reduces friction for institutional adoption; on the other, critics warn that any integration with identity systems could erode the very anonymity that these protocols were designed to protect. Tornado Cash itself never added such controls to its immutable pools; its only nod to compliance was an optional tool that let users voluntarily reveal the link between a deposit and a withdrawal.

  • Modular compliance layers allow selective activation without altering the base protocol.
  • Zero‑knowledge proofs remain intact, ensuring that non‑verified users retain full anonymity.
  • Association sets let users prove they are not linked to known illicit deposits.
  • Voluntary disclosure tools let users reveal their own history to an auditor if they choose.

The trajectory toward compliant privacy pools signals a broader trend in the decentralized finance landscape: anonymity and regulation need not be mutually exclusive. By provoking the sanctions fight, TornadoCash paved the way for a new generation of privacy protocols that can attract institutional capital while respecting legal frameworks. The challenge ahead lies in striking a balance between transparency for regulators and invulnerability to surveillance, ensuring that the core ethos of decentralized privacy remains intact even as these systems evolve into mainstream financial infrastructure.

16. Legacy: The Distinction Between "Software" and "Service"

The legacy debate surrounding TornadoCash hinges on a fundamental question: is it merely software or does it function as an independent service? In the early days of its deployment, developers framed the project as open source code that anyone could download and run on their own nodes. This view emphasized the technical artifact – a set of smart contracts and accompanying libraries – rather than any organized user interface or business model. Over time, however, TornadoCash evolved beyond a static piece of software into a decentralized service that users interact with through web portals, mobile apps, and third‑party integrations. The shift from code to service has profound implications for regulation, governance, and public perception.

Legally, the distinction matters because software can be distributed under licenses that limit liability or usage, whereas a service typically attracts scrutiny as an entity providing value to end users. A purely open source project might be seen as a tool that could be used for legitimate purposes; its creators are often shielded by the doctrine of separation between code and application. In contrast, a service that actively facilitates transactions – even if those transactions are anonymous – can be classified as a financial intermediary under existing frameworks. This classification opens it to audits, compliance checks, and potential sanctions from authorities who view privacy‑enhancing protocols as obstructions to law enforcement.

From an operational standpoint, the codebase of TornadoCash remains open source and auditable by anyone with blockchain knowledge. Its core pool contracts, however, are immutable: their admin keys were renounced in 2020, so governance can change surrounding components such as the relayer registry but not the pools themselves. Users do not interact directly with raw contract addresses; instead they engage via a user‑friendly interface that abstracts away gas costs, transaction ordering, and privacy guarantees. This layered architecture means that while the underlying software can be forked or modified by developers, the service itself is an ecosystem of contracts, front ends, and community protocols that collectively deliver anonymity to its users.

Governance further blurs the line between software and service. The TornadoCash DAO lets TORN holders vote on peripheral contracts and incentives—a power that was abused in May 2023, when an attacker briefly seized control of governance with a malicious proposal. In this sense, the service is not a static product but an evolving platform that adapts to new threats, regulatory pressures, or user demands. The legacy of such governance lies in its capacity to maintain decentralization while enabling rapid response to external challenges – a feature that would be impossible for a purely software‑centric project locked into a single release cycle.

Ultimately, the legacy question is less about whether TornadoCash is software or service and more about how each identity shapes its trajectory. As an open source codebase, it offers transparency, auditability, and community contributions that foster trust among developers. As a decentralized service, it provides real‑world privacy guarantees to users while inviting scrutiny from regulators who fear money laundering or tax evasion. The tension between these two roles will continue to define TornadoCash’s evolution in the years ahead.

  • Open source code: freely available, auditable, and forkable.
  • Public interface: user‑friendly portal that abstracts blockchain complexity.
  • Governance model: token holders vote on upgrades, ensuring decentralization.
  • Regulatory exposure: service status invites compliance oversight.
  • Legacy impact: software roots provide technical resilience; service identity drives public perception.
AttributeSoftware (Code)Service (Protocol)
Distribution modelDownloadable and self‑hostedWeb or mobile front end with on chain logic
GovernanceVersion control, community forksDAO voting on peripheral contracts; core pools immutable
Regulatory classificationTool or library, limited liabilityFinancial intermediary, subject to audits
TransparencySource code reviewOn chain transactions and public logs
Legacy influenceTechnical robustnessPublic perception and policy debate

Conclusion

The Tornado Cash saga crystallizes a broader clash between individual privacy rights and state power in the digital age. While the platform’s cryptographic architecture delivers an elegant solution to traceability—allowing users to break the on‑chain link between sender, transaction, and recipient—it also exposes a systemic vulnerability: anonymity can be weaponized by actors who would otherwise remain invisible. Tornado Cash became a flashpoint for regulators: sanctioned by the U.S. Treasury in 2022, delisted in 2025 after a court ruled its immutable contracts could not be sanctioned, while its developers were convicted in the Netherlands and the United States. This response underscores a growing trend in which privacy‑enhancing technologies are increasingly framed not as neutral tools but as threats to national security and financial integrity.

A key analytical insight is that regulatory backlash often stems from a misreading of the technology’s purpose. Privacy protocols were designed to protect legitimate users—journalists, activists, entrepreneurs—from surveillance and coercion. Yet when such mechanisms are co‑opted by illicit actors, authorities feel compelled to intervene. The Tornado Cash case illustrates how policy makers may resort to sweeping sanctions that risk collateral damage: a global community of compliant participants suddenly finds themselves under the scrutiny of anti‑money‑laundering (AML) regimes and loses access to mainstream financial infrastructure.

The article also highlights an emerging paradox: as governments tighten controls on privacy tools, they inadvertently incentivize the development of more sophisticated obfuscation methods. Decentralized anonymity networks, zero‑knowledge proofs, and homomorphic encryption are now being deployed in ways that make regulatory oversight even more difficult. In this arms race, power holders must grapple with a reality where technical solutions outpace legal frameworks.

Looking forward, the conclusion argues for a calibrated approach that balances risk mitigation with respect for civil liberties. Rather than blanket bans or punitive sanctions, regulators could adopt targeted compliance measures—such as mandatory transaction reporting thresholds and robust know‑your‑customer (KYC) protocols for custodial services—while preserving user anonymity in non‑criminal contexts. Moreover, fostering collaboration between technologists, policymakers, and civil society can help craft standards that deter abuse without stifling innovation.

Ultimately, Tornado Cash serves as a cautionary tale about the unintended consequences of privacy technologies when they intersect with entrenched power structures. The challenge lies not merely in policing anonymity but in redefining governance models that accommodate both security imperatives and individual freedoms. If policymakers can navigate this delicate equilibrium, they may turn what has been perceived as an irritant into a catalyst for more resilient, inclusive financial ecosystems.