As we can understand from notice of function, only owner can set new password. But there isn't checks for owner is equal for msg.sender.
access control issues. anyone can use function which must be called by only owner
attacker can set new password and admin will lost his password.
manual review
add this after 26 line -
if (msg.sender != s_owner) { revert PasswordStore__NotOwner(); }
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.