Skip to content
Benchmarks

redact-secret · Report

Personal access token

Personal access token, prefixed dckr_pat_.

  • Docker Hub
  • Detectors: docker-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-23

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

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

Provider format research from credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0.

What it looks like

Shape not recorded.

Format facts

  • Provider documented · provider-source · current · observed 2026-09-23

    AI 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-23

    Pinned 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.]

  • Unresolved · listed-references · current · observed 2026-09-23

    The 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.]

  • Provider documented · dossier-research · current · observed 2026-09-23

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

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
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 bearerAuth table lists dckr_pat_*, a glob). Length and alphabet: TruffleHog 3.97.4, Nosey Parker, betterleaks, and Docker-owned rules in docker/mcp-gateway and docker/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

Fixture rows on the current run. Counts are for redact-secret in published · redact-secret 0.1.0-beta.14 mode.
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

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented8000
T2Tool-corroborated5000
T3Project policy1000

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 it14800
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it14800
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped14000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it14000

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
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

Values the dossier records as resembling this credential without being one.
Collisions
shares the docker-token detector and the dckr_ namespace with the OAT family; the PAT width under the OAT prefix is a boundary case.

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
trufflehog · rules 3.97.4dockerhub/v2dckr_pat_ + 27 or dckr_oat_ + 32 characters

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

14 of 14 rows

Fixtures in this family

14 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 Personal access token
FixtureKind and evidenceredact-secret
docker-token-chat-handoffdocker · documented-format-literalMust redactT1 · Provider-documentedRedacted
docker-token-ci-login-logdocker · documented-format-literalMust redactT1 · Provider-documentedRedacted
docker-token-docker-login-stdindocker · documented-format-literalMust redactT1 · Provider-documentedRedacted
docker-token-pat-plaindocker · documented-format-literalMust redactT1 · Provider-documentedRedacted
docker-token-pat-unicode-crlfdocker · documented-format-literalMust redactT1 · Provider-documentedRedacted
docker-token-shape-1-baredocker · documented-format-literalMust redactT1 · Provider-documentedRedacted
docker-token-shape-1-quoteddocker · documented-format-literalMust redactT1 · Provider-documentedRedacted
docker-token-shape-1-unicode-crlfdocker · documented-format-literalMust redactT1 · Provider-documentedRedacted
docker-token-dash-identifier-embeddingdocker · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
docker-token-leading-identifier-embeddingdocker · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
docker-token-maskdocker · benign-lookalikeMust not flagT3 · Project policyQuiet
docker-token-pat-plain-twindocker · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
docker-token-pat-unicode-crlf-twindocker · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
docker-token-trailing-identifier-embeddingdocker · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet

Sources

Researched 2026-09-23.

Documentation and code

Research log

Other Docker Hub families