Data stored on the blockchain is visible to anyone. Storing sensitive data such as a password is not advised.
The storage variable s_password stores sensitive data, this leads to sensitive data leak since all storage data is public.
Sensitive data leak.
Foundry
Slither
Do not store sensitive data on the blockchain.
If sensitive data needs to be stored on the blockchain, consider encrypting it first.
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.