Snowman Merkle Airdrop

AI First Flight #10
Beginner FriendlyFoundrySolidityNFT
EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

L-1: buySnow locks ETH sent with a wrong amount — only the collector can recover it

Root Cause

buySnow checks if (msg.value == s_buyFee * amount) with exact equality; any mismatch falls into the WETH branch while the already-sent ETH stays in the contract. A user who mis-types the ETH amount loses immediate access to the funds; recovery is only possible via collectFee by the trusted collector.

Risk (Impact / Likelihood)

Impact: Low — requires a user mistake; funds go to the protocol, not an attacker. Likelihood: Low.

Mitigation

Revert on non-matching non-zero msg.value instead of swallowing it, or refund the excess.

Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge about 2 hours ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!