The normal behavior is that only the owner can set a secret in their vault.
Currently, anyone can create a vault and set a secret in another person’s vault.
Likelihood: High
The path is straightforward; anyone can call set_secret.
Does not require the caller to have a vault or any access level.
Impact: Low
Doesn’t affect the owner’s vault; minor ecosystem impact.
Minor ecosystem impact; violates contract specification.
Any user (attacker) can set their own secret in another owner's vault, which violates the primary directive that only the owner can set a secret.
Enforce signer-based authentication for secrets to be set only by actual owner of the vault.
In Move for Aptos, the term "owner" refers to a signer, which is a verified account that owns a given resource, has permission to add resources and the ability to grant access or modify digital assets. Following this logic in this contest, the owner is the account that owns `Vault`. This means that anyone has right to call `set_secret` and then to own the `Vault` and to retrieve the secret from the `Vault` in `get_secret` function. Therefore, this group is invalid, because the expected behavior is anyone to call the `set_secret` function.
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.