Skip to content
Benchmarks

redact-secret · Report

API token (cio)

cio + exactly 32 [A-Za-z0-9] (35 in all); the exact body and both identifier boundaries carry the precision of the three-letter prefix.

  • crates.io
  • Detectors: crates-io-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-29
Beta.12 arrival family crates-io-token (#528, product redact-secret#1031), contract in benchmarks/lib/beta8/528f.ts from the #1014 handoff crates-io.md. T1 (provider server code, R1). Neither pinned scanner has a crates.io rule. 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-29

4 events in the review history: 3 observed, 1 reviewed. Latest: observed on 2026-10-03 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
^cio[A-Za-z0-9]{32}$

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
cio + exactly 32 [A-Za-z0-9] (35 in all).
Basis
T1 under R1 from the server code; unprefixed tokens are no longer accepted.
Issuance
not attempted; the grammar is T1 from provider sources, so no key is needed.
Contract in core
detector-families.md (row on main; the Beta.12 detector, redact-secret#1031, merged in redact-secret#1039 and is unreleased).

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

37 fixtures: 16 expect a redaction, 21 must stay quiet. See every row

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

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

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
cio is a trigram: the exact body and both identifier boundaries carry the precision; a standalone random 35-byte value starting with cio is the accepted false positive.

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

37 of 37 rows

Fixtures in this family

37 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 (cio)
FixtureKind and evidenceredact-secret
crates-io-token-actions-envcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-bare-prosecrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-bearer-headercrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-cargo-logincrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-cargo-publish-tokencrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-chat-pastecrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-credentials-tomlcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-dotenvcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-exportcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-json-api-keycrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-json-tokencrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-key-shape-barecrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-key-shape-quotedcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-key-shape-unicode-crlfcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-sdk-kwargcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-x-api-key-headercrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-token-actions-secret-referencecrates-io · templated-referenceMust not flagT3 · Project policyQuiet
crates-io-token-angle-brackets-placeholdercrates-io · documentation-placeholderMust not flagT3 · Project policyQuiet
crates-io-token-body-31-twincrates-io · wrong-lengthMust not flagT1 · Provider-documented · twinQuiet
crates-io-token-body-33-twincrates-io · wrong-lengthMust not flagT1 · Provider-documented · twinQuiet
crates-io-token-cio-identifiers-public-idcrates-io · public-identifierMust not flagT3 · Project policyQuiet
crates-io-token-cio-inside-long-run-encoded-valuecrates-io · benign-encoded-valueMust not flagT3 · Project policyQuiet
crates-io-token-cio-words-prosecrates-io · prose-mentionMust not flagT3 · Project policyQuiet
crates-io-token-ellipsis-placeholdercrates-io · documentation-placeholderMust not flagT3 · Project policyQuiet
crates-io-token-env-reference-referencecrates-io · templated-referenceMust not flagT3 · Project policyQuiet
crates-io-token-hyphen-in-body-twincrates-io · wrong-alphabetMust not flagT1 · Provider-documented · twinQuiet
crates-io-token-label-prosecrates-io · benign-lookalikeMust not flagT3 · Project policyQuiet
crates-io-token-leading-glue-twincrates-io · boundary-violationMust not flagT3 · Project policy · twinQuiet
crates-io-token-leading-underscore-twincrates-io · boundary-violationMust not flagT3 · Project policy · twinQuiet
crates-io-token-maskcrates-io · benign-lookalikeMust not flagT3 · Project policyQuiet
crates-io-token-prefix-onlycrates-io · benign-lookalikeMust not flagT1 · Provider-documentedQuiet
crates-io-token-referencecrates-io · benign-lookalikeMust not flagT3 · Project policyQuiet
crates-io-token-short-bodycrates-io · benign-lookalikeMust not flagT1 · Provider-documentedQuiet
crates-io-token-trailing-underscore-twincrates-io · boundary-violationMust not flagT3 · Project policy · twinQuiet
crates-io-token-truncated-near-misscrates-io · format-near-missMust not flagT1 · Provider-documentedQuiet
crates-io-token-underscore-in-body-twincrates-io · wrong-alphabetMust not flagT1 · Provider-documented · twinQuiet
crates-io-token-uppercase-prefix-twincrates-io · prefix-near-missMust not flagT1 · Provider-documented · twinQuiet

Sources

Researched 2026-09-29.

Documentation and code

  • github.com/rust-lang/crates.io/blob/7b2475e26337856ab054844c9078bb23c11b2f19/crates/crates_io_database/src/utils/token.rs#L10-L91
  • github.com/redact-secret/redact-secret/blob/4f220ea000b58fa2e0e431ad88dea4eccb393fb0/docs/audits/evidence/1014/crates-io.md

Research log

Other crates.io families