The _getChainlinkResponse()
function is used to get the price of tokens, the problem is that the function does not check for stale results.
The ChainlinkOracle._getChainlinkResponse()
function is used to get latest Chainlink response.
The problem is that there is not check for stale data. There are some reasons that the price feed can become stale.
Since the token prices are used in many contracts, stale data could be catastrophic for the project.
Read the updatedAt return value from the Chainlink.latestRoundData()
function and verify that is not older than than specific time tolerance.
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.