The setPassword
function should verify that it's the owner who is calling the function.
The setPassword
function lacks a check to confirm if msg.sender
is equal to s_owner
.
Any user can take control and alter the s_password
variable.
Manual inspection.
Introduce the following check in the code:
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.