The external setPassword function allows any user to set the new password.
The external setPassword function is designed to allows only the owner to set a new password as per the notices (L23).
However, this function does not apply any restriction that will restrict this function to only the owner can call.
Therefore, the setPassword function is now behalf as a external that allows everyone to call and set new password of the contract.
The password can be changed anytime aby anyone
Apply the restiction to this function to allow only the owner of the contract to call.
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.