MorpheusAI

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

Ownable upgradeable does not pass input

Vulnerability Details

OwnableUpgradeable initialization requires passing address as argument at time of deployment which will be an address to be set as an owner of the contract.
Not passing any input will prevent calling of OwnableUpgradeable function and remain uninitialized.

/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
function __Ownable_init(address initialOwner) internal onlyInitializing {
__Ownable_init_unchained(initialOwner);
}

Recommendations

The recommendation is made for passing deployer or any other address intended for ownership as required address in the input for initialization.

__Ownable_init(msg.sender);
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.