20,000 USDC
View results
Submission Details
Severity: medium
Valid

Usage of Ownable Instead of Ownable2Step in Beedle.sol

Summary

Usage of Ownable Instead of Ownable2Step in Beedle.sol

Vulnerability Details

The contract "Beedle.sol" is currently using the Ownable contract, which lacks the additional security features provided by Ownable2Step and Ownable2StepUpgradeable. These features prevent the accidental transfer of contract ownership to an address that cannot properly handle it, protecting against potential vulnerabilities arising from such situations.

Impact

By using Ownable instead of Ownable2Step, the contract may be susceptible to ownership transfer issues, such as accidental transfers due to typos in addresses. This could lead to potential security risks and vulnerabilities if the contract's ownership is transferred to an unintended address without the proper safeguards in place.

Tools Used

Manual Review

Recommendations

Replace the usage of Ownable with Ownable2Step or Ownable2StepUpgradeable.

Support

FAQs

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