The password stored in the slot is not secure.
The data stored in the slot can be obtained by checking the slot, And the input values and return values of the function can also be obtained by decoding the on-chain data. So no matter what method is used, directly storing passwords on the blockchain is not secure.
See Vulnerability Details.
Manual review.
If you need to store passwords on the chain, you can store encrypted data on the chain and decrypt it off-chain.
Private functions and state variables are only visible for the contract they are defined in and not in derived contracts. In this case private doesn't mean secret/confidential
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.