redact-secret · Report
Personal access token
Personal access token, prefixed dckr_pat_.
Research record
2 events in the review history: 1 observed, 1 reviewed. Latest: observed on 2026-09-23 by automation, project maintainer. Project-maintained review is not independent validation. The family record at this release.
Format
What it looks like
Shape not recorded.
Format facts
Provider documented ·
provider-source· current · observed 2026-09-23AI Governance API bearerAuth credential table (Format column: dckr_pat_*, dckr_oat_*): Docker's own API reference (docs.docker.com AI Governance API spec, bearerAuth credential table) states the Personal Access Token format as dckr_pat_* and the Organization Access Token format as dckr_oat_*, establishing both prefixes (the * is a glob, not a grammar). Body lengths and alphabet are not provider-stated, except that Docker's Hub API spec (createOrgAccessTokenResponse.token) shows an example OAT with a 27-character alphanumeric body, on example strength only. The 27-character dckr_pat_ body, the 32-character dckr_oat_ width and the [A-Za-z0-9_-] alphabet remain tool-corroborated [Legacy contract 'docker-token' is shared by 2 families; this statement is not specific to one of them.]
- docs.docker.com/reference/api/ai-governance/api.yamlprovider-documentation · last read 2026-09-24 · latest outcome read · supports Docker's own API reference (docs.docker.com AI Governance API spec, bearerAuth credential table) states the Personal Access Token format as dckr_pat_* and the Organization Access Token format as dckr_oat_*, establishing both prefixes (the * is a glob, not a grammar). Body lengths and alphabet are not provider-stated, except that Docker's Hub API spec (createOrgAccessTokenResponse.token) shows an example OAT with a 27-character alphanumeric body, on example strength only. The 27-character dckr_pat_ body, the 32-character dckr_oat_ width and the [A-Za-z0-9_-] alphabet remain tool-corroborated
Unresolved ·
tool-corroboration· current · observed 2026-09-23Pinned scanner rules are consistent with the contract grammar (1 artifact: trufflehog 3.97.4). [Legacy contract 'docker-token' is shared by 2 families; this statement is not specific to one of them.]
- trufflesecurity/trufflehog @ v3.97.4: pkg/detectors/dockerhub/v2/dockerhub.goscanner-rule-source · last read 2026-09-23 · latest outcome read · supports trufflehog 3.97.4: dockerhub/v2/dockerhub
Unresolved ·
listed-references· current · observed 2026-09-23The legacy contract lists 1 reference without stating which property each supports. [Legacy contract 'docker-token' is shared by 2 families; this statement is not specific to one of them.]
- docs.docker.com/reference/api/hub/latest.yamlprovider-documentation · last read 2026-09-24 · latest outcome read · supports Listed as a reference by the legacy contract
Provider documented ·
dossier-research· current · observed 2026-09-23Legacy dossier research (verdict ready, tier T1) cited 3 sources; the dossier does not attribute sources to individual properties.
- docs.docker.com/reference/api/hub/latest.yamlprovider-documentation · last read 2026-09-24 · latest outcome read · supports Cited by the legacy dossier research for this family
- docs.docker.com/reference/api/ai-governance/api.yamlprovider-documentation · last read 2026-09-24 · latest outcome read · supports Cited by the legacy dossier research for this family
- redact-secret/redact-secret @ 8b6a5fde52ecb4dfce13f09c7a947062d21483c7: docs/audits/evidence/648/README.mdproject-research-note · last read 2026-09-23 · latest outcome read · supports Final research evidence recorded by the legacy dossier
Open questions
No open question is recorded for this revision.
Benchmark dossier notes
- Shape
- prefix
dckr_pat_then a 27-character body from[A-Za-z0-9_-]. 69 of 92 distinct non-placeholder public bodies were 27 characters; of those, 27 contained_and 19 contained-. - Basis
- T1 for the prefix (the API reference's
bearerAuthtable listsdckr_pat_*, a glob). Length and alphabet: TruffleHog 3.97.4, Nosey Parker, betterleaks, and Docker-owned rules indocker/mcp-gatewayanddocker/portcullis; the Docker-owned rules are narrower (no_) and contradicted by the public tally. The Hub spec's PAT examples are 15-character placeholders. - Issuance
- not attempted. An optional check of one or two fresh PATs is described in the #648 broad-discovery pass.
- Contract in core
- detector-families.md (row for both Docker families); evidence #648 record.
In this benchmark
- Fixtures
- 14
- Left readable
- 0
- Redacted too much
- 0
- False alarms
- 0
14 fixtures: 8 expect a redaction, 6 must stay quiet. See every row
| Evidence level | Fixtures | Left readable | Too much | False alarms |
|---|---|---|---|---|
| T1Provider-documented | 8 | 0 | 0 | 0 |
| T2Tool-corroborated | 5 | 0 | 0 | 0 |
| T3Project policy | 1 | 0 | 0 | 0 |
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.
| Scanner | Fixtures | Left readable | Too much | False alarms |
|---|---|---|---|---|
| flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engineNo rule maps to it | 14 | 8 | 0 | 0 |
| gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it | 14 | 8 | 0 | 0 |
| redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped | 14 | 0 | 0 | 0 |
| trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it | 14 | 0 | 0 | 0 |
Benchmark dossier questions
- Open caveat
- The dckr_pat_ prefix is T1; the 27-character body and its alphabet are tool-corroborated only (no Docker page states them).
Looks like it, but isn't
- Collisions
- shares the
docker-tokendetector and thedckr_namespace with the OAT family; the PAT width under the OAT prefix is a boundary case.
Scanner rules for this family
| Scanner | Rule | What the rule matches |
|---|---|---|
| trufflehog · rules 3.97.4 | dockerhub/v2 | dckr_pat_ + 27 or dckr_oat_ + 32 characters |
No rule maps to this family in flare-redact, gitleaks, openredaction.
Fixtures in this family
| Fixture | Kind and evidence | redact-secret |
|---|---|---|
docker-token-chat-handoffdocker · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
docker-token-ci-login-logdocker · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
docker-token-docker-login-stdindocker · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
docker-token-pat-plaindocker · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
docker-token-pat-unicode-crlfdocker · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
docker-token-shape-1-baredocker · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
docker-token-shape-1-quoteddocker · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
docker-token-shape-1-unicode-crlfdocker · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
docker-token-dash-identifier-embeddingdocker · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
docker-token-leading-identifier-embeddingdocker · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
docker-token-maskdocker · benign-lookalike | Must not flagT3 · Project policy | Quiet |
docker-token-pat-plain-twindocker · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
docker-token-pat-unicode-crlf-twindocker · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
docker-token-trailing-identifier-embeddingdocker · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
Sources
Documentation and code
- docs.docker.com/reference/api/ai-governance/api.yaml
- docs.docker.com/reference/api/hub/latest.yaml
Research log
- redact-secret/redact-secret#648Research issue
- redact-secret/redact-secret#370Research issue
- redact-secret/redact-secret#566Research issue
- redact-secret/redact-secret-benchmarks#128Research issue
- Final evidence, pinned to a commit/redact-secret/redact-secret/blob/8b6a5fde52ecb4dfce13f09c7a947062d21483c7/docs/audits/evidence/648/README.md