Missing L2 sequencer checks for Chainlink oracle
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.
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();
Fixed here.
Status: Mitigation Error. Full details in reports from ktg, b0g0 and thank_you, and also included in the Mitigation Review section below.
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.