The mintSnowman function in the Snowman contract contains a critical reentrancy vulnerability
Reentrancy Vulnerability in mintSnowman()
Allows Unauthorized Token Minting
1.Dangerous external call _safeMint(receiver, s_TokenCounter);
2.Dont have nonReentrant modifier
1.Single transaction can mint N tokens while paying for only 1
2.Token counter becomes inconsistent (s_TokenCounter increases but token IDs duplicated)
3.Potential theft of funds if minting involves payments
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.