Any account can call the setPassword function and change the password. This is a major security risk as it allows an unauthorized user to change the password.
Any account can change the password, posing a major security risk.
Unauthorized users can change the password, potentially leading to unauthorized access.
visual review
Add an onlyOwner modifier to the setPassword function to ensure that only the owner can change the password.
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.