ERC20 tokens like Snow typically use 18 decimals, meaning 1 token = 1e18 wei (1,000,000,000,000,000,000 base units).
The mintSnowman() function loops over the amount parameter to mint individual NFTs, but when this amount represents ERC20 token balances with 18 decimals, it attempts to mint an astronomically large number of NFTs, causing transactions to fail due to gas exhaustion.
Likelihood:
Every single claim attempt with any non-zero Snow balance will trigger this issue
Even users with fractional amounts like 0.1 Snow (1e17 wei) cannot successfully claim
The vulnerability activates automatically during normal protocol operation
Impact:
Complete Denial of Service - no legitimate user can successfully claim their airdrop
Use ERC1155 Instead
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.