The function setPassword can be accessed by ANYONE!
In the following function we see that there is no if condition is given, like the one which is given for the getPassword function, making it not an onlyOwner function.
High Risk
Here, if anyone can set a new password then there will be no sense of the protocol boldly mentions: "Never worry about forgetting your password again!" In this case, a malicious user can easily change the password and hence I am giving it a high risk remark since this would signify the protocol don't exist.
Manual Scanning
include a if condition inside the function setPassword which can be something like this:
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.