Skip to content
Benchmarks

redact-secret · Report

User token (squ_)

squ_ + exactly 40 lowercase hex (44 in all); unprefixed legacy tokens, sqb_ badge tokens and SonarQube Cloud sqco_ are not claimed.

  • SonarQube
  • Detectors: sonarqube-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-29
Beta.12 arrival family sonarqube-token (#528, product redact-secret#1021), contract in benchmarks/lib/beta8/528c.ts from the #1014 handoff sonarqube.md. T1 (provider generator, R1). gitleaks 8.30.1 sonar-api-token (keyword-gated) is mapped to this family; trufflehog 3.97.4 SonarCloud reads legacy and sqco_ shapes only. Since the 4fb7882 re-pin the product detector is in the pinned registry, so the row maps to it.

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

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-09-29 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
^squ_[0-9a-f]{40}$

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

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.
Shape
squ_ + exactly 40 lowercase hex (44 in all).
Basis
T1 under R1 from the provider token generator and token-type enum.
Issuance
not attempted; the grammar is T1 from provider sources, so no key is needed.
Contract in core
detector-families.md (row on main; the Beta.12 detector, redact-secret#1021, merged in redact-secret#1039 and is unreleased).

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: 17 expect a redaction, 23 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented17000
T2Tool-corroborated15000
T3Project policy8000

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

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
the 40-hex body alone is SHA-1 shaped, so the prefix is load-bearing; sqb_ badge tokens are public (Q5).

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.1sonar-api-tokensonar login or token keyword + squ_, sqp_ or sqa_ + 40 characters

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

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 token (squ_)
FixtureKind and evidenceredact-secret
sonarqube-token-actions-envsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-bare-prosesonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-bearer-headersonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-chat-pastesonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-dotenvsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-exportsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-gradle-system-propsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-json-api-keysonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-json-tokensonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-key-shape-baresonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-key-shape-quotedsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-key-shape-unicode-crlfsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-project-propertiessonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-scanner-login-flagsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-scanner-token-flagsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-sdk-kwargsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-x-api-key-headersonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-token-x-run-placeholdersonarqube · documentation-placeholderMust not flagT3 · Project policyQuiet
sonarqube-token-actions-secret-referencesonarqube · templated-referenceMust not flagT3 · Project policyQuiet
sonarqube-token-badge-token-url-public-idsonarqube · public-identifierMust not flagT2 · Tool-corroboratedQuiet
sonarqube-token-body-39-twinsonarqube · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-token-body-41-twinsonarqube · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-token-ellipsis-placeholdersonarqube · documentation-placeholderMust not flagT3 · Project policyQuiet
sonarqube-token-env-reference-referencesonarqube · templated-referenceMust not flagT3 · Project policyQuiet
sonarqube-token-git-sha-encoded-valuesonarqube · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
sonarqube-token-label-prosesonarqube · benign-lookalikeMust not flagT3 · Project policyQuiet
sonarqube-token-leading-glue-twinsonarqube · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-token-leading-underscore-twinsonarqube · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-token-masksonarqube · benign-lookalikeMust not flagT3 · Project policyQuiet
sonarqube-token-non-hex-letter-twinsonarqube · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-token-prefix-onlysonarqube · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
sonarqube-token-referencesonarqube · benign-lookalikeMust not flagT3 · Project policyQuiet
sonarqube-token-sha1-checksum-encoded-valuesonarqube · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
sonarqube-token-short-bodysonarqube · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
sonarqube-token-token-guidance-prosesonarqube · prose-mentionMust not flagT3 · Project policyQuiet
sonarqube-token-trailing-underscore-twinsonarqube · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-token-truncated-near-misssonarqube · format-near-missMust not flagT2 · Tool-corroboratedQuiet
sonarqube-token-unknown-type-letter-twinsonarqube · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-token-uppercase-hex-byte-twinsonarqube · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-token-uppercase-prefix-twinsonarqube · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet

Sources

Researched 2026-09-29.

Documentation and code

  • github.com/SonarSource/sonarqube/blob/9ec5e86425011f6c1ffa0eb2db08880e3b347271/server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/TokenGeneratorImpl.java#L29-L46
  • github.com/redact-secret/redact-secret/blob/4f220ea000b58fa2e0e431ad88dea4eccb393fb0/docs/audits/evidence/1014/sonarqube.md

Research log

Other SonarQube families