mintSnowman
function enable DoS attacks, supply mainpulation, and gas exhaustionThe Snowman::mintSnowman
function has no limits on the amount
parameter, allowing users to potentially mint an unlimited number of NFTs in a single transaction.
The follow block of code is responsible for the issue.
Likelihood:
Authorized minters (including the airdrop contract) can pass arbitrarily large amounts to the function
Malicious or compromised authorized addresses will attempt to mint excessive quantities
Users will discover the lack of limits through trial and error or code analysis
Gas-based attacks become more likely as the protocol gains popularity and higher transaction volumes
Impact:
DoS attacks: Transactions with extremely large amounts can consume excessive gas and potentially fail.
Supplay manipulation: Unlimited minting can drastically inflate the NFT supply
Gas exhaustion: Large amounts can cause transactions to run out of gas
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.