A logic bug in claimFaucetTokens resets the contract's daily Sepolia-ETH drip counter (dailyDrips) when a returning (non-first-time) claimer calls the faucet. This allows the protocol to distribute more ETH than the intended daily cap to first-time claimers.
Likelihood: High
The limit is reset every time a non first time user claims faucet tokens.
Impact: Medium
The contract can exceed its intended daily ETH distribution, breaking the business rule that limits first-time ETH drips per day. The effect is loss of rate-limiting guarantees rather than immediate fund loss.
The following Forge test demonstrates that a recurring claim clears the daily counter and allows further first-time drips:
Remove the else statement in the RaiseBoxFaucet::claimFaucetTokens function
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.