The setPassword() function should be restricted to owner
Current implementation of the PasswordStore.sol contract allows anyone to update the password.
Having the setPassword function open for anyone to use breaks the stated aim of the protocol to only allow the owner to set the password. If they rely on the protocol to store their password without any backup and somebody changes it they lose that password forever.
Manual Review
Use the same Access Control in setPassword() as is used in getPassword()
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.