Description: The 'claimSnowman' function does not track whether a user has already claimed their Snowman NFT.
Impact: A user can call 'claimSnowman' multiple times with the same valid Merkle proof and signature, repeatedly minting Snowman NFTs and draining the system.
Proof of Concept: Include the following test in the TestSnowmanAirdrop.t.sol
file:
Recommended Mitigation: Track claim status:
The claim function of the Snowman Airdrop contract doesn't check that a recipient has already claimed a Snowman. This poses no significant risk as is as farming period must have been long concluded before snapshot, creation of merkle script, and finally claiming.
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.