The RAACNFT contract contains a batch system for minting NFTs, controlled by currentBatchSize:
However, in the mint() function, this variable is not checked before minting:
There is no check on currentBatchSize, meaning infinite NFTs can be minted in a single transaction if no external controls are in place. A malicious user could mint an excessive number of NFTs using dust amounts, spamming storage and clogging the contract.
An attacker can repeatedly call mint() with dust amounts which could increase block gas limits and lead to DoS for legitimate users
Manual review
Enforce currentBatchSize in mint(). This prevents unlimited minting beyond the currentBatchSize
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.