The SpookySwap::changeOwner
function provides a way for the owner to transfer ownership but without any validation or safeguards.
The owner might accidentally transfer ownership to an zero address making it impossible to call functions with onlyOwner
modifier.
Manual review
Add validation to ensure that _newOwner
is not the zero address before transferring ownership.
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.