The changeOwner function allows anyone to change the contract owner, leading to a complete loss of control over the contract.
The changeOwner function has no access control, allowing any address to call it and change the owner:
High. An attacker can take control of the contract, potentially draining all funds and manipulating the reward system.
Manual code review
Add access control to the changeOwner function:
Use OpenZeppelin's Ownable contract to handle ownership management securely.
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.