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
{{ message }}
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
sherlock-admin opened this issue
Jun 11, 2023
· 0 comments
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelMediumA valid Medium severity issueRewardA payout will be made for this issue
Missing checks for whether Arbitrum Sequencer is active
Summary
PriceOracle doesn't check whether the Arbitrum Sequencer is active when using prices from chainlink oracle.
Vulnerability Detail
Iron Bank protocol is going to launch on arbitrum network.
PriceOracle is using chainlink oracle in order to get prices. Chainlink recommends to check if arbitrum sequencer is active in order to get fresh prices. Otherwise stale prices can be fetched.
Impact
PriceOracle can calculate prices incorrectly which can cause bad debt for a protocol.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelMediumA valid Medium severity issueRewardA payout will be made for this issue
rvierdiiev
medium
Missing checks for whether Arbitrum Sequencer is active
Summary
PriceOracle doesn't check whether the Arbitrum Sequencer is active when using prices from chainlink oracle.
Vulnerability Detail
Iron Bank protocol is going to launch on arbitrum network.
PriceOracle is using chainlink oracle in order to get prices. Chainlink recommends to check if arbitrum sequencer is active in order to get fresh prices. Otherwise stale prices can be fetched.
Impact
PriceOracle can calculate prices incorrectly which can cause bad debt for a protocol.
Code Snippet
https://github.com/sherlock-audit/2023-05-ironbank/blob/main/ib-v2/src/protocol/oracle/PriceOracle.sol#L66-L72
Tool used
Manual Review
Recommendation
Check that sequencer is not down.
Duplicate of #440
The text was updated successfully, but these errors were encountered: