the setPassword
function lacks access control, allowing anyone to set a new password.
The setPassword function lacks proper access control,
permitting anyone to change the password. To enforce the intended behavior, it should be restricted to the owner by verifying that msg.sender matches the owner's address (s_owner).
Unauthorized users can change the password.
Manual Analysis
insert this line in the setPassword
function
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.