Skip to content
Benchmarks

redact-secret · Report

API token (apify_api_)

apify_api_ + at least 20 alphanumerics, open-ended (the provider's own leak linter); apify_ui_ Console tokens are a separate, unshaped credential.

  • Apify
  • Detectors: apify-api-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-28
Registry detector apify-api-token since redact-secret#916 (registry pinned at 1127bf9); graduated from a Beta.11 arrival family (#436), contract in benchmarks/lib/beta8/436e.ts. T1 on the docs placeholder (R4) and the provider-authored linter (R2); trufflehog 3.97.4 has an exact-36 rule.

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
^apify_api_[A-Za-z0-9]{20,}$

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 apify_api_, then alphanumerics, at least 20, no separators or checksum. No provider source states an exact length; the only observed width is 36 (trufflehog rule, T2). The 128 upper bound in the handoff is project policy for a bounded run, not a provider fact.
Basis
prefix T1 from the docs placeholders (ruling R4: a placeholder establishes the prefix only). Alphabet [A-Za-z0-9] and the floor of 20 are T1 from the provider's own leak linter in apify/awesome-skills, checked for provider authorship on 2026-09-28 (R2). trufflehog's rule (exact 36, a wider class) is T2 and was not used to narrow the grammar.
Issuance
not attempted. An optional structure-only check (one personal, one organization, one scoped token) could show whether 36 is uniform.
Contract in core
detector-families.md; handoff 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
38
Left readable
0
Redacted too much
0
False alarms
0

38 fixtures: 16 expect a redaction, 22 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented16000
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 it381420
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it38700
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped38000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it38201

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
Length is open-ended by construction (floor of 20); an issuance check could narrow it but nothing requires one. The upper cap of 128 is project policy.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
apify_ui_ Console session tokens are a documented sibling with a T1 prefix (R6) but no length or alphabet source. Placeholders such as a prefix followed by a word break the alphanumeric run below 20 characters.

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
trufflehog · rules 3.97.4apifyapify_api_ + 36 characters

No rule maps to this family in flare-redact, gitleaks, openredaction.

38 of 38 rows

Fixtures in this family

38 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 API token (apify_api_)
FixtureKind and evidenceredact-secret
apify-api-token-bare-proseapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-bearer-headerapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-chat-pasteapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-curl-bearerapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-dotenvapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-exportapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-js-clientapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-json-api-keyapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-json-tokenapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-key-shape-bareapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-key-shape-quotedapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-key-shape-unicode-crlfapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-mcp-envapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-python-positionalapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-sdk-kwargapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-trailing-hyphen-twinapify · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
apify-api-token-x-api-key-headerapify · documented-format-literalMust redactT1 · Provider-documentedRedacted
apify-api-token-actions-secret-referenceapify · templated-referenceMust not flagT3 · Project policyQuiet
apify-api-token-body-19-twinapify · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
apify-api-token-console-token-name-public-idapify · public-identifierMust not flagT2 · Tool-corroboratedQuiet
apify-api-token-ellipsis-placeholderapify · documentation-placeholderMust not flagT3 · Project policyQuiet
apify-api-token-env-reference-referenceapify · templated-referenceMust not flagT3 · Project policyQuiet
apify-api-token-hyphen-prefix-twinapify · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
apify-api-token-identifiers-public-idapify · public-identifierMust not flagT2 · Tool-corroboratedQuiet
apify-api-token-label-proseapify · benign-lookalikeMust not flagT3 · Project policyQuiet
apify-api-token-leading-glue-twinapify · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
apify-api-token-maskapify · benign-lookalikeMust not flagT3 · Project policyQuiet
apify-api-token-prefix-at-eol-near-missapify · format-near-missMust not flagT2 · Tool-corroboratedQuiet
apify-api-token-prefix-onlyapify · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
apify-api-token-referenceapify · benign-lookalikeMust not flagT3 · Project policyQuiet
apify-api-token-short-bodyapify · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
apify-api-token-short-body-near-missapify · format-near-missMust not flagT2 · Tool-corroboratedQuiet
apify-api-token-test-names-placeholderapify · documentation-placeholderMust not flagT3 · Project policyQuiet
apify-api-token-token-guidance-proseapify · prose-mentionMust not flagT3 · Project policyQuiet
apify-api-token-trailing-underscore-twinapify · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
apify-api-token-underscore-in-body-twinapify · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
apify-api-token-uppercase-prefix-twinapify · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
apify-api-token-your-token-placeholderapify · documentation-placeholderMust not flagT3 · Project policyQuiet

Sources

Researched 2026-09-28.

Documentation and code

  • docs.apify.com/platform/integrations/api
  • github.com/apify/awesome-skills/blob/main/scripts/lint_references.py
  • github.com/apify/awesome-skills/blob/4ba9177da8147607eaebea8022ea6f14b212a8cd/scripts/lint_references.py

Research log