Lack of access control
In PasswordStore.sol, the setPassword() function allows only the owner to set a new password, but it lacks any permission control.
A malicious user can call the function arbitrarily to change the password.
check only owner can set a new 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.