You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The transferOwnership function transfers contract ownership in a single
step. If the owner of a contract were set to an address not controlled
by the Team, the contract would be impossible to recover.
Recommendations
Implement 2-step Ownable
The text was updated successfully, but these errors were encountered:
OWNABLE CONTRACT HAS A SINGLE STEP OWNERSHIP TRANSFER
Severity
Low Risk
Relevant GitHub Links
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/utils/Ownable.sol#L19
Vulnerability Details
The transferOwnership function transfers contract ownership in a single
step. If the owner of a contract were set to an address not controlled
by the Team, the contract would be impossible to recover.
Recommendations
Implement 2-step Ownable
The text was updated successfully, but these errors were encountered: