The NatSpecs for setPassword()
function says:
However the funcion setPassword()
can be called by everyone, breaking the entire logic and purpose of the PasswordStore
contract.
setPassword()
function (https://github.com/Cyfrin/2023-10-PasswordStore/blob/main/src/PasswordStore.sol#L26-L29)
Breaking the entire logic and purpose of the PasswordStore
contract.
Manual Review
Implement onlyOwner
modifier.
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.