In utils the ownable.sol file is using the single-step ownership transfer pattern.
Inheriting Ownable contract means you are using a single-step ownership transfer pattern. If an admin provides an incorrect address for the new owner this will result in none of the onlyOwner marked methods being callable again. The better way to do this is to use a two-step ownership transfer approach, where the new owner should first claim its new rights before they are transferred.
1.If an admin provides an incorrect address for the new owner this will result in none of the onlyOwner marked methods being callable again.
2.Funds gets stuck permanently.
Manual
Add AcceptOwnership method so that firstly the new owner claims the rights and after that old owner gets unauthorized.
Take refrence form openzeppelin Ownable2step contract:
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable2Step.sol
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.