redact-secret · Report
Service token
Standard Vault service token, prefixed hvs.
Research record
2 events in the review history: 1 observed, 1 reviewed. Latest: observed on 2026-09-20 by automation, project maintainer. Project-maintained review is not independent validation. The family record at this release.
Format
What it looks like
Shape not recorded.
Format facts
Provider documented ·
provider-source· current · observed 2026-09-17hvs./hvb./hvr. prefixes, 24+ random characters: prefixes and minimum length; the provider states the structure is opaque, so the 90–120-character rule the pinned tools use is corroboration, not contract [Legacy contract 'vault-token' is shared by 3 families; this statement is not specific to one of them.]
- developer.hashicorp.com/vault/docs/concepts/tokensprovider-documentation · last read 2026-09-20 · latest outcome read · supports prefixes and minimum length; the provider states the structure is opaque, so the 90–120-character rule the pinned tools use is corroboration, not contract
Tool corroborated ·
tool-corroboration· current · observed 2026-09-17Pinned scanner rules are consistent with the contract grammar (2 artifacts: gitleaks 8.30.1; trufflehog 3.97.4). [Legacy contract 'vault-token' is shared by 3 families; this statement is not specific to one of them.]
- gitleaks/gitleaks @ v8.30.1: config/gitleaks.tomlscanner-rule-source · last read 2026-10-04 · latest outcome read · supports gitleaks 8.30.1: gitleaks.toml
- trufflesecurity/trufflehog @ v3.97.4: pkg/detectors/hashicorpvault/hashicorpvaulttoken/hashicorpvaulttoken.goscanner-rule-source · last read 2026-09-17 · latest outcome read · supports trufflehog 3.97.4: hashicorpvault/hashicorpvaulttoken/hashicorpvaulttoken
Provider documented ·
dossier-research· current · observed 2026-09-20Legacy dossier research (verdict ready, tier T1) cited 1 source; the dossier does not attribute sources to individual properties.
- developer.hashicorp.com/vault/docs/concepts/tokensprovider-documentation · last read 2026-09-20 · latest outcome read · supports Cited by the legacy dossier research for this family
Open questions
No open question is recorded for this revision.
Benchmark dossier notes
- Shape
- Standard Vault service token, prefixed hvs.
- Basis
- T1 per the shipped
vault-tokencontract in the benchmarks assessment: the tokens concept page documents exactly thehvs.,hvb.andhvr.prefixes and a minimum of 24 random characters, and states the structure is opaque, so the 90 to 120 character rule the pinned tools use is corroboration, not contract. Re-checked 2026-09-20 in benchmarks#46 (PR #55). - Contract in core
- detector-families.md.
In this benchmark
- Fixtures
- 15
- Left readable
- 0
- Redacted too much
- 0
- False alarms
- 0
15 fixtures: 2 expect a redaction, 8 must stay quiet, 5 record project policy. See every row
| Evidence level | Fixtures | Left readable | Too much | False alarms |
|---|---|---|---|---|
| T1Provider-documented | 2 | 0 | 0 | 0 |
| T2Tool-corroborated | 6 | 0 | 0 | 0 |
| T3Project policy | 7 | 0 | 0 | 0 |
Every scanner on the same fixtures
In run order. Counts are what each scanner recorded on this family's fixtures, whichever rules it has; a scanner with no rule for the family has nothing to report on it.
| Scanner | Fixtures | Left readable | Too much | False alarms |
|---|---|---|---|---|
| flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engine1 rule targets it | 15 | 0 | 0 | 2 |
| gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it | 15 | 3 | 0 | 0 |
| redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped | 15 | 0 | 0 | 0 |
| trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it | 15 | 3 | 0 | 0 |
Scanner rules for this family
| Scanner | Rule | What the rule matches |
|---|---|---|
| flare-redact · rules 1.6.1 | vault_token | hvs., hvb. or hvr. + 20-200 characters |
| gitleaks · rules 8.30.1 | vault-service-token | hvs. + 90-120 characters or legacy s. + 24 |
| trufflehog · rules 3.97.4 | hashicorpvault/hashicorpvaulttoken | hvs. token, with a HashiCorp Cloud URL |
No rule maps to this family in openredaction.
Fixtures in this family
| Fixture | Kind and evidence | redact-secret |
|---|---|---|
vault-token-service-plain-twinhashicorp-vault · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
vault-token-service-unicode-crlf-twinhashicorp-vault · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
vault-token-shape-1-barehashicorp-vault · documented-format-literal | Project policyT3 · Project policy | Redacted |
vault-token-shape-1-quotedhashicorp-vault · documented-format-literal | Project policyT3 · Project policy | Redacted |
vault-token-shape-1-unicode-crlfhashicorp-vault · documented-format-literal | Project policyT3 · Project policy | Redacted |
vault-token-env-vault-tokenhashicorp-vault · documented-format-literal | Project policyT3 · Project policy | Redacted |
vault-token-label-prosehashicorp-vault · benign-lookalike | Must not flagT3 · Project policy | Quiet |
vault-token-maskhashicorp-vault · benign-lookalike | Must not flagT3 · Project policy | Quiet |
vault-token-service-boundary-plain-twinhashicorp-vault · boundary-violation | Must not flagT2 · Tool-corroborated · twin | Quiet |
vault-token-service-boundary-unicode-crlf-twinhashicorp-vault · boundary-violation | Must not flagT2 · Tool-corroborated · twin | Quiet |
vault-token-service-plainhashicorp-vault · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
vault-token-service-prefix-plain-twinhashicorp-vault · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
vault-token-service-prefix-unicode-crlf-twinhashicorp-vault · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
vault-token-service-unicode-crlfhashicorp-vault · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
vault-token-vault-loginhashicorp-vault · documented-format-literal | Project policyT3 · Project policy | Redacted |
Sources
Documentation and code
- developer.hashicorp.com/vault/docs/concepts/tokens
Research log
- redact-secret/redact-secret-benchmarks#46Research issue