OpenZeppelin's Ownable2Step and Ownable2StepUpgradeable prevent contract ownership from mistakenly being transferred to an address that cannot handle it (e.g. due to a typo in the address), by requiring that the recipient contract actively accept ownership via a contract call of its own.
There is 1 instance of this issue.
File Link | Instance Count | Instance Link |
---|---|---|
ProxyFactory.sol | 1 | 37 |
The contract ownership could mistakenly be transferred to an address that cannot handle it.
baudit: a custom static code analysis tool; manual review
Use Ownable2Step
rather than Ownable
. For upgradeable contracts, use Ownable2StepUpgradeable
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.