Anyone can view passwords by decode storage slot
This private variable only limits the access from external contract
But anyone can read the blockchain storage at that variable's slot
and decode to get the password value
Make password disclosure for anyone
POC
cast storage [options] address slot
The string password variable is in slot 1
foundry cast
Don't store sensitive information on the 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.