LS-VAULT-001: Vault Service Token¶
| Severity | HIGH |
| Blast radius | Secrets manager compromise (cascading) |
| Rotate at | https://developer.hashicorp.com/vault/docs/commands/token/revoke |
If this leaks¶
Allows reading every secret the token's policies grant access to, often a master key to an organization's other credentials.
What to do¶
- Rotate or revoke the credential at https://developer.hashicorp.com/vault/docs/commands/token/revoke.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
\bhvs\.[A-Za-z0-9_-]{90,}
Suppress¶
On one line: # leakscan:ignore LS-VAULT-001. For the whole project:
disable_rules: [LS-VAULT-001]