The Christmas Dinner contract's refund() function can be spammed to block legitimate deposits near the event deadline.
An attacker can repeatedly call refund() to fill block space, preventing users from depositing before the deadline. This function lacks checks or costs, enabling unlimited abuse.
Legitimate users miss the deadline, allowing the attacker to:
-Demand ransom to stop the attack.
-Extract high gas fees.
-Manipulate participation for profit.
Foundry for testing.
Restrict refund() access to eligible participants.
Add costs or rate limits to discourage spamming.
Prioritize critical functions like deposit() near the deadline.
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.