The enterRaffle() function performs a linear scan of the entire players array to check for duplicate entries:
As the array grows, gas cost increases quadratically. With 1000+ players, gas exceeds block limit, making enterRaffle() unusable.
Likelihood:
Certain to occur as player count grows
Attackers can intentionally spam entries to increase gas costs
Impact:
enterRaffle() becomes unusable at scale
Denial of service for legitimate players
Protocol becomes non-functional
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.