It is dangerous to store sensitive information on chain.
The contract store sensitive info(password) on chain which can be got by malicious party by multiple ways:
query/decode setPassword transaction
query storage, for example:
Sensitive information leak.
Manual, Foundry
Try not store sensitive info onchain
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.