L2BEAT has completed its audit of the ZK (zero-knowledge) circuits used by Lighter, a decentralized trading platform built on Ethereum Layer2. The emergency withdrawal mechanism known as “desert mode” is now fully open source. Users can reconstruct the circuits and generate proofs on their own machines, without any help from the project team.
Until recently, the source code for desert mode was private. In an emergency, users had no choice but to rely entirely on Lighter’s developers to retrieve their funds—a clear violation of decentralization principles. The audit changes that.
Desert Mode Code Goes Public
Desert mode was designed to handle extreme situations like a Layer2 sequencer going offline or transaction processing halting. It uses ZK proofs to validate withdrawal requests, but without the source code, users could not construct those proofs themselves. As late as April 2026, the code remained closed. That meant funds could be trapped inside the Layer2 environment if the team became unavailable.
After a rigorous audit, L2BEAT released the full source code and compilation instructions. Anyone can run the build_circuits.sh script to assemble all circuit layers on their own computer. The resulting verifier contract matches the one already deployed on Ethereum’s Layer1, ensuring compatibility even if the Lighter platform shuts down entirely.
Self-Service Withdrawal Steps
The process is straightforward: download the code, execute the build script, generate a ZK proof, and submit it to the Ethereum mainnet contract. No permission is required from any third party. L2BEAT stated that the emergency exit system now operates “freely,” with the key outcome being the elimination of blind reliance on the developer team.
L2BEAT’s ZK Catalog Role
L2BEAT runs a specialized database called ZK Catalog, which evaluates Layer2 networks on security and decentralization using techniques like smart contract authenticity checks. The transparency of desert mode’s code and the ability for independent verification are now part of that assessment. The audit confirms Lighter’s emergency exit has reached a higher transparency standard.
Lighter and Layer2 Security Context
Lighter is a decentralized platform focused on perpetual futures trading within the Ethereum ecosystem. It relies on Layer2 for faster and cheaper transactions, with each trade validated by ZK proofs. Desert mode served as the last resort for secure exits when Layer2 fails. Now that last resort no longer requires trust in any centralized intermediary.
L2BEAT’s third-party verification guarantees that Lighter users can withdraw assets permissionlessly and directly on the blockchain during emergencies. This development demonstrates how open audits and technical transparency can remove trust barriers in decentralized finance. Lighter’s independently audited ZK escape circuits set a new benchmark for user fund safety in Ethereum-based Layer2 solutions, and more projects are expected to follow suit.

