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.
Impact: Low — requires a user mistake; funds go to the protocol, not an attacker. Likelihood: Low.
Revert on non-matching non-zero msg.value instead of swallowing it, or refund the excess.
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.