The mint
function in RAACNFT contract lacks validation for token ID existence and range, potentially allowing minting of duplicate NFTs or NFTs with IDs outside the allowed range.
The function fails to validate:
If the tokenId is within the current batch range (currentBatchSize)
If an NFT with this tokenId already exists
If the tokenId is valid (e.g., non-zero)
Potential minting of duplicate tokens.
Manual review
Add proper validation checks.
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.