Skip to content
Benchmarks

redact-secret · Report

Scannable API token

cfut_ prefixed scannable API token format.

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

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

2 events in the review history: 1 observed, 1 reviewed. Latest: observed on 2026-09-21 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
^cfut_[A-Za-z0-9]{40}[a-f0-9]{8}$

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 cfut_, a 40-character alphanumeric body, then an 8-character lowercase-hex checksum, 53 characters in all. The provider says a checksum follows the body, so a bare cfut_ plus 40 characters is malformed under this grammar. No checksum algorithm is computed or claimed.
Basis
T1 for the prefix, the body length and the existence of a checksum: the token-formats page says every prefixed token has a distinct prefix followed by 40 characters and a checksum, and the create-token page documents cfut_ as the scannable format. Width and alphabet of the checksum come from trufflehog's Cloudflare v2 detector, one tool; gitleaks has no cfut_ rule. #566 re-fetched the token-formats page on 2026-09-21 (last updated 2026-04-20) and found no published width or alphabet.
Issuance
not attempted.
Contract in core
detector-families.md.

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

24 fixtures: 8 expect a redaction, 16 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented8000
T2Tool-corroborated12000
T3Project policy4000

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 it24700
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it24600
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped24000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it24000

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
The 8-character lowercase-hex checksum width and alphabet come from one tool; Cloudflare only says a checksum follows the 40-character body.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
cfat_ (account-owned token) and cfk_ (global key) share the same format cell and are separate credentials, see below. The legacy unprefixed formats are recorded as an evidence-based exclusion.

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.4cloudflareapitoken/v2cfut_ or cfat_ + 40 characters + 8 hex

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

24 of 24 rows

Fixtures in this family

24 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 Scannable API token
FixtureKind and evidenceredact-secret
cloudflare-token-shape-1-barecloudflare · documented-format-literalMust redactT1 · Provider-documentedRedacted
cloudflare-token-shape-1-quotedcloudflare · documented-format-literalMust redactT1 · Provider-documentedRedacted
cloudflare-token-shape-1-unicode-crlfcloudflare · documented-format-literalMust redactT1 · Provider-documentedRedacted
cloudflare-token-terraform-providercloudflare · documented-format-literalMust redactT1 · Provider-documentedRedacted
cloudflare-token-user-plaincloudflare · documented-format-literalMust redactT1 · Provider-documentedRedacted
cloudflare-token-user-unicode-crlfcloudflare · documented-format-literalMust redactT1 · Provider-documentedRedacted
cloudflare-token-verify-bearer-headercloudflare · documented-format-literalMust redactT1 · Provider-documentedRedacted
cloudflare-token-wrangler-actioncloudflare · documented-format-literalMust redactT1 · Provider-documentedRedacted
cloudflare-token-account-and-zone-ids-public-idcloudflare · public-identifierMust not flagT2 · Tool-corroboratedQuiet
cloudflare-token-dash-identifier-embeddingcloudflare · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
cloudflare-token-label-prosecloudflare · benign-lookalikeMust not flagT3 · Project policyQuiet
cloudflare-token-leading-identifier-embeddingcloudflare · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
cloudflare-token-maskcloudflare · benign-lookalikeMust not flagT3 · Project policyQuiet
cloudflare-token-prefix-onlycloudflare · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
cloudflare-token-referencecloudflare · benign-lookalikeMust not flagT3 · Project policyQuiet
cloudflare-token-short-bodycloudflare · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
cloudflare-token-token-scope-note-prosecloudflare · prose-mentionMust not flagT3 · Project policyQuiet
cloudflare-token-trailing-identifier-embeddingcloudflare · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
cloudflare-token-user-length-plain-twincloudflare · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
cloudflare-token-user-length-unicode-crlf-twincloudflare · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
cloudflare-token-user-plain-twincloudflare · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
cloudflare-token-user-prefix-plain-twincloudflare · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
cloudflare-token-user-prefix-unicode-crlf-twincloudflare · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
cloudflare-token-user-unicode-crlf-twincloudflare · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet

Sources

Researched 2026-09-21.

Documentation and code

Research log