Missing stale price check for NFT
In function getNFTPrice()
, we aim to get this NFT's price. And we need to check if the price is staleness. If the price is staleness, we should revert. Because borrowers will borrow funds based on the NFT's price. If the NFT's price is staleness, borrowers may make use of this staleness price to borrow more funds than expected.
And according to the comments of this function, checking the price's staleness is the expected behavior, the dev missing this part.
Borrowers may make use of this staleness price to borrow more funds.
Manual
Check whether the price is staleness. If this price is staleness, we should not use this price to calculate the borrower's collateral value.
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.