Skip to content
Benchmarks

redact-secret · Report

Inference API key (csk-)

csk- or csk_ + exactly 48 body bytes (52 in all): the length is the provider validator (R1) and the prefixes a dated staff statement (R3); the [A-Za-z0-9_-] alphabet is project policy under R10. Management API keys are a separate credential of unknown shape.

  • Cerebras
  • Detectors: cerebras-api-key
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-28
Beta.12 arrival family cerebras-api-key (#464, product redact-secret#975), contract in benchmarks/lib/beta8/464e.ts from the #860 handoff cerebras.md. T1 on length and prefixes; the alphabet is policy (R10). Neither pinned scanner has a Cerebras rule; unpinned tool rules use [a-z0-9]. The leading boundary keeps Pinecone pcsk_ out. Since the 4fb7882 re-pin the product detector is in the pinned registry, so the row maps to it.

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-28

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-09-28 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

Descriptive pattern
^csk[-_][A-Za-z0-9_-]{48}$

Parts are shown as recorded. Evidence classes belong to the facts below; no class is assigned to a part.

Format facts

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 csk- (current) or csk_ (the 2025-10 window, still accepted), then exactly 48 characters (52 in total). The body alphabet [A-Za-z0-9_-] is project policy under ruling R10, not a provider fact.
Basis
length T1 under R1 (the provider VS Code extension validator rejects any key not starting csk_ or csk- or not 52 long; introduced 2025-08-29, unchanged since) and both prefixes T1 under R3 (staff statements on 2025-10-23 and 2025-10-24; provider docs state "starts with csk-"). No provider source states the alphabet; tool rules say [a-z0-9] (tool-only, not adopted, R8).
Issuance
not attempted; R10 lets project policy fill the alphabet as long as the fill is at least as wide as any provider-stated class.
Contract in core
detector-families.md (no row until the Beta.12 detector, redact-secret#975, is merged).

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

46 fixtures: 24 expect a redaction, 22 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented24000
T2Tool-corroborated13000
T3Project policy9000

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 engineNo rule maps to it462220
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it46900
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped46000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it462400

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
the alphabet is policy (R10), so a tool that follows the [a-z0-9] rule lags on any uppercase, _ or - body; a future length change would be a false negative.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
the leading boundary excludes Pinecone pcsk_ / pcsk- (the byte before csk is p); Pinecone keeps pcsk_ with a 69- or 70-byte body, so no width overlaps.

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.

No peer rule maps to this family

None of the reviewed peer scanners has a rule that can match a credential of this family.

None mapped

46 of 46 rows

Fixtures in this family

46 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 Inference API key (csk-)
FixtureKind and evidenceredact-secret
cerebras-api-key-bare-prosecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-bare-prose-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-bearer-headercerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-bearer-header-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-chat-pastecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-chat-paste-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-dotenvcerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-dotenv-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-exportcerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-export-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-json-api-keycerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-json-api-key-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-json-tokencerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-json-token-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-key-shape-barecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-key-shape-quotedcerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-key-shape-unicode-crlfcerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-openai-compat-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-pinecone-neighbour-dotenvcerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-python-sdkcerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-sdk-kwargcerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-sdk-kwarg-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-x-api-key-headercerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-x-api-key-header-underscorecerebras · documented-format-literalMust redactT1 · Provider-documentedRedacted
cerebras-api-key-actions-secret-referencecerebras · templated-referenceMust not flagT3 · Project policyQuiet
cerebras-api-key-body-47-twincerebras · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
cerebras-api-key-body-49-twincerebras · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
cerebras-api-key-dot-separator-twincerebras · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
cerebras-api-key-ellipsis-placeholdercerebras · documentation-placeholderMust not flagT3 · Project policyQuiet
cerebras-api-key-env-reference-referencecerebras · templated-referenceMust not flagT3 · Project policyQuiet
cerebras-api-key-key-guidance-prosecerebras · prose-mentionMust not flagT3 · Project policyQuiet
cerebras-api-key-label-prosecerebras · benign-lookalikeMust not flagT3 · Project policyQuiet
cerebras-api-key-leading-glue-twincerebras · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
cerebras-api-key-leading-underscore-twincerebras · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
cerebras-api-key-maskcerebras · benign-lookalikeMust not flagT3 · Project policyQuiet
cerebras-api-key-pinecone-hyphen-glue-twincerebras · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
cerebras-api-key-pinecone-underscore-glue-twincerebras · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
cerebras-api-key-prefix-at-eol-near-misscerebras · format-near-missMust not flagT2 · Tool-corroboratedQuiet
cerebras-api-key-prefix-onlycerebras · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
cerebras-api-key-referencecerebras · benign-lookalikeMust not flagT3 · Project policyQuiet
cerebras-api-key-short-bodycerebras · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
cerebras-api-key-snake-case-name-public-idcerebras · public-identifierMust not flagT2 · Tool-corroboratedQuiet
cerebras-api-key-truncated-near-misscerebras · format-near-missMust not flagT2 · Tool-corroboratedQuiet
cerebras-api-key-uppercase-prefix-twincerebras · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
cerebras-api-key-x-run-placeholdercerebras · documentation-placeholderMust not flagT3 · Project policyQuiet
cerebras-api-key-your-key-here-placeholdercerebras · documentation-placeholderMust not flagT3 · Project policyQuiet

Sources

Researched 2026-09-28.

Documentation and code

  • github.com/Cerebras/vscode-cerebras-chat/blob/e03602fa96f3ddfc8122ea2655bfa39424a5d157/src/provider.ts#L113
  • github.com/redact-secret/redact-secret/blob/8b6a5fde52ecb4dfce13f09c7a947062d21483c7/docs/audits/evidence/860/cerebras.md
  • github.com/redact-secret/redact-secret/blob/8b6a5fde52ecb4dfce13f09c7a947062d21483c7/docs/audits/evidence/860/issuance-research/cerebras.md

Research log