Everyone can mint any amount of IndexToken
.
Method mint
(link) of IndexToken
contract has no access control, so attacker can mint up to type(unit259).max
value and NFTLiquidator::liquidateNFT
method will throw overflow error on IndexToken
's minting (link) because IndexToken._totalSupply
reached max value.
DOS of the NFTLiquidator
Manual code review
Add access control to the IndexToken::mint
method.
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.