mintSnowman
and mint themselves a free snowman NFT.Users are supposed to give up their snow tokens for snowman NFTs.
But due to the lack of access control users can just straight up mint themselves the NFT without even giving up their snow tokens or without even getting snow tokens
Likelihood: High
This will occur every time time since there's no access control
Impact: High
Due to this users can just mint themselves whatever amount of snowman NFTs they want without staking their snow tokens or without having any at all.
This would cause an oversaturation of NFTs causing their value to drop
-Bob calls the function mintSnowman
-Bob inputs his address and the amount he wants
-the snowman NFT gets minted to his address
A good fix would be to add roles like a onlyMinter
role so there could be some access control in the function
The mint function of the Snowman contract is unprotected. Hence, anyone can call it and mint NFTs without necessarily partaking in the airdrop.
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.