Skip to content
Benchmarks

redact-secret · Report

Test secret key

Test-mode secret key, prefixed sk_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 sk_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. Test-mode keys still count as secrets under the test-depth rule in #316.

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

71 fixtures: 43 expect a redaction, 23 must stay quiet, 5 record project policy. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented50000
T3Project policy21000

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

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
openredaction · rules 1.1.5STRIPE_API_KEYsk_ + live or test + 24 or more characters

No rule maps to this family in trufflehog.

71 of 71 rows

Fixtures in this family

71 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 secret key
FixtureKind and evidenceredact-secret
stripe-env-repeated-key-label-order-swappedauthored-conflicting-field-label-semantics · repeated-key-label-with-public-and-secret-valuesMust redactT1 · Provider-documentedRedacted
stripe-keys-array-repeated-key-labelauthored-conflicting-field-label-semantics · repeated-key-label-with-public-and-secret-valuesMust redactT1 · Provider-documentedRedacted
stripe-nested-key-label-under-two-parentsauthored-conflicting-field-label-semantics · repeated-key-label-with-public-and-secret-valuesMust redactT1 · Provider-documentedRedacted
stripe-secret-beside-public-visibility-flagauthored-conflicting-field-label-semantics · provider-secret-value-under-public-or-ordinary-labelsMust redactT1 · Provider-documentedRedacted
stripe-secret-under-name-fieldauthored-conflicting-field-label-semantics · provider-secret-value-under-public-or-ordinary-labelsMust redactT1 · Provider-documentedRedacted
stripe-secret-under-nested-display-labelauthored-conflicting-field-label-semantics · provider-secret-value-under-public-or-ordinary-labelsMust redactT1 · Provider-documentedRedacted
stripe-secret-under-public-env-labelauthored-conflicting-field-label-semantics · provider-secret-value-under-public-or-ordinary-labelsMust redactT1 · Provider-documentedRedacted
stripe-secret-under-publishable-labelauthored-conflicting-field-label-semantics · provider-secret-value-under-public-or-ordinary-labelsMust redactT1 · Provider-documentedRedacted
publishable-key-under-matching-label-basebenign-control-and-near-neighbor-bases-authored · public-identifierMust not flagT1 · Provider-documentedQuiet
secret-after-personal-data-contact-line-basebenign-control-and-near-neighbor-bases-authored · partial-span-leakageMust redactT1 · Provider-documentedRedacted
secret-after-prefix-prose-basebenign-control-and-near-neighbor-bases-authored · markdown-and-comment-valueMust redactT1 · Provider-documentedRedacted
secret-beside-publishable-under-one-label-basebenign-control-and-near-neighbor-bases-authored · multiple-credentials-per-inputMust redactT1 · Provider-documentedRedacted
secret-literal-beside-kubernetes-reference-shape-basebenign-control-and-near-neighbor-bases-authored · structured-text-valueMust redactT1 · Provider-documentedRedacted
secret-literal-in-reference-position-basebenign-control-and-near-neighbor-bases-authored · environment-assignmentMust redactT1 · Provider-documentedRedacted
secret-literal-where-the-pattern-was-basebenign-control-and-near-neighbor-bases-authored · source-code-string-literalMust redactT1 · Provider-documentedRedacted
publishable-key-under-matching-label-in-english-prosebenign-control-and-near-neighbor-projections-generated · public-identifierMust not flagT1 · Provider-documentedQuiet
publishable-key-under-matching-label-in-korean-prosebenign-control-and-near-neighbor-projections-generated · public-identifierMust not flagT1 · Provider-documentedQuiet
publishable-key-under-matching-label-in-markdown-fencebenign-control-and-near-neighbor-projections-generated · public-identifierMust not flagT1 · Provider-documentedQuiet
secret-after-personal-data-contact-line-in-english-prosebenign-control-and-near-neighbor-projections-generated · partial-span-leakageMust redactT1 · Provider-documentedRedacted
secret-after-personal-data-contact-line-in-korean-prosebenign-control-and-near-neighbor-projections-generated · partial-span-leakageMust redactT1 · Provider-documentedRedacted
secret-after-personal-data-contact-line-in-markdown-fencebenign-control-and-near-neighbor-projections-generated · partial-span-leakageMust redactT1 · Provider-documentedRedacted
secret-after-prefix-prose-in-english-prosebenign-control-and-near-neighbor-projections-generated · markdown-and-comment-valueMust redactT1 · Provider-documentedRedacted
secret-after-prefix-prose-in-korean-prosebenign-control-and-near-neighbor-projections-generated · markdown-and-comment-valueMust redactT1 · Provider-documentedRedacted
secret-after-prefix-prose-in-markdown-fencebenign-control-and-near-neighbor-projections-generated · markdown-and-comment-valueMust redactT1 · Provider-documentedRedacted
secret-beside-publishable-under-one-label-in-english-prosebenign-control-and-near-neighbor-projections-generated · multiple-credentials-per-inputMust redactT1 · Provider-documentedRedacted
secret-beside-publishable-under-one-label-in-korean-prosebenign-control-and-near-neighbor-projections-generated · multiple-credentials-per-inputMust redactT1 · Provider-documentedRedacted
secret-beside-publishable-under-one-label-in-markdown-fencebenign-control-and-near-neighbor-projections-generated · multiple-credentials-per-inputMust redactT1 · Provider-documentedRedacted
secret-literal-beside-kubernetes-reference-shape-in-english-prosebenign-control-and-near-neighbor-projections-generated · structured-text-valueMust redactT1 · Provider-documentedRedacted
secret-literal-beside-kubernetes-reference-shape-in-korean-prosebenign-control-and-near-neighbor-projections-generated · structured-text-valueMust redactT1 · Provider-documentedRedacted
secret-literal-beside-kubernetes-reference-shape-in-markdown-fencebenign-control-and-near-neighbor-projections-generated · structured-text-valueMust redactT1 · Provider-documentedRedacted
secret-literal-in-reference-position-in-english-prosebenign-control-and-near-neighbor-projections-generated · environment-assignmentMust redactT1 · Provider-documentedRedacted
secret-literal-in-reference-position-in-korean-prosebenign-control-and-near-neighbor-projections-generated · environment-assignmentMust redactT1 · Provider-documentedRedacted
secret-literal-in-reference-position-in-markdown-fencebenign-control-and-near-neighbor-projections-generated · environment-assignmentMust redactT1 · Provider-documentedRedacted
secret-literal-where-the-pattern-was-in-english-prosebenign-control-and-near-neighbor-projections-generated · source-code-string-literalMust redactT1 · Provider-documentedRedacted
secret-literal-where-the-pattern-was-in-korean-prosebenign-control-and-near-neighbor-projections-generated · source-code-string-literalMust redactT1 · Provider-documentedRedacted
secret-literal-where-the-pattern-was-in-markdown-fencebenign-control-and-near-neighbor-projections-generated · source-code-string-literalMust redactT1 · Provider-documentedRedacted
env-assignment-sandbox-commentenvironment-and-test-values-authored · sandbox-mode-secret-key-in-environment-assignmentMust redactT1 · Provider-documentedRedacted
json-config-sandbox-modeenvironment-and-test-values-authored · sandbox-mode-secret-key-in-environment-assignmentMust redactT1 · Provider-documentedRedacted
stripe-rotated-key-noteenvironment-and-test-values-authored · stripe-key-replaced-within-rotation-grace-periodProject policyT3 · Project policyRedacted
stripe-shaped-body-of-example-marker-basepolicy-ambiguous-assignment-bases-authored · example-marker-inside-provider-shaped-value-not-published-by-providerProject policyT3 · Project policyRedacted
stripe-shaped-body-of-example-marker-in-english-prosepolicy-ambiguous-assignment-projections-generated · example-marker-inside-provider-shaped-value-not-published-by-providerProject policyT3 · Project policyRedacted
stripe-shaped-body-of-example-marker-in-korean-prosepolicy-ambiguous-assignment-projections-generated · example-marker-inside-provider-shaped-value-not-published-by-providerProject policyT3 · Project policyRedacted
stripe-shaped-body-of-example-marker-in-markdown-fencepolicy-ambiguous-assignment-projections-generated · example-marker-inside-provider-shaped-value-not-published-by-providerProject policyT3 · Project policyRedacted
stripe-token-curl-basic-userstripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-env-with-publishablestripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-shape-1-barestripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-shape-1-quotedstripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-shape-1-unicode-crlfstripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-stripe-config-liststripe · documented-format-literalMust redactT1 · Provider-documentedRedacted
stripe-token-stripe-node-debugstripe · documented-format-literalMust redactT1 · Provider-documentedRedacted

Sources

Researched 2026-09-20.

Documentation and code

Other Stripe families