You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No check if Arbitrum L2 sequencer is down in Chainlink feeds
Severity
Medium Risk
Summary
Assuming this contract will be deployed to L2 chains.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.
Vulnerability Details
In OracleLib.sol , there is no check to see if the sequencer is done which will lead to stale prices.
No check if Arbitrum L2 sequencer is down in Chainlink feeds
Severity
Medium Risk
Summary
Assuming this contract will be deployed to L2 chains.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.
Vulnerability Details
In OracleLib.sol , there is no check to see if the sequencer is done which will lead to stale prices.
Impact
Users can get better borrows if the price is above the actual price
Users can avoid liquidations if the price is under the actual price
Tools Used
Manual review
Recommendations
It is recommended to follow the code example of Chainlink:
https://docs.chain.link/data-feeds/l2-sequencer-feeds#example-code
The text was updated successfully, but these errors were encountered: