Ethereum Researcher Flags BN254 Risk From Classical Attacks

Ethereum Researcher Flags BN254 Risk From Classical Attacks

Ethereum researcher Justin Drake warned that a mathematical advance could threaten BN254, the curve used to verify Tornado Cash withdrawals, but disclosed no attack cost.

On December 3, Ethereum Foundation researcher Justin Drake identified BN254 and BLS12-381 as especially exposed to a reported improvement in attacks on elliptic curves. He did not disclose the attack’s runtime or computing requirements, and neither he nor the Foundation reported a forged Tornado Cash withdrawal.

The Foundation advised custodians, bridge operators and security councils to review key management. It told everyday users they did not need to act and warned them about scams.

BN254 and BLS12-381 support pairings, which let blockchains verify compact proofs. Pairings can also transfer a discrete-logarithm problem to a finite field where faster attack methods exist. Ethereum proposal EIP-2537 describes BN254 as providing about 80 bits of security, compared with more than 120 bits for BLS12-381. The roughly 85-bit figure mentioned in Drake’s post referred to a hypothetical secp256k1 scenario, not BN254, so the undisclosed cost leaves the practical risk unclear.

The curves have different roles: secp256k1 signs Ethereum account transactions, BLS12-381 signs validator messages, and BN254 verifies on-chain zero-knowledge proofs, including Tornado Cash withdrawals. Tornado Cash also uses the Pedersen hash, which runs on Baby Jubjub rather than a pairing curve. The Foundation’s key-management guidance applies to holders of signing keys; Tornado Cash’s BN254 use has no key that can be rotated, and the Foundation issued no advisory on its withdrawals.

OpenAI and Anthropic said two days later that their researchers had separately found weaknesses in the mathematics behind some internet cryptography while testing unreleased models. They said they reported the findings to the U.S. government, which referred to them in a December 2 announcement, and that the weaknesses posed no immediate public threat and did not affect NIST’s post-quantum standards. The statement named no algorithm or curve and did not mention Ethereum, so it did not link those findings to Drake’s warning.

Classic Tornado Cash pools hold fixed deposits of 0.1, 1, 10 or 100 ETH. A withdrawal submits a zero-knowledge proof of knowledge of a deposit secret without identifying the deposit, plus a nullifier hash to prevent reuse. The verifier checks the proof using Ethereum’s BN254 pairing operation, listed as alt_bn128 in EIP-197. Tornado Cash uses Groth16 proofs, whose setup ceremony produces public BN254 points derived from secret values known to no one. Someone able to compute BN254 discrete logarithms could, in principle, recover those secrets and create valid-looking proofs for deposits that never occurred. Etherscan showed about 280,000 ETH in the 100 ETH pool alone in late November.

A separate risk concerns tracing deposits to withdrawals, which depends on Baby Jubjub rather than BN254. A December 3 Ethereum Research analysis simulated an attacker able to compute Baby Jubjub discrete logarithms and found Tornado’s deposit notes lacked enough randomness to prevent testing whether a commitment and nullifier belonged together. The simulated test identified about 91% of linked pairs and falsely accepted about 13% of unrelated pairs, reducing the plausible deposits for a withdrawal by roughly sevenfold. The discrete logs were simulated; no depositor was identified. The estimate excluded timing, address reuse and gas patterns, which the analysis said could make linking easier. Baby Jubjub was not among the curves Drake named, and his pairing-based explanation does not apply to it.

Each pool’s verifier is fixed at creation, with no contract function to replace it. A hardened verifier would require new contracts, while deposits remaining in old pools could only be withdrawn through their existing check. Past deposits and withdrawals—including commitments, nullifiers, recipient addresses, timestamps and relayer fees—would remain on-chain after any upgrade.

More news

All news
Chainflip's Second Exploit in 10 Weeks Hits Its Token Twice as Hard Bearish World Liberty sells ETH at an estimated $19.26 million loss as WLFI falls Bearish Chainflip founder admits heavy losses after second hack in 10 weeks drains $12 million Bearish WLFI Plunges Over 50% as USD1 Slips Below Peg and Justin Sun Demands Delistings Bearish Bitcoin ETFs See $1.64B in Weekly Net Outflows as Negative Record Looms Bearish