The PasswordStore::setPassword()
function accepts an empty string as input, allowing the user to store a non-password value. While this behaviour doesn't lead to unexpected outcomes, it doesn't align with the purpose of a password storage to store an empty password.
Manual review
Add a checks in the PasswordStore::setPassword()
function that reverts in case the password is an empty string.
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.