There is no zero address check when sending token to another address and setting new owner.
In the _afterTokenTransfer function
there is no zero address check.
The function itself calls setOwner function, which has no zero address check as well:
The impact would be an ownership of the tokens transferred to the zero address.
Manual Review
Implement the following check:
Additionally, consider implementing a two step process where the owner or controller nominates an account and the nominated account needs to call an acceptOwnership() function for the transfer of admin to fully succeed. This ensures the nominated EOA account is a valid and active account.
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.