only the owner should be able to retrieve the secret later, others should not be able to read the secret.
The secret: String is stored in plaintext on-chain. Full nodes / indexers can read raw state off-chain even if the module doesn’t expose a read function.
Likelihood:
Always true on public chains; node operators/indexers can inspect state.
The “secret” is not actually secret; privacy expectations are broken.
Observing raw state via an indexer / full node storage dump reveals the String bytes.
Consider making this changes
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.