Additional validation checks should be incorporated for the results obtained from the Chainlink price feed to ensure non-stale data. Given that the price from the data feed directly impacts order execution and liquidations, maintaining up-to-date and accurate data is crucial.
Utilizing a stale price in the application may lead to incorrect calculations in the contract, creating a vulnerability that could be exploited by malicious actors.
Manual Review
Add the following require statements to validate the price feed:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.