The setPassword
function is not checking if msg.sender
is the s_owner
Critical, since it defeats the whole purpose of the contract.
Manual Review
Add a check for the msg.sender
, similar to the one in the getPassword
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.