[web3] Report: Scroll Mainnet Emergency Upgrade on 2025-04-25 - General - Scroll
Two bugs were found: a soundness issue in the OpenVM circuit that could let a colluding sequencer and prover generate invalid proofs, and a message queue spoofing issue in the bridge that could allow an attacker to mint ETH or arbitrary ERC20 tokens on Scroll. Scroll paused the affected gateway contract and performed an emergency upgrade to fix both.
forum.scroll.io
Published on forum.scroll.io
protocol, technical, security-council
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an off-by-one error in the OpenVM circuit's range check and a missing address check in the bridge contract's message relay function.
Impact
The OpenVM bug could not be exploited by third parties because the sequencer and provers are operated by Scroll; the bridge bug could have allowed minting arbitrary ETH or ERC20 tokens on L2, but Scroll paused the gateway contract and a chain-monitor would halt finalization if exploited.
What the attacker needed
Colluding sequencer and prover for OpenVM bug; ability to craft a withdraw message on L2 for bridge bug
The fix
The OpenVM bug was fixed by changing the iterator to enumerate before skipping, and the bridge bug was fixed by adding a check to forbid calls to the enforced transaction gateway; both fixes were deployed in an emergency upgrade.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report describes two security problems in Scroll, a system that helps move assets between Ethereum and a faster network. One bug was in the code that checks whether computations were done correctly, and the other was in a bridge contract that handles messages between the two networks. The bridge bug could have let someone create fake money on the faster network, but the team paused the contract before anyone could use it.
What is Smart contracts?
Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.