Password will be visible to all.
Although declared as a private variable, the value can be determined by reading the contracts storage slots.
This can be done in foundry adding the following functions to the test file:
The same method could be applied to a live contract using a forked chain.
Private information being available to public.
Foundry
Do not store unencrypted private information on a public blockchain
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.