The mintSnowman function in Snowman.sol is accessible to any external contract without proper access control.
This violates the project's invariant that "Stakers of the Snow token receive this NFT" as anyone can mint NFTs without being a Snow token staker.
Likelihood:
High as anyone can call the mintSnowman function without any staking required check
Impact:
High as it breaks the invariant - Stakers of the Snow token receive this NFT.
Any external contract can call mintSnowman
No checks for Snow token staking status
NFTs can be minted to any address
This allows non-stakers to receive NFTs, violating the project's core invariant
Add proper access control and staking verification:
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.