Function RaiseBoxFaucet::claimFaucetTokens is vulnerable to reentrancy attacks and allows to bypass claim cooldown. The function does not follow the Checks Effects Interactions pattern and it sets lastClaimTime value for faucetClaimer after call is called to send Eth to faucetClaimer. This allows to re-enter in the function. After that all validations are passwd and _transfer(address(this), faucetClaimer, faucetDrip) is called again, allowing to bypass cooldown.
Likelihood: High
Anyone can bypass claim cooldown.
Impact: High
Bypass claim cooldown allows to claim more tokens that it is allowed.
Follow Checks Effects Interactions pattern and transfer Eth after all changes to storage is done.
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.