Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low
Valid

Usage of Ownable

Summary

Usage of Ownable is prone to error and may make the contract unusable.

Vulnerability Details

The ProxyFactory inherits the Ownable contract. Immediate change of the owner is prone to error, and such a mistake is irrecoverable. More secure design involves a two-step process to change privileged roles.

Impact

An immediate set of the owner to an incorrect address would make the contract unusable.

Tools Used

Manual review

Recommendations

Consider inheriting from Ownable2Step and utilize a two-step process to change the owner.

Support

FAQs

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