by call function setPassword and pass input any password or empty string from non owner, the function will not revert error nor prevent change s_password value
function setPassword should only change password after verifying the msg.sender is the contract owner himself,
as the current implementation is stored password i changed by the input password directly without validation check
the main propose for contract is to store and retrieve password by owner vulnerable due to it can be change with any msg.sender
No tool used
add require to check the msg.sender is the owner otherwise will revert error before set s_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.