The logic to reset the dailyClaimCount is flawed and only triggers when a claim is made after a 24-hour period has passed since the last claim that triggered a reset. If claims are made consistently every day, but more than 24 hours apart, the dailyClaimCount will increment but never reset. Once dailyClaimCount reaches dailyClaimLimit, the condition if (dailyClaimCount >= dailyClaimLimit) will be true forever, blocking all future claims for every user.
Likelihood:
This occurs when the dailyClaimLimit is reached on any given day.
No new claims are made for more than 24 hours, preventing the faulty reset logic from triggering.
Impact:
The faucet will be permanently bricked, and no user will be able to claim tokens ever again.
This constitutes a total denial of service for the contract's primary function, requiring a complete redeployment to fix.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
View preliminary resultsAppeals are being carefully reviewed by our judges.
The contest is complete and the rewards are being distributed.