Normal behavior:
Token minting should be rate-limited or timelocked, especially in production systems, to prevent sudden and excessive changes to supply.
This ensures predictable inflation and gives the community or investors time to react to governance decisions.
Issue:
The mint() function can be called at any time, repeatedly, and without delay.
There’s no cooldown period or timelock between mint operations, allowing the owner (or a compromised owner wallet) to mint massive amounts in rapid succession — destabilizing the token’s price and ecosystem.
Likelihood:
This occurs whenever the owner performs consecutive mint operations in short time frames (e.g., automated or scripted minting).
It will also occur if an attacker compromises the owner account and performs rapid mints before detection.
Impact:
Severe inflation risk — the supply can spike uncontrollably in seconds.
Market manipulation risk — large, instant mints can be used to dump tokens on DEXs or manipulate price feeds.
Explanation:
By looping the mint() call, the attacker floods supply with millions of tokens in seconds, causing irreparable economic damage.
Introduce a timelock or mint cooldown to limit frequency of mint operations.
Explanation:
Enforcing a cooldown period between mints prevents inflation spikes, provides auditability, and improves ecosystem stability by giving time to respond before additional supply is introduced.
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.