redact-secret · Report · Detector
Cohere API keys
Format evidence
Context-gated arrival family (#384, product redact-secret#868; research #782). No Cohere page or SDK code states a prefix, length or alphabet, and no source describes a shape difference between trial and production keys. The 40-alphanumeric shape is one pinned scanner rule: gitleaks 8.30.1 cohere-api-token, which needs a cohere or CO_API_KEY name before an assignment and calls the length an inference. TruffleHog 3.97.4 has no Cohere detector in the file tree checked. GitGuardian reports the detector as not prefixed. The value is recognised only beside a same-line cohere or CO_API_KEY name, a Cohere host or SDK constructor, so its positives score as project policy. A single blog says keys begin co-; it contradicts the two sources above and is not adopted, so no co- twin is authored (a co- key would still contain a valid 40-character run).
What the run recorded, by group
| Group | Fixtures | Leaked or false alarms | Near-twins | Outcomes | Other scanners, same cell |
|---|---|---|---|---|---|
| Must not flag · Tool-corroborated | 21 | False alarmsat most 15.5%0 of 21 controls flagged | 21 quiet · 0 flagged |
| |
| Must not flag · Project policy | 30 | False alarmsat most 11.4%0 of 30 controls flagged | 30 quiet · 0 flagged |
| |
| Project policy · Project policy | 27 | Secret spans left readableat most 12.5%0 of 27 spans | Near-twins told apartat least 83.9%20 of 20 pairs | 27 redacted · 0 too much · 0 partly exposed · 0 missed |
|
- Fixtures
- 78
- Left readable
- 0
- Redacted too much
- 0
- False alarms
- 0
Fixtures for this detector
| Fixture | Kind and evidence | redact-secret |
|---|---|---|
cohere-api-key-actions-env-literalcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-azure-pipelines-varscohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-compose-envcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-curl-headercohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-docker-run-envcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-dotenvcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-dotenv-altcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-exportcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-http-request-headercohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-id-named-env-alt-twincohere · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
cohere-api-key-id-named-json-twincohere · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
cohere-api-key-id-named-kwarg-twincohere · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
cohere-api-key-inline-env-commandcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-java-builder-tokencohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-json-configcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-k8s-env-valuecohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-key-shape-barecohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-key-shape-quotedcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-key-shape-unicode-crlfcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-langchain-kwargcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-litellm-proxy-debugcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-litellm-yamlcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-llamaindex-rerankcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-mcp-config-printcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-other-host-curl-twincohere · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
cohere-api-key-printenv-outputcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-proxy-logcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-python-ctorcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-toml-config-keycohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-tool-callcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-ts-ctorcohere · documented-format-literal | Project policyT3 · Project policy | Redacted |
cohere-api-key-actions-secret-referencecohere · templated-reference | Must not flagT3 · Project policy | Quiet |
cohere-api-key-angle-key-placeholdercohere · documentation-placeholder | Must not flagT3 · Project policy | Quiet |
cohere-api-key-bare-in-prose-near-misscohere · format-near-miss | Must not flagT2 · Tool-corroborated | Quiet |
cohere-api-key-bare-line-near-misscohere · format-near-miss | Must not flagT2 · Tool-corroborated | Quiet |
cohere-api-key-base64-text-encoded-valuecohere · benign-encoded-value | Must not flagT2 · Tool-corroborated | Quiet |
cohere-api-key-data-uri-encoded-valuecohere · benign-encoded-value | Must not flagT2 · Tool-corroborated | Quiet |
cohere-api-key-docs-ctor-placeholdercohere · documentation-placeholder | Must not flagT3 · Project policy | Quiet |
cohere-api-key-embed-response-public-idcohere · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
cohere-api-key-embedded-run-near-misscohere · format-near-miss | Must not flagT2 · Tool-corroborated | Quiet |
cohere-api-key-env-reference-referencecohere · templated-reference | Must not flagT3 · Project policy | Quiet |
cohere-api-key-finetune-listing-public-idcohere · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
cohere-api-key-id-named-compose-twincohere · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
cohere-api-key-id-named-env-twincohere · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
cohere-api-key-id-named-export-twincohere · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
cohere-api-key-id-named-tool-call-twincohere · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
cohere-api-key-key-guidance-prosecohere · prose-mention | Must not flagT3 · Project policy | Quiet |
cohere-api-key-key-shape-bare-twincohere · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
cohere-api-key-key-shape-quoted-twincohere · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
cohere-api-key-key-shape-unicode-crlf-twincohere · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |