The secret in set_secret
is stored in plain text and the blockchain is a global storage, hence anyone can check the contents of the secret from the account resources
Sensitive information like secrets/passwords should not store it's original contents but the hash of it's contents should be stored instead
Likelihood:
High: Anyone can check the contents of the caller's resoiurces to see the secret
Impact:
High: Exposed Keys
Hash the secret
in set_secret
before storing the value in the vault
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.