Suppose only owner can change the password. The function is not restricted, anyone can call to change the password
The setPassword()
function decalre as external method, it is unrestricted, can be call by EOA or other contract.
Anyone can change the s_password
.
Add a modifier
that detect the msg.sender
, revert transaction if caller not contract owner.
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.