Skip to content
Benchmarks

redact-secret · Report

Legacy personal access token

Legacy-format PAT, prefixed glpat- with a 20-character body.

  • GitLab
  • Detectors: gitlab-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-20

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

4 events in the review history: 3 observed, 1 reviewed. Latest: observed on 2026-10-03 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
^glpat-[A-Za-z0-9_-]{20}$

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

Format facts

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

    token prefix table: glpat- prefix; 20-character legacy body is tool-corroborated, routable tokens are not covered

    • docs.gitlab.com/security/tokens/provider-documentation · last read 2026-10-03 · latest outcome read · supports glpat- prefix; 20-character legacy body is tool-corroborated, routable tokens are not covered
  • Tool corroborated · tool-corroboration · current · observed 2026-09-17

    Pinned scanner rules are consistent with the contract grammar (2 artifacts: gitleaks 8.30.1; trufflehog 3.97.4).

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

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

  • Provider documented · taxonomy-sources · current · observed 2026-09-20

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

    • docs.gitlab.com/security/tokens/provider-documentation · last read 2026-10-03 · latest outcome read · supports Listed as a source for this family in the legacy taxonomy

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.
Basis
T1 for the glpat- prefix (token overview, observed 2026-09-20). The prefix also covers impersonation, project and group access tokens. Inventoried per family in #518, whose decision records the administrator-customized prefix as unsupported (T3 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
56
Left readable
0
Redacted too much
0
False alarms
0

56 fixtures: 11 expect a redaction, 14 must stay quiet, 31 record project policy. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented11000
T2Tool-corroborated11000
T3Project policy34000

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 engine1 rule targets it56010
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it56000
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped56000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it563100

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
Only the glpat- prefix is provider-documented (T1); the 20-character body is tool-corroborated, and an administrator-configured personal access token prefix is unsupported.

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
flare-redact · rules 1.6.1gitlab_tokenglpat- + 20 characters
gitleaks · rules 8.30.1gitlab-patglpat- + 20 characters
trufflehog · rules 3.97.4gitlab/v2glpat- + 20-22 characters

No rule maps to this family in openredaction.

56 of 56 rows

Fixtures in this family

56 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 Legacy personal access token
FixtureKind and evidenceredact-secret
gitlab-legacy-pat-base-acontext-and-large-input-bases-authored · environment-assignmentProject policyT3 · Project policyRedacted
gitlab-legacy-pat-base-bcontext-and-large-input-bases-authored · environment-assignmentProject policyT3 · Project policyRedacted
gitlab-legacy-pat-bare-valuecontext-carrier-projections-generated · value-at-input-edgesProject policyT3 · Project policyRedacted
gitlab-legacy-pat-bearer-headercontext-carrier-projections-generated · partial-span-leakageProject policyT3 · Project policyRedacted
gitlab-legacy-pat-bom-prefixcontext-carrier-projections-generated · multibyte-text-offsetsProject policyT3 · Project policyRedacted
gitlab-legacy-pat-crlf-linescontext-carrier-projections-generated · crlf-line-endingsProject policyT3 · Project policyRedacted
gitlab-legacy-pat-emoji-prefixcontext-carrier-projections-generated · multibyte-text-offsetsProject policyT3 · Project policyRedacted
gitlab-legacy-pat-json-fieldcontext-carrier-projections-generated · structured-text-valueProject policyT3 · Project policyRedacted
gitlab-legacy-pat-korean-text-prefixcontext-carrier-projections-generated · multibyte-text-offsetsProject policyT3 · Project policyRedacted
gitlab-legacy-pat-log-linecontext-carrier-projections-generated · environment-assignmentProject policyT3 · Project policyRedacted
gitlab-legacy-pat-markdown-code-spancontext-carrier-projections-generated · markdown-and-comment-valueProject policyT3 · Project policyRedacted
gitlab-legacy-pat-nbsp-before-valuecontext-carrier-projections-generated · multibyte-text-offsetsProject policyT3 · Project policyRedacted
gitlab-legacy-pat-shell-export-quotedcontext-carrier-projections-generated · quoted-value-extentProject policyT3 · Project policyRedacted
gitlab-legacy-pat-url-querycontext-carrier-projections-generated · partial-span-leakageProject policyT3 · Project policyRedacted
gitlab-legacy-pat-xml-elementcontext-carrier-projections-generated · structured-text-valueProject policyT3 · Project policyRedacted
gitlab-legacy-pat-yaml-scalarcontext-carrier-projections-generated · structured-text-valueProject policyT3 · Project policyRedacted
gitlab-legacy-pat-head-of-1miblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-head-of-256kiblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-head-of-64kiblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-middle-of-1miblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-middle-of-256kiblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-middle-of-64kiblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-tail-of-1miblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-tail-of-256kiblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-tail-of-64kiblarge-and-repeated-input-projections-generated · credential-after-long-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-three-occurrences-in-1miblarge-and-repeated-input-projections-generated · multiple-credentials-per-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-three-occurrences-in-256kiblarge-and-repeated-input-projections-generated · multiple-credentials-per-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-three-occurrences-in-64kiblarge-and-repeated-input-projections-generated · multiple-credentials-per-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-two-distinct-keys-in-1miblarge-and-repeated-input-projections-generated · multiple-credentials-per-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-two-distinct-keys-in-256kiblarge-and-repeated-input-projections-generated · multiple-credentials-per-inputProject policyT3 · Project policyRedacted
gitlab-legacy-pat-two-distinct-keys-in-64kiblarge-and-repeated-input-projections-generated · multiple-credentials-per-inputProject policyT3 · Project policyRedacted
gitlab-1gitlab · documented-format-literalMust redactT1 · Provider-documentedRedacted
gitlab-1-twingitlab · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
gitlab-2gitlab · documented-format-literalMust redactT1 · Provider-documentedRedacted
gitlab-2-twingitlab · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
gitlab-3gitlab · documented-format-literalMust redactT1 · Provider-documentedRedacted
gitlab-3-twingitlab · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
gitlab-token-ci-predefined-ids-public-idgitlab · public-identifierMust not flagT2 · Tool-corroboratedQuiet
gitlab-token-expiry-note-prosegitlab · prose-mentionMust not flagT3 · Project policyQuiet
gitlab-token-glab-auth-logingitlab · documented-format-literalMust redactT1 · Provider-documentedRedacted
gitlab-token-maskgitlab · benign-lookalikeMust not flagT3 · Project policyQuiet
gitlab-token-pat-plaingitlab · documented-format-literalMust redactT1 · Provider-documentedRedacted
gitlab-token-pat-plain-twingitlab · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
gitlab-token-pat-prefix-plain-twingitlab · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
gitlab-token-pat-prefix-unicode-crlf-twingitlab · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
gitlab-token-pat-unicode-crlfgitlab · documented-format-literalMust redactT1 · Provider-documentedRedacted
gitlab-token-pat-unicode-crlf-twingitlab · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
gitlab-token-prefix-onlygitlab · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
gitlab-token-private-token-headergitlab · documented-format-literalMust redactT1 · Provider-documentedRedacted
gitlab-token-private-token-querygitlab · documented-format-literalMust redactT1 · Provider-documentedRedacted

Sources

Researched 2026-09-20.

Documentation and code

Research log

Other GitLab families