Normal Behavior: The anti-bot protection should enforce cooldown periods between swaps to prevent rapid-fire trading by bots during token launches.
Issue: The constructor does NOT validate that phase1Cooldown and phase2Cooldown are greater than zero. Setting phaseCooldown = 0 causes the cooldown check to always pass, completely bypassing the time-based anti-bot protection:
When phaseCooldown = 0, the condition blocksSinceLastSwap < 0 is always false (since blocksSinceLastSwap >= 0), so the cooldown penalty is NEVER applied.
Root Cause: Missing validation in constructor:
Impact:
Bots can execute unlimited consecutive swaps in the same block with no cooldown penalty
The entire anti-bot protection mechanism is defeated
MEV bots and sandwich attackers can freely exploit the launch phase
Legitimate users face unfair competition from high-frequency traders
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.
The contest is complete and the rewards are being distributed.