There is no access control in the changeOwner function
The changeOwner function changes the current owner to a new owner but the current implementation does not have an access control meaning anybody can call it and change the owner to any address
A malicious actor can change the current owner to their controlled address making him steal funds via withdrawFunds and call the onlyOwnerfunctions like setBoxPrice and addReward.
Manual review
Implement an access modifier like the onlyOwnerto control who can call the restricted function
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.