Describe the normal behavior in one or more sentences
Explain the specific issue or problem in one or more sentences
RaiseBoxFaucet.sol (Lines 185-213)
Function: claimFaucetTokens()
Description:
Root cause + Impact: The dailyDrips tracking variable is incorrectly reset to 0 in an else block (line 212) that executes whenever a user who has already claimed ETH attempts to claim again. This logic error causes the daily ETH cap mechanism to fail completely. The else block executes for all users except first-time claimers when ETH drips are active, resetting the cumulative daily ETH counter back to zero. This allows the contract to distribute significantly more ETH than the intended dailySepEthCap by alternating between first-time and returning users.
Risk:
Likelihood: This bug triggers automatically with normal faucet usage. Any claim by a returning user (or when ETH drips are paused) resets the counter, making it trivial to bypass the daily limit.
Impact: The daily ETH cap becomes completely ineffective. An attacker can coordinate multiple addresses to repeatedly drain the ETH balance beyond daily limits, potentially emptying the contract's ETH reserves.
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.