Link to Affected Code:
Description:
The getNFTPrice() function retrieves both price and timestamp from the oracle but fails to validate the timestamp freshness. While the function comment states "Checks if the price is stale", no such validation exists. This allows potentially outdated NFT valuations to be used in critical lending operations.
Impact:
Using outdated prices for collateral valuation
Incorrect liquidation triggers
Manipulation of borrowing power
Recommended Mitigation:
Add staleness validation, example like this :
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.