Anyone can set a new password by calling setPassword() since it does not require any role to change it.
The function setPassword()expects only the owner to be able to call it but the function does not check if the sender is is the owner of the contract.
Anyone user can alter the s_password variable.
Manual
Add an owner requirement to change the password. This will only prevent anyone from changing the password but wont fix the contract flawed design.
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.