The 'setPassword' function is not protected by any modifier
The 'setPassword' function can be called by any other EOA/contract.
Everybody can set a new password.
Manual Review
Add the following line of code:
if (msg.sender != s_owner) {
revert PasswordStore__NotOwner();
}
The best way is to create a modifier and apply it to the function (instead of copy-pasting) this code multiple times
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.