Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Valid

Everyone can see stored password

Summary

Everyone can see stored password

Vulnerability Details

As Ethereum blockchain is public, private variable can still be easily visualised.

Impact

Anyone can access contract storage and see stored password using tools like foundry or hardhat, or even on etherscan.

Tools Used

Manual review

Recommendations

Don't use blockchain to store private data.
Or encrypt the password off chain, store encrypted data and make sure you are the only one who know how to decrypt it.

Updates

Lead Judging Commences

inallhonesty Lead Judge
about 2 years ago
inallhonesty Lead Judge about 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

finding-anyone-can-read-storage

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

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.