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

No sensitive information should be stored on Blockchain

Summary

Anybody can access any information saved on the blockchain

Vulnerability Details

Blockchain is visible to everyone, no sensitive information like password should be stored on the blockchain because all these informations are saved on the evm which is available to everyone.

All you need is the contract address and how values are aranged in the evm
with this web3js method, any files saved on the evm can viewed (including the password in this instance)

await web3.eth.getStorageAt(SMART_CONTRACT_ADDRESS, VALUE_SLOT)

Impact

Any sensitive information stored on the blockchain can be viewed

Tools Used

manual review, webjs

Recommendations

No sensitive information should be stored on the blockchain as it is a public ledger accessible by anyone

Updates

Lead Judging Commences

inallhonesty Lead Judge almost 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.