The function setPassword allows anyone to update the password.
The function setPassword does not check if the function caller is s_owner, this allows anyone to update s_password.
Unauthorised update to s_password storage variable.
Foundry
Slither
Add a check if msg.sender is s_owner before updating s_password
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.