Ethereum Researcher Flags BN254 Risk From Classical Attacks

38 minutes ago 2

Rommie Analytics

Key Takeaways

Drake flags BN254 without naming an attack runtime Foundation advice targets custodians and bridges, not users Forging withdrawals and tracing deposits need different breaks Existing pools cannot swap in a new verifier

In a December 3 post, the Ethereum researcher described what he understood to be an improvement in the mathematics used to attack elliptic curves, and named BN254 and BLS12-381 as the most exposed.

What Drake claimed, and what he left open

Both curves support pairings, the feature that lets a blockchain verify compact proofs cheaply. A pairing can also carry a discrete-logarithm problem from the curve into an ordinary finite field, where faster attack methods exist. BN254’s margin was already thin before December: EIP-2537, the Ethereum proposal that added BLS12-381 operations, describes the BN254 precompile as providing about 80 bits of security, against more than 120 for BLS12-381.

What the post did not supply is a cost. Drake said the attack’s runtime had not been made public and gave no measured time or computing budget for breaking BN254, so there is no way yet to tell whether a break would take a state-level budget or a rented server cluster. The one security figure in his post, roughly 85 bits, described a hypothetical scenario for secp256k1 rather than BN254.

secp256k1

Signs every Ethereum account transaction.

BLS12-381 pairing

Signs validator messages on Ethereum’s consensus layer.

BN254 pairing

Verifies zero-knowledge proofs on-chain, including Tornado Cash withdrawals.

Baby Jubjub

Runs inside Tornado Cash’s Pedersen hash. Not a pairing curve.

Why the Foundation’s advice went to key holders

The Ethereum Foundation responded the same day. It told custodians, bridge operators and security councils to review how they manage keys, told everyday users they did not need to act, and warned them to watch for scams. Those groups hold the signing keys that secp256k1 and BLS12-381 protect. Tornado Cash’s use of BN254 involves no key anyone could rotate, and the Foundation issued no advisory on the protocol’s withdrawals.

Two days later, OpenAI and Anthropic said researchers at each company had separately found weaknesses in the mathematics behind some internet cryptography while testing unreleased models. The companies reported the findings to the US government, which referred to them in a December 2 announcement, and said the weaknesses posed no immediate threat to the public and did not affect NIST’s post-quantum standards. The statement names no algorithm or curve and does not mention Ethereum, so nothing in it ties the findings to Drake’s post or to BN254.

How a BN254 break would become a forged withdrawal

Classic Tornado Cash pools hold fixed amounts of 0.1, 1, 10 or 100 ETH. To withdraw, a wallet submits a zero-knowledge proof that it knows the secret behind one deposit in the pool’s record, without revealing which one, along with a nullifier hash that stops the same deposit from being claimed twice. The project’s verifier checks that proof with Ethereum’s built-in BN254 pairing operation, listed as alt_bn128 in EIP-197.

The proofs use Groth16, a system that depends on parameters produced in a setup ceremony. The secret values behind those parameters are known to no one; only points on BN254 derived from them are public. Anyone able to compute discrete logarithms on BN254 could, in principle, work back from those points to the secrets and build valid-looking proofs for deposits that never existed. The pool would pay out against them as it does for any genuine withdrawal. Neither Drake nor the Foundation reported such a withdrawal.

Etherscan showed about 280,000 ETH in the 100 ETH pool alone in late November, the balance a forged proof would draw on.

Tracing an old deposit runs through a different curve

A forged withdrawal would take ETH from the pool. Tracing a withdrawal would expose a person, and that depends less on BN254 than on Baby Jubjub. Each deposit publishes a commitment and each withdrawal publishes a nullifier hash, both computed with the Pedersen hash. Linking a withdrawal to its deposit means connecting those two values.

A December 3 analysis on Ethereum Research measured how far an attacker who can compute discrete logarithms on Baby Jubjub could get. Its author found that Tornado’s notes carry too little randomness to hide the link, so neither the zero-knowledge property of the proofs nor the Pedersen hash prevents a test of whether a given deposit and withdrawal belong together. In simulated runs, the test accepted about 91% of truly linked pairs and about 13% of unrelated ones, cutting the number of plausible deposits behind a withdrawal roughly sevenfold.

The post casts the attacker as a quantum computer, but the author says the method works for anyone who can compute those discrete logarithms cheaply. The discrete logs in the experiment were simulated, no real depositor was identified, and the estimate leaves out timing, address reuse and gas patterns, which the author says would make linking easier. Baby Jubjub was not among the curves Drake named, and the pairing-based reason he gave for their exposure does not carry over to it.

What an upgrade can and cannot reach

The pool contract sets its verifier once, when the pool is created, and the code contains no function to replace it. A hardened proof check would therefore mean new contracts, and any deposit still sitting in the old pools can only leave through the old check. Designs that drop discrete-log assumptions altogether come with their own price tag, the subject of Vitalik Buterin’s plan to cut quantum-safe privacy costs.

Past withdrawals sit outside any upgrade. Every classic deposit commitment and nullifier hash is already on-chain, alongside recipient addresses, timestamps and relayer fees, and a new contract leaves that record unchanged.

Disclaimer: This article is for informational purposes only and is not financial, legal or security advice. The cryptographic findings described here are reported as their authors and organizations published them. They have not been independently tested by Coindoo, and attack costs remain undisclosed. Coindoo does not endorse or recommend the use of Tornado Cash or any other privacy protocol, whose legal status varies by jurisdiction. Readers holding funds in affected protocols should consult qualified security and legal professionals before acting. 

The post Ethereum Researcher Flags BN254 Risk From Classical Attacks appeared first on Coindoo.

Read Entire Article