setPassword() does not check that msg.sender is owner, allowing anyone to change the password.
setPassword() does not check that msg.sender is owner, allowing anyone to change the password.
Original owner will lose control of the contract if the password is changed by someone else.
Hardhat
Check if msg.sender is owner before allowing the function to be called
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.