The contract allows the owner to mint an arbitrary number of tokens without restriction using the mintFaucetTokens() function.
This means the total supply can be inflated infinitely, undermining the token’s intended scarcity or value.
This deviates from standard ERC20 design, where most tokens define a MAX_SUPPLY limit or enforce strict minting schedules.// Root cause in the codebase with @> marks to highlight the relevant section
Likelihood:
The owner can mint unlimited tokens at any time.
No checks or limits prevent over-minting.
Impact:
Holders’ token balances can be diluted.
Faucets or users relying on token scarcity may lose trust or utility value.
// Owner can repeatedly call this
mintFaucetTokens(owner, 10_000_000 ether);
mintFaucetTokens(owner, 999_999_999 ether);
The total supply will keep increasing indefinitely.
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.