The stored password can be overwritten by unauthorized users and will be lost forever.
There is no check if its the owner calling the setPassword() function. Anyone can therefor change the password.
Foundry
Check for owner in the 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.