Closed howlbot-integration[bot] closed 4 months ago
alex-ppg changed the severity to QA (Quality Assurance)
alex-ppg marked the issue as grade-c
This previously downgraded issue has been upgraded by alex-ppg
alex-ppg changed the severity to QA (Quality Assurance)
Lines of code
https://github.com/code-423n4/2024-05-predy/blob/main/src/PriceFeed.sol#L46
Vulnerability details
Impact
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.
Proof of Concept
according to protocol docs:
we can see the procotol will be deployed on L2 chains.
according to chainlink docs:
PriceFeed.sol
Tools Used
Foundry
Recommended Mitigation Steps
It is recommended to follow the code example of Chainlink: https://docs.chain.link/data-feeds/l2-sequencer-feeds#example-code
Assessed type
Invalid Validation