The getPrice function retrieves the latest price from the Chainlink aggregator using latestRoundData.
However, it ignores the updatedAt and answeredInRound return values, failing to validate if the reported price is fresh and valid for the current block.
Likelihood:
Chainlink oracles can stop updating
Impact:
The protocol calculates leverage and health factors based on outdated prices.
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.
The contest is complete and the rewards are being distributed.