This repository has been archived by the owner on Nov 12, 2023. It is now read-only.
T1MOH - getMarkPrice() doesn't check If Arbitrum sequencer is down in Chainlink feeds #115
Labels
Non-Reward
This issue will not receive a payout
T1MOH
medium
getMarkPrice() doesn't check If Arbitrum sequencer is down in Chainlink feeds
Summary
When utilizing Chainlink in L2 chains like Arbitrum, it's important to ensure that the prices provided are not falsely perceived as fresh, even when the sequencer is down. This vulnerability could potentially be exploited by malicious actors to gain an unfair advantage.
Vulnerability Detail
There is no check:
Refer to this issue sherlock-audit/2023-02-bond-judging#1
Impact
Could potentially be exploited by malicious actors to gain an unfair advantage.
Code Snippet
https://github.com/sherlock-audit/2023-04-jojo/blob/main/smart-contract-EVM/contracts/adaptor/chainlinkAdaptor.sol#L43-L55
Tool used
Manual Review
Recommendation
code example of Chainlink:
https://docs.chain.link/data-feeds/l2-sequencer-feeds#example-code
Duplicate of #101
The text was updated successfully, but these errors were encountered: