dailyDrips
should reset only when a new day start
The contract incorrectly resets dailyDrips
in the else branch when executing ETH claims for users already claiming:
Line: 212
Likelihood:
Any address that has claimed ETH before and waited 3-day cooldown can claim again to reset dailyDrips
Impact:
Daily ETH distribution cap can be bypassed
Faucet ETH balance can be drained faster than intended
Disrupts fair distribution mechanism
Claimer claims ETH for the first time.
After 3 days, the claimer claims again, which'll reset dailyDrips
to 0.
UnexpectedDailyDripsReset.t.sol: https://github.com/Luu-Duc-Toan/2025-10-raisebox-faucet/blob/master/test/UnexpectedDailyDripsReset.t.sol
Remove the incorrect reset:
This ensures dailyDrips
is only reset at day boundaries and cannot be manipulated by repeat callers.
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.