Skip to content
Benchmarks

redact-secret · Report

Test restricted key

Test-mode restricted-permission key, prefixed rk_test_.

  • Stripe
  • Detectors: stripe-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

    sk_/rk_/pk_ key types: sk_live_/sk_test_/rk_live_/rk_test_ secret and restricted keys, pk_ publishable keys documented as safe to expose, sk_org_ organization keys; 32-character body is tool-corroborated [Legacy contract 'stripe-token' is shared by 4 families; this statement is not specific to one of them.]

    • docs.stripe.com/keysprovider-documentation · last read 2026-10-04 · latest outcome read · supports sk_live_/sk_test_/rk_live_/rk_test_ secret and restricted keys, pk_ publishable keys documented as safe to expose, sk_org_ organization keys; 32-character body is tool-corroborated
  • 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 'stripe-token' is shared by 4 families; this statement is not specific to one of them.]

  • Provider documented · field-organization-prefix · current · observed 2026-09-29

    organization-prefix: sk_org_ (organization API key; no rk_org_ sibling) (Prefix only. Not issuance-evidenced: no organization key has been issued or observed.) [Legacy contract 'stripe-token' is shared by 4 families; this statement is not specific to one of them.]

  • Unresolved · field-organization-mode-segment · current · observed 2026-09-30

    organization-mode-segment: optional live_ or test_ directly after sk_org_ (sk_org_live_, sk_org_test_), claimed by core as the same stripe finding as sk_org_ (Two independent applications, one evidence class; no Stripe page, SDK or peer scanner rule states a mode segment. Not issuance-evidenced. The fixtures for these forms are policy/T3 rows on the core support-policy floor and assert no provider grammar.) [Legacy contract 'stripe-token' is shared by 4 families; this statement is not specific to one of them.]

  • Unresolved · field-organization-body-floor · current · observed 2026-09-30

    organization-body-floor: at least 20 [A-Za-z0-9] after sk_org_ or after the mode segment; fewer than 20, or a _ or - inside the run, is not claimed (A project support-policy floor, not a provider statement: no source gives the body length or alphabet. Not issuance-evidenced. No fixture asserts a body at or above the floor as provider-valid; positives score policy/T3 and the shorter-than-20 and punctuated-body controls score as policy-floor controls (T3), never as provider near-misses.) [Legacy contract 'stripe-token' is shared by 4 families; this statement is not specific to one of them.]

  • Provider documented · field-rk-org-and-account-keys · current · observed 2026-09-29

    rk-org-and-account-keys: rk_org_ does not exist per Stripe; sk_live_/sk_test_ are the account-scoped sibling families and are not organization keys (Keeps the three sk_org_ forms apart from stripe:secret-key-live and stripe:secret-key-test.) [Legacy contract 'stripe-token' is shared by 4 families; this statement is not specific to one of them.]

    • docs.stripe.com/keys/organization-api-keysprovider-documentation · last read 2026-09-29 · latest outcome read · supports rk-org-and-account-keys: rk_org_ does not exist per Stripe; sk_live_/sk_test_ are the account-scoped sibling families and are not organization keys
  • 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.

    • docs.stripe.com/keysprovider-documentation · last read 2026-10-04 · 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

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
prefix rk_test_.
Basis
T1 on the provider-documented prefix (docs.stripe.com/keys), per the shipped stripe-token contract in the benchmarks assessment (re-checked 2026-09-20, benchmarks#33, closed by PR #34). The page states nothing about body length or alphabet; the 32-character body is tool-corroborated only and stays undecided here.

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
4
Left readable
0
Redacted too much
0
False alarms
0

4 fixtures: 4 expect a redaction. All at the T1 level, provider-documented. See every row

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 it4000
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it4000
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped4000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it4400

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.1stripe_keysk_ or rk_ + live or test + 16-64 characters
gitleaks · rules 8.30.1stripe-access-tokensk_ or rk_ + test, live or prod + 10-99 characters

No rule maps to this family in openredaction, trufflehog.

4 of 4 rows

Fixtures in this family

4 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 Test restricted key
FixtureKind and evidenceredact-secret
stripe-token-shape-3-barestripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-shape-3-quotedstripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-shape-3-unicode-crlfstripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-stripe-cli-configstripe · documented-format-literalMust redactT1 · Provider-documentedRedacted

Sources

Researched 2026-09-20.

Documentation and code

Other Stripe families