setPassword can be called by anyone
Any person can call the setPassword function effectively wiping the owner's original password
Owner can lose their original password if this is the only place that the owner is storing it.
Manual Review
Do not store sensitive information such as passwords on the blockchain. A check can be added so that onlyOwner can call this function but the data can still be retrieved from others quite easily.
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.