[L-01] Incorrect Balance Comparison in mintFaucetTokens Allows Over-Minting at Cap
Description: The mintFaucetTokens function includes a check to prevent minting if the contract already holds more than 1000 * 10 ** 18 tokens:
However, this condition allows minting when the balance is exactly equal to the cap.
This means the owner could mint additional tokens even when the faucet is already full — violating the intended supply limit.
Impact:
-Over-minting risk: Owner can mint tokens beyond the intended cap.
-Tokenomics inconsistency: Faucet may hold more than the declared INITIAL_SUPPLY.
-Logic mismatch: The revert condition doesn’t fully enforce the supply ceiling.
Recommended Mitigation:
Update the condition to include equality:
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.