Skip to content
Benchmarks

redact-secret · Report

Secret API key

sk-ant- prefixed secret API key.

  • Anthropic
  • Detectors: anthropic-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-23

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

Format revisions

  • Revision 1 anthropic:secret-api-key@1current · draft, not reviewed · superseded by @2 · the family's current revision
  • Revision 2 anthropic:secret-api-key@2proposed · draft, not reviewed · supersedes @1

4 events in the review history: 3 observed, 1 reviewed. Latest: observed on 2026-10-04 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
^sk-ant-api03-[A-Za-z0-9_-]{93}AA$

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

Format facts

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

    Claude API key prefix table: the provider identifies sk-ant-api03- as the Claude API key prefix; the 93-character body, alphabet and AA suffix remain tool-corroborated

  • Tool corroborated · tool-corroboration · current · observed 2026-09-23

    Pinned scanner rules are consistent with the contract grammar (2 artifacts: gitleaks 8.30.1; trufflehog 3.97.4).

  • Provider documented · field-prefix · current · observed 2026-09-23

    prefix: sk-ant-api03- (Claude API key)

  • Provider documented · field-sibling-prefixes · current · observed 2026-09-23

    sibling-prefixes: sk-ant-api01- (Compliance Access Key) and sk-ant-admin01- (Admin API key) are different key classes (Real secrets of other classes: used only as scoped prefix twins, never as benign controls.)

  • Tool corroborated · field-body · current · observed 2026-09-23

    body: 93 characters of [A-Za-z0-9_-] then a literal AA suffix (No length, alphabet or suffix twin is authored on this tool-only field.)

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

    Legacy dossier research (verdict ready, tier T1) cited 2 sources; 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
prefix sk-ant-api03- (Claude API key, created under Claude Console > Settings > API keys). Body: 93 characters from letters, digits, underscore and hyphen, then the two characters AA, about 108 characters in all. The body, alphabet and tail are tool-corroborated, not provider-stated.
Basis
T1 for the prefix (provider table quoted in the #642 evidence). Body grammar: scanner rules (gitleaks, trufflehog) per the #642 record and the #775 discovery pass; gitleaks and its fork betterleaks share a lineage, so that pair counts as one corroboration.
Issuance
not attempted. A key can be created in the Console; no sample was minted for this research.
Contract in core
detector-families.md; final evidence in the #642 record linked in the frontmatter.

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

30 fixtures: 9 expect a redaction, 18 must stay quiet, 3 record project policy. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented11000
T2Tool-corroborated9000
T3Project policy6000
T0Pending review4000

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 it30003
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it30301
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped30000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it30400

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
the api01 and admin01 siblings below differ by one segment. The bare sk- vendor-prefix path of a generic token rule is designed not to claim the sk-ant- namespace.

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.1anthropic_keysk-ant- + 24-160 characters
gitleaks · rules 8.30.1anthropic-api-keysk-ant-api03- + 93 chars + AA
trufflehog · rules 3.97.4anthropicsk-ant-api03- or sk-ant-admin01- + 93 characters + AA

No rule maps to this family in openredaction.

30 of 30 rows

Fixtures in this family

30 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 Secret API key
FixtureKind and evidenceredact-secret
anthropic-token-api03-no-final-hyphen-prefix-twinanthropic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
anthropic-token-api03-plain-twinanthropic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
anthropic-token-api03-unicode-crlf-twinanthropic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
anthropic-token-api03-vendor-stem-prefix-twinanthropic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
anthropic-token-python-clientanthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-shape-1-bareanthropic · documented-format-literalProject policyT3 · Project policyRedacted
anthropic-token-shape-1-quotedanthropic · documented-format-literalProject policyT3 · Project policyRedacted
anthropic-token-shape-1-unicode-crlfanthropic · documented-format-literalProject policyT3 · Project policyRedacted
anthropic-token-api03-admin-prefix-plain-twinanthropic · unsettled-evidence-inputPending reviewT0 · Pending · twinUnscored
anthropic-token-api03-admin-prefix-unicode-crlf-twinanthropic · unsettled-evidence-inputPending reviewT0 · Pending · twinUnscored
anthropic-token-api03-compliance-prefix-plain-twinanthropic · unsettled-evidence-inputPending reviewT0 · Pending · twinUnscored
anthropic-token-api03-compliance-prefix-unicode-crlf-twinanthropic · unsettled-evidence-inputPending reviewT0 · Pending · twinUnscored
anthropic-token-api03-curl-x-api-keyanthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-api03-dotenvanthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-api03-plainanthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-api03-python-sdkanthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-api03-underscore-prefix-twinanthropic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
anthropic-token-api03-unicode-crlfanthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-env-api-keyanthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-env-template-placeholderanthropic · documentation-placeholderMust not flagT1 · Provider-documentedQuiet
anthropic-token-key-classes-note-proseanthropic · prose-mentionMust not flagT3 · Project policyQuiet
anthropic-token-label-proseanthropic · benign-lookalikeMust not flagT1 · Provider-documentedQuiet
anthropic-token-maskanthropic · benign-lookalikeMust not flagT3 · Project policyQuiet
anthropic-token-mcp-server-envanthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-prefix-onlyanthropic · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
anthropic-token-referenceanthropic · benign-lookalikeMust not flagT3 · Project policyQuiet
anthropic-token-response-identifiers-public-idanthropic · public-identifierMust not flagT2 · Tool-corroboratedQuiet
anthropic-token-short-bodyanthropic · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
anthropic-token-x-api-key-headeranthropic · documented-format-literalMust redactT1 · Provider-documentedRedacted
anthropic-token-x-api-key-header-stem-twinanthropic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet

Sources

Researched 2026-09-23.

Documentation and code

Research log

Other Anthropic families