Skip to content
Audit finding Intermediate

Missing L2 sequencer checks for Chainlink oracle

DadeKuma Follow

Originally disclosed on Code4rena

Submitted by DadeKuma

Note: This finding was reported via the winning Automated Findings report. It was declared out of scope for the audit, but is being included here for completeness.

337

Vulnerability details

Using Chainlink in L2 chains such as Arbitrum requires to check if the sequencer is down to avoid prices from looking like they are fresh although they are not.

The bug could be leveraged by malicious actors to take advantage of the sequencer downtime.

File: src/V3Oracle.sol

// @audit missing sequencer uptime, grace period checks
337: 		        (, int256 answer,, uint256 updatedAt,) = feedConfig.feed.latestRoundData();

kalinbas (Revert) confirmed

Revert mitigated:

Fixed here.

Status: Mitigation Error. Full details in reports from ktg, b0g0 and thank_you, and also included in the Mitigation Review section below.


The original report as published on Code4rena, by DadeKuma. Images and videos are our own copies; raw HTML is shown as text. View it on Code4rena.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A medium-severity security bug in Revert Lend. Code4rena made it public on 22 May 2024. Found in the 2024-03-revert-lend audit contest (finding M-27).

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

More by DadeKuma

View all

19 more disclosed reports, best first.

More from Revert Lend

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.