Sparkn

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

Use Ownable2Step instead of Ownable for access control

Summary

Use the Ownable2Step variant of the Ownable contract to better safeguard against accidental transfers of access control.

Vulnerability Details

The ProxyFactory.sol contract inherits from Ownable.

Impact

Low. Ownership can be accidentally transferred to the wrong address.

Tools Used

None.

Recommendations

Use a two step process to transfer contract ownership, such as Ownable2Step from the OpenZeppelin contracts library.

Support

FAQs

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