getNFTPrice
reverts on zero prices but ignores staleness, allowing oracle attacks.
priceOracle.getLatestPrice
may return price = 0
, which is treated as invalid, but no check exists for stale prices. An attacker could set price = 0
to block NFT operations.
NFT-related functions (deposit, borrow, repay) are disabled, causing a denial-of-service.
Manual Code Audit: Review getNFTPrice
for comprehensive validation.
Allow zero prices but validate staleness.
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.