MorpheusAI

MorpheusAI
Foundry
22,500 USDC
View results
Submission Details
Severity: low
Invalid

[L-1] - Exceeded mint cap in the `MOR.sol:mint()` function

Summary

The owner can accidentally exceed the mint cap and there are no checks prevent this from happening

Vulnerability Details

The owner can exceed the mint cap by mistake and exceed the total supply cap

Impact

More minted tokens than the max supply of the token

Tools Used

Manual Review

Recommendations

add the following line of code to the mint() function in the MOR.sol contract:

+ require(amount_ <= cap_, "Total supply is exceeded");
Updates

Lead Judging Commences

inallhonesty Lead Judge
over 1 year ago
inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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