Anyone can call setPassword() to set a new password, even if they are not the owner.
Only the owner should be able to call setPassword() to modify the password.
This directly affects the purpose of the contract, since this is a password manager type contract. Therefore, the integrity of the contract is greatly compromised.
Manual review
Consider using OpenZeppelin Ownable smart contract (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol) to restrict access to the 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.