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

Private variable not private

Summary

Anyone can access the password by reading the blockchain state.

Vulnerability Details

Private variables do not mean no one can access them.

Impact

Password will be leaked to whoever wants to access it.

Tools Used

manual review.

Recommendations

Do not store sensitive data on a blockchain.

Updates

Lead Judging Commences

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