redact-secret · Report · Detector
Clojars deploy tokens
Format evidence
- Provider documentation clojars/clojars-web src/clojars/db.clj (442eb89, last changed 2026-09-16): generate-deploy-token = (str "CLOJARS_" (hexadecimalize (generate-secure-token 30))), hexadecimalize formats %02X then lowercases, and is-deploy-token? is #"^CLOJARS_[0-9a-f]{60}$"; re-checked 2026-09-29 · observed 2026-09-29 · CLOJARS_ + exactly 60 lowercase hex, 68 in all; no checksum
- gitleaks 8.30.1
- Reference 1
- Reference 2
- Reference 3
- Reference 4
- Reference 5
- Reference 6
- Reference 7
- Reference 8
Arrival evidence (#528, product redact-secret#1025; #1014 handoff clojars.md, READY). A deploy token is the password for deploying artifacts to Clojars (CLOJARS_PASSWORD, ~/.lein/credentials, Maven settings.xml), optionally scoped to a group or artifact; a leak is a supply-chain risk. T1 for every fact under R1: the generator and the server validator agree, so the contract is exactly the validator. The prefix is case-sensitive. Excluded: legacy account passwords (no shape), CLOJARS_USERNAME/CLOJARS_PASSWORD/CLOJARS_ENVIRONMENT names and uppercase-hex bodies (the validator rejects them). gitleaks 8.30.1 clojars-api-token is case-insensitive over [a-z0-9] with no boundary, so it overreaches on the lowercase-prefix, uppercase-hex, non-hex-letter, leading-glue and 61-byte twins; trufflehog 3.97.4 has no rule. Graduated to a registry detector at the 4fb7882 re-pin (redact-secret PR #1039).
What the run recorded, by group
| Group | Fixtures | Leaked or false alarms | Near-twins | Outcomes | Other scanners, same cell |
|---|---|---|---|---|---|
| Must not flag · Tool-corroborated | 15 | False alarmsat most 20.4%0 of 15 controls flagged | 15 quiet · 0 flagged |
| |
| Must not flag · Project policy | 7 | False alarmsat most 35.4%0 of 7 controls flagged | 7 quiet · 0 flagged |
| |
| Must redact · Provider-documented | 15 | Secret spans left readableat most 20.4%0 of 15 spans | Near-twins told apartat least 67.6%8 of 8 pairs | 15 redacted · 0 too much · 0 partly exposed · 0 missed |
|
- Fixtures
- 37
- Left readable
- 0
- Redacted too much
- 0
- False alarms
- 0
Fixtures for this detector
| Fixture | Kind and evidence | redact-secret |
|---|---|---|
clojars-deploy-token-actions-envclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-bare-proseclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-bearer-headerclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-body-61-twinclojars · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
clojars-deploy-token-chat-pasteclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-dotenvclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-exportclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-json-api-keyclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-json-tokenclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-key-shape-bareclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-key-shape-quotedclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-key-shape-unicode-crlfclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-leading-glue-twinclojars · boundary-violation | Must not flagT2 · Tool-corroborated · twin | Quiet |
clojars-deploy-token-lein-credentialsclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-lowercase-prefix-twinclojars · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
clojars-deploy-token-maven-settingsclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-non-hex-letter-twinclojars · wrong-alphabet | Must not flagT2 · Tool-corroborated · twin | Quiet |
clojars-deploy-token-sdk-kwargclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-trailing-hyphen-twinclojars · boundary-violation | Must not flagT2 · Tool-corroborated · twin | Quiet |
clojars-deploy-token-trailing-underscore-twinclojars · boundary-violation | Must not flagT2 · Tool-corroborated · twin | Quiet |
clojars-deploy-token-uppercase-hex-byte-twinclojars · wrong-alphabet | Must not flagT2 · Tool-corroborated · twin | Quiet |
clojars-deploy-token-uppercase-hex-value-near-missclojars · format-near-miss | Must not flagT2 · Tool-corroborated | Quiet |
clojars-deploy-token-x-api-key-headerclojars · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
clojars-deploy-token-actions-secret-referenceclojars · templated-reference | Must not flagT3 · Project policy | Quiet |
clojars-deploy-token-bare-60-hex-encoded-valueclojars · benign-encoded-value | Must not flagT2 · Tool-corroborated | Quiet |
clojars-deploy-token-body-59-twinclojars · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
clojars-deploy-token-ellipsis-placeholderclojars · documentation-placeholder | Must not flagT3 · Project policy | Quiet |
clojars-deploy-token-env-name-list-public-idclojars · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
clojars-deploy-token-env-reference-referenceclojars · templated-reference | Must not flagT3 · Project policy | Quiet |
clojars-deploy-token-label-proseclojars · benign-lookalike | Must not flagT3 · Project policy | Quiet |
clojars-deploy-token-maskclojars · benign-lookalike | Must not flagT3 · Project policy | Quiet |
clojars-deploy-token-prefix-onlyclojars · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
clojars-deploy-token-referenceclojars · benign-lookalike | Must not flagT3 · Project policy | Quiet |
clojars-deploy-token-short-bodyclojars · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
clojars-deploy-token-token-guidance-proseclojars · prose-mention | Must not flagT3 · Project policy | Quiet |
clojars-deploy-token-truncated-near-missclojars · format-near-miss | Must not flagT2 · Tool-corroborated | Quiet |
clojars-deploy-token-username-env-public-idclojars · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |