Normal behavior: A vault should keep the stored secret readable only by its owner.
Issue: The secret is stored in plaintext inside an on-chain Move resource. All full nodes (and anyone querying the Aptos REST API) can read the raw bytes. Access checks in #[view]
functions do not hide storage.
Likelihood:
Every time a secret is written to chain, it is not truly a secret.
Impact:
Confidential data disclosure for every user.
Irreversible exposure: once published to chain, the secret cannot be recalled.
You could only store encrypted bytes on-chain so decryption can happen off-chain with a private key
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.