What should a Linea smart contract audit cover?
A Linea smart contract audit should check how your Solidity uses the Linea message service, where anyone can claim a message and the bridge contracts can rate limit or pause, and how it handles sequencer downtime without a Chainlink uptime feed. QuillShield audits the Solidity code of a Foundry project that targets Linea, message handlers included, and compares each later pull request with what the audit found.
What is different about auditing on Linea?
Linea runs Solidity apps much as Ethereum does, and most differences an app team meets come from the canonical message service and the roles around it. OpenZeppelin described these in its audit of Linea V2 in February 2024, so check the current contracts for later changes before relying on the details.
- Messages are anchored, then claimed by anyone. The Linea V2 audit describes L1-to-L2 messages that the coordinator anchors on L2 with
anchorL1L2MessageHashes, after which anyone can claim them to execute the underlying transaction, and the claimant receives the message fee. The account that triggers delivery is not the account that sent the message. - Messages to Ethereum wait for finalization. The same audit describes L2-to-L1 messages anchored on L1 as the root of a sparse Merkle tree during finalization, after which users call
claimMessageWithProofwith a Merkle proof. Nothing reaches Ethereum before the blocks that carry it are finalized. - ETH movements are rate limited, and the contracts can pause. A RateLimiter contract on both layers limits the ETH that can be sent from L2 and claimed from messages on L1, and a pause manager can stop different sets of functions with four pause types (OpenZeppelin).
- There is no Chainlink sequencer uptime feed for Linea. Linea is not on the Chainlink list of L2 sequencer uptime feeds (checked 3 December 2026), and Chainlink says it is no longer expanding these feeds to more networks. A lending market on Linea needs its own answer for liquidations after downtime.
- Finalization rests on proofs and on admin roles. In V2, operators finalize blocks with
finalizeCompressedBlocksWithProof, which checks a PLONK proof, the Linea security council holds the admin role, and an admin path to finalize without a proof was meant only for emergencies and the V1 to V2 migration (same audit).
What should a reviewer check in Linea message handlers?
- Contracts that receive L1 messages check that the call comes from the message service and that the message came from the expected L1 contract, never the account that claimed it.
- A message handler gives the same result whoever claims it and whenever they claim it.
- Exit flows handle a RateLimiter that refuses a large ETH claim, and a message service that is paused.
- Liquidations and price reads have a liveness check of their own, since Chainlink lists no uptime feed for Linea.
- Nothing on Ethereum treats an L2 event as delivered before its message root is finalized on L1.
- The trust model names who can pause, reset rate limits and finalize, checked against the current deployment rather than the 2024 audit.
What happened in the Velocore exploit on Linea?
| Protocol | Velocore |
|---|---|
| Date | 2 June 2024 |
| Chain | Linea and zkSync Era |
| Loss | over $6.8M |
| What happened | An attacker manipulated the fee calculation in the Velocore Balancer-style CPMM pools on Linea and zkSync Era. The pool lacked a permission check, and an underflow error let a small single-token withdrawal mint an outsized amount of LP tokens, which the attacker used to drain the pools. During the attack the Linea team halted the sequencer to stop more funds bridging out, a step it called a last resort to protect users. |
| Sources | Rekt, The Block |
The halt shows the Linea trust model in both directions, because the power that let the team stop funds leaving the chain can also stop every other user's transactions. A protocol on Linea should plan for a halted sequencer as well as for a bug, and the centralization risk page covers how to describe that trust to users.
Which Linea apps inherit the message service risks?
Any app that bridges ETH or tokens through the canonical message service inherits its claim model, rate limit and pause roles, and lending markets on Linea carry the missing uptime feed as a design problem of their own.
| Protocol type | What to check first on Linea |
|---|---|
| Bridge or cross-chain app | Sender authentication through the message service, and handlers that are safe whoever claims |
| Lending market | A liveness check for liquidations, since no Chainlink uptime feed covers Linea |
| Vault with exits to Ethereum | Rate-limited or paused claims, and how long a user waits for finalization |
| L1 governance acting on Linea | That only the expected L1 sender can trigger L2 actions through the message service |
Which vulnerabilities matter most on Linea?
- Cross-chain message validation: every message from Ethereum is anchored by the coordinator and executed by whoever claims it.
- Access control: a receiver has to check both that the message service called it and which L1 contract sent the message, or any L1 account can reach it.
- Stale oracle prices: without an uptime feed, a price read after downtime looks as fresh as any other.
- Integer overflow and underflow: an underflow in the Velocore fee math turned a small withdrawal into a large LP mint.
- Centralization risk: pause, rate limit and finalization powers sit with a small set of roles, and the Linea team halted the sequencer during the Velocore exploit.
How do you run QuillShield on Linea code?
- Hold the Linea contracts in a Foundry project, because QuillShield supports Solidity in Foundry projects today.
- Import from GitHub or GitLab.com, or upload a Foundry .zip of up to 50 MiB, a folder or one .sol file. Only a GitHub or GitLab.com repo gets pull request checks.
- In the audit context, describe each message handler, the L1 contracts allowed to send to it, and what the app does if a claim is rate limited or paused.
- See the exact price and approve the quote. Sign-up is free.
- Once the audit is complete, go through each finding's lines, impact, recommended fix and proof of concept result. A separate reviewer agent tried to disprove it before you saw it.
- Switch on pull request checks so later changes to handlers and roles are compared with the audit's security graph.
A full audit starts at $49 and scales with the lines of Solidity in scope (pricing). New accounts get $50 in credit, good for up to half of an order.
QuillShield doesn't replace a manual audit. To have QuillAudits auditors review your Linea code, talk to an auditor. The Solidity page explains what QuillShield checks.
Start free and get a full audit quote for your Linea contracts.
FAQ
Who can claim a Linea message?
Anyone, once the message is anchored, and the claimant receives the message fee. That is how OpenZeppelin described the Linea V2 message service in its February 2024 audit.
Is there a sequencer uptime feed for Linea?
Not from Chainlink. Linea was not on the Chainlink list of L2 sequencer uptime feeds on 3 December 2026, and Chainlink says it is no longer adding networks to it.
Can Linea bridge withdrawals be limited or paused?
Yes. In V2 a RateLimiter caps the ETH sent from L2 and claimed on L1, and a pause manager can pause the contracts with four pause types (OpenZeppelin).
Sources
- Linea V2 Audit, OpenZeppelin checked 3 December 2026
- L2 Sequencer Uptime Feeds, Chainlink docs checked 3 December 2026
- Velocore, Rekt checked 3 December 2026
- Decentralized exchange Velocore addresses $7 million hack in postmortem, offers bounty to hacker, The Block checked 3 December 2026