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

Transaction variable (password) is visible by everyone

Summary

When the setPassword transaction is called, the variable (which is the password) is publicly visible. Anyone can simply check the scan explorers and find the password.

Impact

Password can be discovered by others.

Recommendations

Encrypt password off chain and send the encrypted password through the transaction.

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.