The searchForEgg()
function increments a global eggCounter
and mints NFTs without any upper bound.
Without a cap:
Players could farm an unlimited number of eggs.
mintEgg()
could be spammed if the pseudo-randomness is manipulated.
The eggCounter
could overflow in the long term (though unlikely with uint256
, still theoretically possible).
Game balance, rarity mechanics, or metadata tied to token IDs may be unintentionally affected.
Unlimited minting can lead to devaluation of NFTs.
Introduce a cap or maximum number of eggs (e.g., MAX_EGGS
) and enforce it:
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.