No check for address(0) in transferAdmin(address) - Adminable.sol
address(0) in transferAdmin(address) - Adminable.solThe transferAdmin(address) (0x75829def) doesn't check that the next admin owner address is different than the null address.
address(0) in transferAdmin(address) - Adminable.solNot checking the admin can result in a lock of the admin role because of the non-operable aspect of address(0).
slither
manual code analysis
foundry toolbox
address(0) in transferAdmin(address) - Adminable.solThe check can be performed in at several ways(require, revert statements) and in two different locations:
Inside the onlyAdmin modifier
Inside the transferAdmin(address) function
https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity
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.