Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 836 Bytes

L-01.md

File metadata and controls

21 lines (11 loc) · 836 Bytes

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.