It's scaring, I found that anyone can set or update the password. The owner of the Smart contract PasswordStore
has no protection in place to authoritatively set a new password or update an existing one.
The PasswordStore
Smart contract is worthless if it has no authorized Password store & update mechanism. Therefore it would be considered a crap without that mechanism.
Manually Hunted.
Use my modifier if you also empower DRY
or use a if check
inside setPassword
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.