Missing modifier on setPassword() allows anyone to call the function and change owner's s_password. This breaks the core invariant of the contract.
Coded POC:
Anyone can set a user's password to any other string value.
Manual Review
Add a modifier to setPassword() function to only allow the s_owner to call it.
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.