setPassword method allows any user to change the s_password.
Since setPassword method is external and requires no validation checks, any user can change the s_password set by the s_owner.
Any malicious user can change the password and deny the actual owner to retrieve their original password.
Manual Review
Add a validation check that if msg.sender is s_owner only then password can be updated.
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.