The PasswordStore::setPassword
function should only be used by the contract owner, but for now, any user can use it.
if the The PasswordStore::setPassword
function doesn't validate if the msg.sender == owner
any kind of user will be able to set a new password.
Any kind of user would be able to set a new password.
Foundry
Can be possible to use the same owner validation like the getPassword function.
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.