Missing checks for whether Arbitrum Sequencer is active
The protocol's Chainlink price oracle adapter does not check whether the Arbitrum sequencer is active. If the sequencer goes down, the oracle may return stale prices, which could lead to false liquidations or over-borrowing.
0xepley Follow with Bauchibred, Bauer and 6 others
Originally disclosed on Sherlock
Source: https://github.com/sherlock-audit/2023-04-blueberry-judging/issues/142
Found by
0xepley, Bauchibred, Bauer, Brenzee, J4de, ctf_sec, deadrxsezzz, tallo, tsvetanovv
Summary
Missing checks for whether Arbitrum Sequencer is active
Vulnerability Detail
the onchain deployment context is changed, in prev contest the protocol only attemps to deploy the code to ethereum while in the current contest
the protocol intends to deploy to arbtrium as well!
Chainlink recommends that users using price oracles, check whether the Arbitrum sequencer is active
https://docs.chain.link/data-feeds#l2-sequencer-uptime-feeds
If the sequencer goes down, the index oracles may have stale prices, since L2-submitted transactions (i.e. by the aggregating oracles) will not be processed.
Impact
Stale prices, e.g. if USDC were to de-peg while the sequencer is offline, stale price is used and can result in false liquidation or over-borrowing.
Code Snippet
Tool used
Manual Review
Recommendation
Use sequencer oracle to determine whether the sequencer is offline or not, and don't allow orders to be executed while the sequencer is offline.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
Stale prices could lead to false liquidation or over-borrowing if the sequencer is offline.
What the attacker needed
Protocol deployed on Arbitrum; sequencer goes offline
The fix
The protocol should use a sequencer uptime oracle to check if the sequencer is offline and block orders while it is down.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A sequencer is a component that orders transactions on a layer-2 network like Arbitrum. If it goes offline, price updates from oracles stop arriving, so the protocol may use old prices. This can cause users to be liquidated or borrow too much based on outdated information.