This is a Denial of Service attack targeting the contracts enterRaffle
function. The attacker can send a transaction with a big number of entries in one go aiming to exhaust network resources.
The function does not limit the number of raffle entries that can be submitted in a single transaction. The excessive gas consumption can make the enterRaffle
function unusable for other users, either by making transactions fail or by making them prohibitively expensive and slow and this would cause DOS.
Here is a test showing the DOS attack:
Foundry, manual
Limit entry batch size
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.