20,000 USDC
View results
Submission Details
Severity: medium

Beedle token mint function could mint arbitrary amount of tokens

Summary

Beedle.sol contract has mint function with onlyOwner modifier that allows contract owner to mint arbitrary amount of tokens.

Vulnerability Details

There are significant centralization risk, as Beedle contract owner has an ultimate power to mint tokens.

Impact

If contract owner account happened to be compromised, Beetle token price would go to zero and it's holder would lose their funds.

Tools Used

Observation

Recommendations

Consider adding max_supply attribute or setting Timelock/Multisig owner of the contract

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.