Justin Drake: BN254 curve insecure, Tornado Cash users should plan withdrawals

Submit
@drakefjustin
@drakefjustin

Dear Ethereum community, This is an important, time-sensitive message. It is a call to action, primarily for Tornado Cash users. More broadly, infrastructure using the BN254 curve (including several privacy pools and rollups) should pay close attention. Ethereum L1 is not at risk. This is cryptographic warfare. We shall survive. We shall thrive. Do not panic. Do not rush. I invite Tornado Cash users to calmly start planning to withdraw any assets beyond pocket change. An orderly evacuation, ideally over the coming weeks, will help safeguard user funds. For privacy, spread withdrawals across fresh addresses. Beware of scams. The BN254 curve can no longer be trusted. It should be considered cryptographically insecure even against a classical (non-quantum) attacker. Assume it is cooked, i.e. practical attacks are within reach of well-resourced adversaries. BN254 has been the bedrock of curve-based SNARKs on Ethereum since the introduction of the pairing precompile in 2017. For nine years it has served us well. This is the end of an era. There is now a material chance that draining Tornado Cash, with a single forged proof, costs far less in compute than the hundreds of millions of dollars it currently secures. The BN254 curve, immutably hardcoded in Tornado Cash smart contracts, has been known to be quantum-unsafe since day one. The unexpected dawn of mathematical superintelligence is bringing forward the quantum sunset. Cryptanalytic discoveries by Anthropic and OpenAI are closely guarded secrets, but they will eventually see the light of day. Expect rediscovery by open-weight models within months. Conservatively, plan for accidental leaks within weeks. The RAILGUN privacy pool is also at risk. With a smaller total value secured (roughly $100M), it is a less juicy target. Additionally, unlike Tornado Cash, it has a 7-day governance mechanism that can enact cryptographic upgrades. Many rollups use BN254 proofs, but I found none that relies solely on the curve for security. Each appears to have defence in depth, e.g. permissioned proving, settlement delays monitored by security councils, and TEE multi-proving. I encourage rollups and apps using BN254 proofs to upgrade to hash-based SNARKs in due course. To minimise contract risk, do not rush. In the meantime, a careful review of defence-in-depth infrastructure and policies, both onchain and offchain, is justified. The folks at @SEAL_911 have been given a heads-up and stand ready to help. This incident is one of several cryptographic battles upon us. I am fully convinced we shall win every one of them. We shall be PQAI (PQ & post-AI) within months. Looking ahead, leanPCS is a planned Ethereum upgrade that would provide enshrined support for scalable PQAI privacy and proofs. Today, onchain privacy takes a hit. Expect the phoenix of Ethereum privacy to rise from the ashes, orders of magnitude stronger. The last few days and weeks have been some the most testing of my career. Calling for the rebuild of cryptographic work crafted by so many friends and colleagues over so many years is painful. I stand by every word, and I hope you will trust that they are warranted. Believe in something. Believe in winning the PQAI war.

x.com

Justin Drake: BN254 curve insecure, Tornado Cash users should plan withdrawals

AI summary of the linked article

Justin Drake warns that the BN254 elliptic curve can no longer be trusted and should be considered cryptographically insecure even against classical attackers, and he urges Tornado Cash users to plan an orderly withdrawal of assets over the coming weeks. He writes that draining Tornado Cash with a single forged proof may now cost far less in compute than the hundreds of millions of dollars it secures. He also says the RAILGUN privacy pool, with roughly $100M secured, is at risk but has a 7-day governance mechanism that can enact cryptographic upgrades. Drake says Ethereum L1 is not at risk and that he found no rollup relying solely on the curve for security.

No comments yetWhat caught your eye? Start the discussion.