Skip to content
Benchmarks

redact-secret · Report

Service token

Standard Vault service token, prefixed hvs.

  • HashiCorp Vault
  • Detectors: vault-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-20

Research record

From credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0. It describes the research on the format, not what any scanner or the product does, and not a support status.
  • Review stateDraft, not reviewed
  • Format revision1 · current
  • ResearchResearched
  • Researched2026-09-20

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

Provider format research from credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0.

What it looks like

Shape not recorded.

Format facts

  • Provider documented · provider-source · current · observed 2026-09-17

    hvs./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-17

    Pinned 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.]

  • Provider documented · dossier-research · current · observed 2026-09-20

    Legacy dossier research (verdict ready, tier T1) cited 1 source; the dossier does not attribute sources to individual properties.

Open questions

No open question is recorded for this revision.

Benchmark dossier notes

From the provider dossier, as written. The evidence level above says how well the format is backed; a fact the dossier does not record is not shown.
Shape
Standard Vault service token, prefixed hvs.
Basis
T1 per the shipped vault-token contract in the benchmarks assessment: the tokens concept page documents exactly the hvs., hvb. and hvr. 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

Fixture rows on the current run. Counts are for redact-secret in published · redact-secret 0.1.0-beta.14 mode.
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

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented2000
T2Tool-corroborated6000
T3Project policy7000

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.

Counts per scanner on this family's fixtures
ScannerFixturesLeft readableToo muchFalse alarms
flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engine1 rule targets it15002
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it15300
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped15000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it15300

Scanner rules for this family

Mapped by hand (reviewed 2026-09-30) from each scanner's pinned rule file, never from what a scanner found on the fixtures.
Peer scanner rules that target this family
ScannerRuleWhat the rule matches
flare-redact · rules 1.6.1vault_tokenhvs., hvb. or hvr. + 20-200 characters
gitleaks · rules 8.30.1vault-service-tokenhvs. + 90-120 characters or legacy s. + 24
trufflehog · rules 3.97.4hashicorpvault/hashicorpvaulttokenhvs. token, with a HashiCorp Cloud URL

No rule maps to this family in openredaction.

15 of 15 rows

Fixtures in this family

15 rows, redact-secret's outcome on each. Rows that need a look come first (0), then the rest in corpus order. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in Service token
FixtureKind and evidenceredact-secret
vault-token-service-plain-twinhashicorp-vault · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
vault-token-service-unicode-crlf-twinhashicorp-vault · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
vault-token-shape-1-barehashicorp-vault · documented-format-literalProject policyT3 · Project policyRedacted
vault-token-shape-1-quotedhashicorp-vault · documented-format-literalProject policyT3 · Project policyRedacted
vault-token-shape-1-unicode-crlfhashicorp-vault · documented-format-literalProject policyT3 · Project policyRedacted
vault-token-env-vault-tokenhashicorp-vault · documented-format-literalProject policyT3 · Project policyRedacted
vault-token-label-prosehashicorp-vault · benign-lookalikeMust not flagT3 · Project policyQuiet
vault-token-maskhashicorp-vault · benign-lookalikeMust not flagT3 · Project policyQuiet
vault-token-service-boundary-plain-twinhashicorp-vault · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
vault-token-service-boundary-unicode-crlf-twinhashicorp-vault · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
vault-token-service-plainhashicorp-vault · documented-format-literalMust redactT1 · Provider-documentedRedacted
vault-token-service-prefix-plain-twinhashicorp-vault · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
vault-token-service-prefix-unicode-crlf-twinhashicorp-vault · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
vault-token-service-unicode-crlfhashicorp-vault · documented-format-literalMust redactT1 · Provider-documentedRedacted
vault-token-vault-loginhashicorp-vault · documented-format-literalProject policyT3 · Project policyRedacted

Sources

Researched 2026-09-20.

Documentation and code

Other HashiCorp Vault families