Add access control reinforcements to prevent anyone but the contract's owner to update the password.
Function setPassword has no access control mechanism. Anyone can change the password.
The owner's password can be altered at anytime.
Hardhat
Add a require statement to prevent anyone but the contract's owner to change the 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.