Skip to content
Benchmarks

redact-secret · Report

User auth token

sntryu_ prefixed personal auth token.

  • Sentry
  • Detectors: sentry-user-auth-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT2 · Tool-corroborated
  • Dossier researched2026-09-24

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

3 events in the review history: 2 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
^sntryu_[0-9a-f]{64}$

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

Format facts

  • Provider documented · mutable-property-source · current · observed 2026-09-24

    Documentation for the one property varied in legacy twin fixtures (sntryu_ + secrets.token_hex(32)): Un-probeable record lifted 2026-09-24 (#207): Sentry's own server code (provider code on github.com, so the tier stays T2) builds the token as the sntryu_ prefix plus 64 lowercase hex characters. Twins mutate the prefix, the _ delimiter, the length or a non-hex byte; none is a bare 64-hex value, since legacy unprefixed tokens are still valid secrets.

    • getsentry/sentry @ b5116cbbd0: src/sentry/models/apitoken.pyprovider-documentation · last read 2026-09-24 · latest outcome read · supports Un-probeable record lifted 2026-09-24 (#207): Sentry's own server code (provider code on github.com, so the tier stays T2) builds the token as the sntryu_ prefix plus 64 lowercase hex characters. Twins mutate the prefix, the _ delimiter, the length or a non-hex byte; none is a bare 64-hex value, since legacy unprefixed tokens are still valid secrets. · #L106-L112
  • Unresolved · tool-corroboration · current · observed 2026-09-22

    Pinned scanner rules are consistent with the contract grammar (1 artifact: gitleaks 8.30.1).

  • Provider documented · field-prefix · current · observed 2026-09-22

    prefix: sntryu_ (siblings sntrys_, sntrya_, sntryi_ are other token kinds)

  • Provider documented · field-body · current · observed 2026-09-22

    body: 64 lowercase hex characters from secrets.token_hex(32); the server cannot emit uppercase

  • Unresolved · field-legacy-unprefixed-tokens · current · observed 2026-09-22

    legacy unprefixed tokens: pre-2024 user tokens are bare 64 hex and still valid; they are secrets, so no bare 64-hex value beside a sentry keyword is used as a control

    • github.com/redact-secret/redact-secret/issues/659provider-sdk-source · last read 2026-09-22 · latest outcome read · supports legacy unprefixed tokens: pre-2024 user tokens are bare 64 hex and still valid; they are secrets, so no bare 64-hex value beside a sentry keyword is used as a control
  • Unresolved · dossier-research · current · observed 2026-09-24

    Legacy dossier research (verdict ready, tier T2) cited 4 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
sntryu_ then 64 lowercase hex characters (32 random bytes hex-encoded; the database column allows 71). Sentry's docs call these "Personal Tokens", and GitHub's pattern is sentry_personal_token. Unprefixed user tokens created before the prefix shipped (getsentry/sentry#68148, merged 2024-04-17; bare 64 hex) remain valid and fall outside this contract.
Basis
T2. getsentry/sentry types/token.py sets USER = "sntryu_" and apitoken.py builds the token as prefix plus secrets.token_hex(nbytes=32); sentry-cli requires the body to hex-decode to exactly 32 bytes. Scanners: gitleaks, TruffleHog v2, CredSweeper, betterleaks. One placeholder sntryu_... on skills.sentry.dev (Sentry's agent-skill library) is the only provider-domain appearance and labels the token an org token, so it is contested as a T1 source.
Issuance
not attempted; 0 maintainer observations.
Contract in core
detector-families.md; evidence #659 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
40
Left readable
0
Redacted too much
0
False alarms
0

40 fixtures: 18 expect a redaction, 22 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented23000
T2Tool-corroborated8000
T3Project policy9000

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

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
No Sentry web domain states the format (skills.sentry.dev shows a sntryu_ placeholder labelled org token); prefix, 64 lowercase hex and legacy unprefixed tokens rest on Sentry server and CLI code.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
sntrys_, sntrya_ and sntryi_ are sibling token types.

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
gitleaks · rules 8.30.1sentry-user-tokensntryu_ + 64 hex
trufflehog · rules 3.97.4sentrytoken/v2sntryu_ + 64 hex

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

40 of 40 rows

Fixtures in this family

40 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 User auth token
FixtureKind and evidenceredact-secret
sentry-user-auth-token-actions-envsentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-api-curlsentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-bomsentry · multibyte-text-offsetsMust redactT2 · Tool-corroboratedRedacted
sentry-user-auth-token-compose-envsentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-dash-delimiter-twinsentry · boundary-violationMust not flagT1 · Provider-documented · twinQuiet
sentry-user-auth-token-dsn-public-idsentry · public-identifierMust not flagT1 · Provider-documentedQuiet
sentry-user-auth-token-envsentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-jsonsentry · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
sentry-user-auth-token-markdownsentry · markdown-and-comment-valueMust redactT2 · Tool-corroboratedRedacted
sentry-user-auth-token-no-final-newlinesentry · value-at-input-edgesMust redactT2 · Tool-corroboratedRedacted
sentry-user-auth-token-prefix-twinsentry · prefix-near-missMust not flagT1 · Provider-documented · twinQuiet
sentry-user-auth-token-pythonsentry · source-code-string-literalMust redactT2 · Tool-corroboratedRedacted
sentry-user-auth-token-script-constantsentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-sentry-clisentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-sentryclircsentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-shape-1-baresentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-shape-1-quotedsentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-shape-1-unicode-crlfsentry · documented-format-literalMust redactT1 · Provider-documentedRedacted
sentry-user-auth-token-single-quotessentry · quoted-value-extentMust redactT2 · Tool-corroboratedRedacted
sentry-user-auth-token-tomlsentry · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
sentry-user-auth-token-yamlsentry · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
sentry-user-auth-token-actions-secret-referencesentry · templated-referenceMust not flagT3 · Project policyQuiet
sentry-user-auth-token-docs-ellipsis-placeholdersentry · documentation-placeholderMust not flagT3 · Project policyQuiet
sentry-user-auth-token-half-body-in-prose-near-misssentry · format-near-missMust not flagT1 · Provider-documentedQuiet
sentry-user-auth-token-label-prosesentry · benign-lookalikeMust not flagT3 · Project policyQuiet
sentry-user-auth-token-last-four-placeholdersentry · documentation-placeholderMust not flagT3 · Project policyQuiet
sentry-user-auth-token-masksentry · benign-lookalikeMust not flagT3 · Project policyQuiet
sentry-user-auth-token-missing-delimiter-twinsentry · boundary-violationMust not flagT1 · Provider-documented · twinQuiet
sentry-user-auth-token-naming-note-prosesentry · prose-mentionMust not flagT3 · Project policyQuiet
sentry-user-auth-token-non-hex-cli-twinsentry · wrong-alphabetMust not flagT1 · Provider-documented · twinQuiet
sentry-user-auth-token-non-hex-twinsentry · wrong-alphabetMust not flagT1 · Provider-documented · twinQuiet
sentry-user-auth-token-org-prefix-hex-in-log-near-misssentry · format-near-missMust not flagT1 · Provider-documentedQuiet
sentry-user-auth-token-org-slug-public-idsentry · public-identifierMust not flagT3 · Project policyQuiet
sentry-user-auth-token-prefix-compose-twinsentry · prefix-near-missMust not flagT1 · Provider-documented · twinQuiet
sentry-user-auth-token-prefix-onlysentry · benign-lookalikeMust not flagT1 · Provider-documentedQuiet
sentry-user-auth-token-referencesentry · benign-lookalikeMust not flagT3 · Project policyQuiet
sentry-user-auth-token-short-bodysentry · benign-lookalikeMust not flagT1 · Provider-documentedQuiet
sentry-user-auth-token-short-ci-twinsentry · wrong-lengthMust not flagT1 · Provider-documented · twinQuiet
sentry-user-auth-token-short-twinsentry · wrong-lengthMust not flagT1 · Provider-documented · twinQuiet
sentry-user-auth-token-tarball-digest-encoded-valuesentry · benign-encoded-valueMust not flagT3 · Project policyQuiet

Sources

Researched 2026-09-24.

Documentation and code

  • github.com/getsentry/sentry/blob/b5116cbbd0b81d62592318b0f3de660c215bcdb6/src/sentry/models/apitoken.py
  • github.com/getsentry/sentry/blob/f5d6d77049257892315c3823ebb504d189ddafb8/src/sentry/types/token.py
  • github.com/getsentry/sentry-cli/blob/c880db5fc6b69378b62310b7fdbd74637bcd5fb4/src/utils/auth_token/user_auth_token.rs

Research log

Other Sentry families