in PasswordStore.sol the function setPassword() does not check that msg.sender == owner allowing anyone to be able to set a new password.
Running the test shown below in PasswordStore.t.sol will illustrate that a non-owner can set whatever new password they wish.
This has been classified as a high issue, as anyone can set a new password.
Foundry & Manual Review
Add a check in setPassword() to ensure msg.sender == owner, such as the one shown below.
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.