the mintSnowman
function should only be callable by SnowmanAirdrop
Instead anyone can call this and receive free snowmen defeating the whole purpose of staking snow tokens
Likelihood:
anyone can easily call mintSnowman
Impact:
Impact 1
Impact 2
add to TestSnowman.t.sol
after deploying Snowman
transfer ownership to SnowmanAirdrop
. add an onlyOwner
modifier to Snowman::mintSnowman
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.