Skip to content
Benchmarks

redact-secret · Report

Trusted-publishing token (cio_tp_)

cio_tp_ + exactly 32 [A-Za-z0-9] (31 + one check character, 39 in all); the check character corroborates only and never rejects (policy).

  • crates.io
  • Detectors: crates-io-trusted-publishing-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-trusted-publishing-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). Shares the crates-io-token detector (finding type crates_io_trusted_publishing_token). No scanner covers cio_tp_. Since the 4fb7882 re-pin (product PR #1039) it is an arrival family scored by that finding type (scanners/families.mjs arrivalFindingTypes), so the row maps to its own id.

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_tp_[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_tp_ + exactly 32 [A-Za-z0-9] (31 + one check character, 39 in all).
Basis
T1 under R1 from the server code. The check character corroborates only and never rejects (policy; ruling Q1 open).
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
29
Left readable
0
Redacted too much
0
False alarms
0

29 fixtures: 13 expect a redaction, 16 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented20000
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 it291210
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it29400
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped29000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it291300

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
none; the API-token body excludes _, so a cio_tp_ token never reads as an API token.

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

29 of 29 rows

Fixtures in this family

29 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 Trusted-publishing token (cio_tp_)
FixtureKind and evidenceredact-secret
crates-io-trusted-publishing-token-actions-logcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-bare-prosecrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-bearer-headercrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-chat-pastecrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-check-mismatch-envcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-check-mismatch-logcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-dotenvcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-exportcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-github-env-exportcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-json-api-keycrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-json-tokencrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-sdk-kwargcrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-x-api-key-headercrates-io · documented-format-literalMust redactT1 · Provider-documentedRedacted
crates-io-trusted-publishing-token-body-31-twincrates-io · wrong-lengthMust not flagT1 · Provider-documented · twinQuiet
crates-io-trusted-publishing-token-body-33-twincrates-io · wrong-lengthMust not flagT1 · Provider-documented · twinQuiet
crates-io-trusted-publishing-token-ellipsis-placeholdercrates-io · documentation-placeholderMust not flagT3 · Project policyQuiet
crates-io-trusted-publishing-token-env-reference-referencecrates-io · templated-referenceMust not flagT3 · Project policyQuiet
crates-io-trusted-publishing-token-hyphen-in-body-twincrates-io · wrong-alphabetMust not flagT1 · Provider-documented · twinQuiet
crates-io-trusted-publishing-token-hyphen-separator-twincrates-io · prefix-near-missMust not flagT1 · Provider-documented · twinQuiet
crates-io-trusted-publishing-token-leading-glue-twincrates-io · boundary-violationMust not flagT3 · Project policy · twinQuiet
crates-io-trusted-publishing-token-prefix-at-eol-near-misscrates-io · format-near-missMust not flagT1 · Provider-documentedQuiet
crates-io-trusted-publishing-token-setting-name-public-idcrates-io · public-identifierMust not flagT3 · Project policyQuiet
crates-io-trusted-publishing-token-step-output-referencecrates-io · templated-referenceMust not flagT3 · Project policyQuiet
crates-io-trusted-publishing-token-token-guidance-prosecrates-io · prose-mentionMust not flagT3 · Project policyQuiet
crates-io-trusted-publishing-token-trailing-hyphen-twincrates-io · boundary-violationMust not flagT3 · Project policy · twinQuiet
crates-io-trusted-publishing-token-truncated-near-misscrates-io · format-near-missMust not flagT1 · Provider-documentedQuiet
crates-io-trusted-publishing-token-uppercase-prefix-twincrates-io · prefix-near-missMust not flagT1 · Provider-documented · twinQuiet
crates-io-trusted-publishing-token-workflow-name-public-idcrates-io · public-identifierMust not flagT3 · Project policyQuiet
crates-io-trusted-publishing-token-x-run-placeholdercrates-io · documentation-placeholderMust not flagT3 · Project policyQuiet

Sources

Researched 2026-09-29.

Documentation and code

  • github.com/rust-lang/crates.io/blob/f937ab051067e793ed647c7b587a5419db85949b/crates/crates_io_trustpub/src/access_token.rs#L21-L102
  • github.com/redact-secret/redact-secret/blob/4f220ea000b58fa2e0e431ad88dea4eccb393fb0/docs/audits/evidence/1014/crates-io.md

Research log

Other crates.io families