Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Stores single password only; contract not flexible, not upgradeable etc

Summary

Password Store in not flexible, only stores single password, cant have any extra functionality added

Vulnerability Details

Contract is not flexible as

  • Contract can only store a single password

  • Contract only store and get functionality

  • Contract are not upgradeable

Impact

It implies user has to deploy many contracts which will cost them not only money, but problems with managing many different password stores on many contracts increasing chances of problems

Tools Used

Manual Analysis

Recommendations

Maybe make use of a mapping so as to store various passwords

mapping(string => string) private nameToPassword;

Make contract upgradeable so that more functionality can be added in implementation contract as desired

Updates

Lead Judging Commences

inallhonesty Lead Judge
about 2 years ago
inallhonesty Lead Judge about 2 years ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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