There is a changeOwner() function which is set to public, therefore anyone can call the function and become the owner and perform all the actions such as set the price of boxes, add new rewards, and withdraw funds.
a public changeOwner() function in line 111 of MysteryBox.sol
anyone can call the function and become the owner and perform all the actions such as set the price of boxes, add new rewards, and withdraw funds.
None :- manual reading of the contract
change the function visibility to private or can just remove the 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.