The setPassword function lacks the OnlyOwner modifier
The function setPassword which does not have OnlyOwner modifier , which means that any one can change the current password of owner.
Any one can change the password of owner.
Manual Review.
Need to add OnlyOwner modifier on setNewpassword() to prevent attacker from changing the password of store.
Anyone can call `setPassword` and set a new password contrary to the intended purpose.
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.