The mint()
function allows the festivalContract
to mint tokens to any address. However, there is no cap or maximum supply limit enforced in the BeatToken
contract.
This unrestricted minting can lead to inflation, devaluation of the token, or loss of trust among users and investors. A malicious or compromised festivalContract
can mint unlimited tokens, diluting the circulating supply.
Likelihood:
Occurs whenever the festivalContract
chooses to mint an arbitrary number of tokens.
There are no constraints in the smart contract code preventing over-minting.
Impact:
Total supply of tokens can be manipulated by the festivalContract
.
Token holders' balances can be diluted, reducing trust and token value.
Also add at the top of the contract:
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.