Tornado Cash DAO Hack
Urbe Unplugged 2023 · July 2023 · 6:38
Ameen Soleimani explains how Tornado Cash governance was taken over through a malicious proposal whose contract contained a self-destruct line, letting the attacker mint governance tokens. He walks through what the attacker now controls, from the opt-in wallet contracts and the tornado.eth ENS name to the relayer registry and the Nova contracts on Gnosis Chain, urges users to withdraw within the seven-day delay, and argues that upgrades deserve audit-level scrutiny.
Speakers
Topics
From Urbe Unplugged 2023, hosted by Urbe.eth.
Transcript
[Music] foreign [Music] [Music] yeah so last night tornado governance was attacked via malicious proposal. Somebody submitted a proposal a governance proposal but the contract code that they submitted had a self-destruct line in it and so they were able to self-destruct the code that passed the proposal and replace it with code that they wanted and that code allowed them to print a bunch of governance tokens for themselves which then they used to take over the governance
and so now an attacker has control over all of the tornado governance this would be worse if the tornado governance had control over more things as it stands the protocol itself the classic pools for you know one eighth 10 East 100 East they're all immutable so none of the ether that is stuck in those pools is at risk some of the ether has to stay stuck in those pools because Americans can't actually withdraw the eth from those pools until they get specific licenses from ofac and permission to do so uh so if that wasn't the case it would actually be really bad for those Americans that have their money stuck and are awaiting
processing but unfortunately the governance the Dao does control a few things they control the opt-in wallet contracts that are the default that the UI points to they control the ens name the tornado.eth and so the URL that uh most people use for tornado is tornado.eath.link and so they can point that to wherever they want now so they could point it to like a malicious thing and uh abuse that power they also control the relay or registry which is like the default set of relayers that are used in the UI and so basically you shouldn't use the UI anymore at all if you're you know a European person that's trying to withdraw
money from this and then finally and probably most importantly they control the tornado the tornado Nova contracts on gnosis chain there's a seven day delay before a governance proposal could be executed and that means that people have about seven days after this guy figures out how to take over tornado Nova to get all their money out before they rug pull it so the alarm that we should all be raising is hey get your money out of tornado Nova you have about you know a week to do so don't wait until they submit the governance proposal you might as well get out now um I think they also control the uh router which is another UI thing that points to the different uh pools but it's not important for the use
so you know for people who still want to use tornado cash overseas that would not be violating sanctions to do so they would be able to still use the protocol and then would have to use some sort of custom relayer and coordinate that off chain and not using the traditional UI so uh yeah there could probably be new uis that come online because the code is fine it's just that now the attacker controls the name uh and and and certain defaults in the UI so if the uis are updated to point you know no longer a point to the relay or registry and the router and uh don't use the wallets uh that were originally controlled by the
governance then it could continue operating as intended I think today is an important day for all of us to learn the value of immutability and ungovernance uh it's really hard to know what you're proposing when you pass a update and the update is code you have to treat every new update with as much scrutiny as you would your original code base uh that means you have to probably get it audited and and so forth and so we need to really raise the bar as a community on uh being able to update code as things are running because it's going to end up like this my goals were rather simple I wanted privacy for myself and my friends I regret to inform you all that I have not yet accomplished those goals because well
I accomplished them temporarily but now I still don't have a useful privacy tool for me and my friends we're back to going through coinbase or whatever is you know still allowed by the government because a tornado is sanctioned and I can't use it so uh that's not quite accomplished the goal of having privacy yet I think privacy is important because it helps preserve Freedom you don't know whether or not the people who control the systems today are going to abuse them later and even if you trust the people who own you know the financial systems and the surveillance systems and all that uh that you know we think Keep Us Safe there's always the risk that sometime later somebody else comes in takes over power
or somehow inherits that from them and then abuses that power and so having privacy is a way for people to protect themselves from you know abuses of power in the future this was a great event I think the highlight of this event for me was obviously seeing Alexi it's been great that he is under house arrest and that his parole officer allowed him a field trip to come hang out with his friends and get some support because he's been in jail for six months for writing a piece of code and the sentiment is now shifting through events like this that privacy is not just some sort of like weird criminal thing it's has a lot of positive use cases it has Enterprise use cases and uh generally speaking people
value this and I think it's important to recognize that and build a community around that [Music]
Related talks
- The Tornado Cash Exploit | ETHDam 2023
- Price Manipulation Exploits
- Your TEE Workload Is Attested, Now What? A Practical Threat Model for CVMs
- Secureum 🛠 Smart Contract Security The Good, the Bad, and the Ugly - Rajeev
- How to Understand a Smart Contract Hack
- Probabilistic Liquidity Attacks in DeFi
- Unlimited ERC20 allowances considered harmful
- Billion Dollar Bugs (and How Watchdog Found Them)
- Favorite DeFi Vulnerabilities
