SetPassword() can be called by anyone at any point. it is not restricted to only the owner.
This function fails to check if the msg.sender is the owner.
Anyone can change the password at any point.
It should be such that either
a) only the EOA owner of the contract can call setPassword()
b) if the password hash is stored, then whoever can supply a password whose hash matches that in the contract can set a new password.
The function call should revert otherwise.
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.