Optimism smart contract audits for code deployed to a stack, not a chain.
Optimism is the reference implementation of the OP Stack, and the behaviour that matters for a review is shared with every chain built on it. Understanding the deposit path, the predeploys, and the withdrawal window here is understanding them on Base and every other OP chain your contract might also run on.
Six behaviours a standard EVM contract does not expect.
Your Solidity compiles and runs unchanged. What sits beneath it — the messenger, the predeploys, the deposit and withdrawal machinery — is where the OP-specific findings are, and none of it appears in a mainnet audit.
Aliasing
- What the stack does
- A contract calling in from L1 through the bridge arrives under an address shifted by a fixed offset. Externally owned accounts are not shifted.
- Why it matters
- Authorisation that compares msg.sender against an L1 address silently accepts the wrong caller, or rejects the right one.
- What we check
- Every deposit-triggered entry point, and any admin or governance path bridged down from L1.
Predeploys
- What the stack does
- The chain ships with system contracts at fixed addresses — the cross-domain messenger, the gas oracle, the withdrawal path — that your code calls rather than deploys.
- Why it matters
- Trusting a predeploy's return without checking the calling context is trusting anything that can reach the same entry point.
- What we check
- Every call into a predeploy, and any assumption that a message came from the canonical messenger rather than merely landed at it.
L1 cost
- What the stack does
- Transaction cost splits between L2 execution and the L1 fee for posting your data, read from an on-chain oracle.
- Why it matters
- Calldata size becomes a first-order expense, and any contract that reimburses or reasons about gas is reasoning about a moving number.
- What we check
- Refund logic, meta-transaction relayers, and batch designs that trade calldata for savings.
Withdrawal
- What the stack does
- Value leaving for L1 passes through a proposal and a challenge window before it can be finalised and claimed.
- Why it matters
- The delay is a liquidity and accounting fact. Treasury and bridging models that treat a withdrawal as immediate are wrong by days.
- What we check
- Anything that assumes funds sent to L1 are available on a timescale shorter than the finalisation window.
Deposits
- What the stack does
- Deposits are L2 transactions created by an L1 event, executed automatically, with their own rules about failure and gas.
- Why it matters
- A deposit that runs out of gas or reverts on L2 does not roll back the L1 side. The two layers can disagree about what happened.
- What we check
- Any flow where an L1 action assumes its L2 counterpart succeeded, and any state updated before the L2 side is confirmed.
Sequencer
- What the stack does
- A single sequencer orders transactions, publishes a timestamp within L1-tied bounds, and can stop.
- Why it matters
- Liquidations, auctions, and oracle updates that assume somebody can always act become conditional on one operator staying up.
- What we check
- Whether time-critical paths survive an outage, and whether oracle consumers notice that prices have stopped moving.
Because the stack is shared, a finding in how you use it is rarely confined to one chain. Code deployed across several OP chains carries the same assumption to each, and a mistake in the deposit or messenger path is a mistake everywhere it runs.
One deployment reviewed is not every deployment covered.
The shared stack is what makes OP chains easy to deploy across and easy to reason about wrongly. Code that is correct on Optimism can be misconfigured on the next chain it ships to, and the review scope has to name which chain it actually examined.
We check how you use the shared machinery
The part of the stack your code actually touches.
- Cross-domain message handling, and whether authorisation verifies the sender rather than trusting the entry point.
- Deposit and withdrawal paths, including what your contract does when the L2 side of a bridged action fails.
- Predeploy calls, and any value read from a system contract that a caller could influence.
- Assumptions about finalisation timing baked into treasury, liquidity, or accounting logic.
We flag what multi-chain deployment inherits
The same code, the same assumption, several chains.
- A single review covers one deployment; the same contract on Base or another OP chain is a separate scope.
- Per-chain configuration — bridge addresses, oracle feeds, admin holders — that diverged from the reference deployment.
- Differences in fault-proof maturity and upgrade governance between OP chains that share the codebase.
- Any prior audit performed on a different OP chain, and precisely what it therefore does not establish here.
We are not reviewing the stack itself
The boundary, stated rather than implied.
- We review contracts deployed to an OP chain, not the OP Stack, its fault proofs, or the sequencer.
- Canonical bridge and system contracts are out of scope unless named explicitly in the agreement.
- Sequencer and upgrade governance are assumptions the review records, not properties it verifies.
- Findings describe the stack's behaviour today; an upgrade to it can change your system without a deployment on your side.
Tell us which OP chains you actually run on.
One deployment or several across the Superchain, scoping starts with the chains in play, the bridge and messenger paths you use, and the configuration that differs between them. That decides what a review has to cover.
Every chain is reviewed on the same method. See how a smart contract audit runs.