Skip to content
Benchmarks

redact-secret · Report

API key (unprefixed)

40 alphanumeric characters recognised only beside a same-line cohere or CO_API_KEY name, host or SDK constructor; trial and production keys share one shape.

  • Cohere
  • Detectors: cohere-api-key
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT2 · Tool-corroborated
  • Dossier researched2026-09-27
Registry detector cohere-api-key since redact-secret#868 (registry pinned at cfe2aec); graduated from a Beta.10 arrival family (#384, research #782), contract in benchmarks/lib/beta8/384e.ts. T2, context-gated, no bare-value claim.

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

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

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

Format facts

  • Unresolved · tool-corroboration · current · observed 2026-09-26

    Pinned scanner rules are consistent with the contract grammar (1 artifact: gitleaks 8.30.1).

  • Unresolved · field-shape · current · observed 2026-09-26

    shape: 40 alphanumeric characters, no prefix (One scanner rule; the length is the rule author's inference, not provider-stated.)

  • Unresolved · field-context · current · observed 2026-09-26

    context: a same-line cohere or CO_API_KEY name before the value

  • Provider documented · field-trial-vs-production · current · observed 2026-09-26

    trial-vs-production: trial and production keys are one credential family; the difference is entitlement, not shape (The candidate id premise of a distinct production shape is unsupported.)

    • docs.cohere.com/docs/rate-limitsprovider-documentation · last read 2026-09-27 · latest outcome read · supports trial-vs-production: trial and production keys are one credential family; the difference is entitlement, not shape
  • Provider documented · field-transport · current · observed 2026-09-26

    transport: CO_API_KEY (documented), COHERE_API_KEY (accepted), Authorization: Bearer

    • docs.cohere.com/reference/check-api-keyprovider-documentation · last read 2026-09-26 · latest outcome read · supports transport: CO_API_KEY (documented), COHERE_API_KEY (accepted), Authorization: Bearer
    • github.com/cohere-ai/cohere-pythonprovider-sdk-source · last read 2026-09-26 · latest outcome read · supports transport: CO_API_KEY (documented), COHERE_API_KEY (accepted), Authorization: Bearer
  • Unresolved · field-co-prefix · current · observed 2026-09-26

    co-prefix: a co- prefix (Not adopted and not asserted either way.)

  • Provider documented · field-public-ids · current · observed 2026-09-26

    public-ids: organization_id (org_...) and owner_id (user_...) from the check-api-key response are public identifiers (Illustrative examples only; backs the public-id controls.)

    • docs.cohere.com/reference/check-api-keyprovider-documentation · last read 2026-09-26 · latest outcome read · supports public-ids: organization_id (org_...) and owner_id (user_...) from the check-api-key response are public identifiers
  • Unresolved · listed-references · current · observed 2026-09-26

    The legacy contract lists 7 references without stating which property each supports.

  • Tool corroborated · dossier-research · current · observed 2026-09-27

    Legacy dossier research (verdict ready, tier T2) cited 2 sources; the dossier does not attribute sources to individual properties.

  • Tool corroborated · taxonomy-sources · current · observed 2026-09-27

    The legacy taxonomy lists 2 sources for this family. The taxonomy records no date; the dossier researchedAt is used as the observed-at date.

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
no documented prefix; 40 alphanumeric characters [A-Za-z0-9], recognised only beside a same-line cohere name, CO_API_KEY, the API host or an SDK constructor. Never a bare 40-character run. The length is not provider-stated.
Basis
T2 at best; #868 records that no provider has T1 here. One gitleaks rule (cohere-api-token, keyword then [a-zA-Z0-9]{40}) is the only length source. GitGuardian says "Prefixed: False" with no length. The SDK does no validation. GitHub secret scanning lists a Cohere pattern without publishing it. A vendor blog claims a co- prefix; it contradicts both scanners, has no example and no second source, and was not adopted.
Issuance
not attempted. Dashboard API keys page, key names cannot contain spaces, shown once, revocable in the web UI or CLI. The #782 checklist compares a trial and a production key.
Contract in core
detector-families.md, section Keyword-gated provider keys (#868). #932 recognised the Java Cohere.builder().token(...) form; a masked_-led LiteLLM log value stays unreported by policy.

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

78 fixtures: 51 must stay quiet, 27 record project policy. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T2Tool-corroborated21000
T3Project policy57000

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 it782520
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it78304
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped78000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it782700

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
No provider source states any shape; 40 alphanumeric is one gitleaks rule's inference, so contextual only. Needs one trial and one production key measured (checklist in #782).

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
SHA-1-length hex and random ids, org_ and user_ ids from the check-api-key response, and unrelated co- strings.

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
gitleaks · rules 8.30.1cohere-api-tokencohere or CO_API_KEY keyword + 40 alphanumerics

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

78 of 78 rows

Fixtures in this family

78 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 key (unprefixed)
FixtureKind and evidenceredact-secret
cohere-api-key-actions-env-literalcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-azure-pipelines-varscohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-compose-envcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-curl-headercohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-docker-run-envcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-dotenvcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-dotenv-altcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-exportcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-http-request-headercohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-id-named-env-alt-twincohere · missing-context-markerMust not flagT3 · Project policy · twinQuiet
cohere-api-key-id-named-json-twincohere · missing-context-markerMust not flagT3 · Project policy · twinQuiet
cohere-api-key-id-named-kwarg-twincohere · missing-context-markerMust not flagT3 · Project policy · twinQuiet
cohere-api-key-inline-env-commandcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-java-builder-tokencohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-json-configcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-k8s-env-valuecohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-key-shape-barecohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-key-shape-quotedcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-key-shape-unicode-crlfcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-langchain-kwargcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-litellm-proxy-debugcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-litellm-yamlcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-llamaindex-rerankcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-mcp-config-printcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-other-host-curl-twincohere · missing-context-markerMust not flagT3 · Project policy · twinQuiet
cohere-api-key-printenv-outputcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-proxy-logcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-python-ctorcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-toml-config-keycohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-tool-callcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-ts-ctorcohere · documented-format-literalProject policyT3 · Project policyRedacted
cohere-api-key-actions-secret-referencecohere · templated-referenceMust not flagT3 · Project policyQuiet
cohere-api-key-angle-key-placeholdercohere · documentation-placeholderMust not flagT3 · Project policyQuiet
cohere-api-key-bare-in-prose-near-misscohere · format-near-missMust not flagT2 · Tool-corroboratedQuiet
cohere-api-key-bare-line-near-misscohere · format-near-missMust not flagT2 · Tool-corroboratedQuiet
cohere-api-key-base64-text-encoded-valuecohere · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
cohere-api-key-data-uri-encoded-valuecohere · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
cohere-api-key-docs-ctor-placeholdercohere · documentation-placeholderMust not flagT3 · Project policyQuiet
cohere-api-key-embed-response-public-idcohere · public-identifierMust not flagT2 · Tool-corroboratedQuiet
cohere-api-key-embedded-run-near-misscohere · format-near-missMust not flagT2 · Tool-corroboratedQuiet
cohere-api-key-env-reference-referencecohere · templated-referenceMust not flagT3 · Project policyQuiet
cohere-api-key-finetune-listing-public-idcohere · public-identifierMust not flagT2 · Tool-corroboratedQuiet
cohere-api-key-id-named-compose-twincohere · missing-context-markerMust not flagT3 · Project policy · twinQuiet
cohere-api-key-id-named-env-twincohere · missing-context-markerMust not flagT3 · Project policy · twinQuiet
cohere-api-key-id-named-export-twincohere · missing-context-markerMust not flagT3 · Project policy · twinQuiet
cohere-api-key-id-named-tool-call-twincohere · missing-context-markerMust not flagT3 · Project policy · twinQuiet
cohere-api-key-key-guidance-prosecohere · prose-mentionMust not flagT3 · Project policyQuiet
cohere-api-key-key-shape-bare-twincohere · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
cohere-api-key-key-shape-quoted-twincohere · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
cohere-api-key-key-shape-unicode-crlf-twincohere · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet

Sources

Researched 2026-09-27.

Documentation and code

  • docs.cohere.com/docs/rate-limits
  • github.com/gitleaks/gitleaks/blob/v8.30.1/config/gitleaks.toml
  • github.com/gitleaks/gitleaks/blob/83d9cd684c87d95d656c1458ef04895a7f1cbd8e/config/gitleaks.toml