MorpheusAI

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

Owner can renounce ownership

Summary

Typically, the account that deploys the contract is also its owner. Consequently, the owner is able to engage in certain privileged activities in his own name.

Vulnerability Details

In smart contracts, the renounceOwnership() function is used to renounce ownership, which means that if the contract's ownership has never been transferred, it will never have an Owner.

Impact

This renders some owner-exclusive functionality unavailable.

Tools Used

Manual Review
VS code

Recommendations

I recommend that to prevent the owner from calling renounceOwnership() without first transferring ownership to a different address. Additionally, if you decide to use a multi- signature wallet, then the execution of the renounceOwnership() will require for at least two or more users to be confirmed. Alternatively, you can disable Renounce Ownership functionality by overriding it.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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