Skip to content
Benchmarks

redact-secret · Report

GitHub App user-to-server token

GitHub App user-to-server token, prefixed ghu_.

  • GitHub
  • Detectors: github-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

Shape not recorded.

Format facts

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
prefix and role from the token-formats page; body from GitHub's 2021-04-05 token-format post; contracted per family in #517 (T1; body tool-corroborated).

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
13
Left readable
0
Redacted too much
0
False alarms
0

13 fixtures: 8 expect a redaction, 5 must stay quiet. See every row

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

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

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
Only the prefix and token role are provider-documented; the 36-character body follows GitHub's 2021-04-05 token-format post (36-byte body, CRC32 in the last six characters), and core does not verify the checksum.

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.1github_tokenghp_, gho_, ghu_, ghs_, ghr_ + 36 or github_pat_ + 82 characters
gitleaks · rules 8.30.1github-app-tokenghu_ or ghs_ + 36 alphanumerics
openredaction · rules 1.1.5GITHUB_TOKENghp_, gho_, ghu_, ghs_ or ghr_ + 36 or more characters
trufflehog · rules 3.97.4github/v2ghp_, gho_, ghu_, ghs_, ghr_ or github_pat_ + 36-255 characters
13 of 13 rows

Fixtures in this family

13 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 GitHub App user-to-server token
FixtureKind and evidenceredact-secret
ghu-1github · documented-format-literalMust redactT1 · Provider-documentedRedacted
ghu-1-twingithub · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
ghu-2github · documented-format-literalMust redactT1 · Provider-documentedRedacted
ghu-2-twingithub · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
ghu-3github · documented-format-literalMust redactT1 · Provider-documentedRedacted
ghu-3-twingithub · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
github-token-ghu-plaingithub · documented-format-literalMust redactT1 · Provider-documentedRedacted
github-token-ghu-plain-twingithub · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
github-token-ghu-unicode-crlfgithub · documented-format-literalMust redactT1 · Provider-documentedRedacted
github-token-ghu-unicode-crlf-twingithub · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
github-token-shape-3-baregithub · documented-format-literalMust redactT1 · Provider-documentedRedacted
github-token-shape-3-quotedgithub · documented-format-literalMust redactT1 · Provider-documentedRedacted
github-token-shape-3-unicode-crlfgithub · documented-format-literalMust redactT1 · Provider-documentedRedacted

Sources

Researched 2026-09-20.

Documentation and code

  • docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github#githubs-token-formats

Research log

Other GitHub families