Skip to content
Benchmarks

redact-secret · Report

Analysis tokens (sqa_, sqp_)

sqa_ (global) or sqp_ (project) + exactly 40 lowercase hex (44 in all).

  • SonarQube
  • Detectors: sonarqube-analysis-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-analysis-token (#528, product redact-secret#1021), contract in benchmarks/lib/beta8/528c.ts from the #1014 handoff sonarqube.md. T1 (provider generator, R1). Shares the sonarqube-token detector (finding type sonarqube_analysis_token); a gitleaks sonar-api-token finding reads as co-detection. Since the 4fb7882 re-pin (product PR #1039) it is an arrival family scored by that finding type (scanners/families.mjs arrivalFindingTypes), so the row maps to its own id.

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
^sq[ap]_[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
sqa_ (global) or sqp_ (project) + exactly 40 lowercase hex (44 in all).
Basis
T1 under R1 from the same generator and 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
28
Left readable
0
Redacted too much
0
False alarms
0

28 fixtures: 12 expect a redaction, 16 must stay quiet. See every row

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

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

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
as for the user token; sqx_ with an unknown type letter is not issued.

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.

28 of 28 rows

Fixtures in this family

28 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 Analysis tokens (sqa_, sqp_)
FixtureKind and evidenceredact-secret
sonarqube-analysis-token-actions-envsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-bare-prosesonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-bearer-headersonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-chat-pastesonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-dotenvsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-exportsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-hyphen-separator-twinsonarqube · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-analysis-token-json-api-keysonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-json-tokensonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-project-propertiessonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-scanner-token-flagsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-sdk-kwargsonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-x-api-key-headersonarqube · documented-format-literalMust redactT1 · Provider-documentedRedacted
sonarqube-analysis-token-actions-secret-referencesonarqube · templated-referenceMust not flagT3 · Project policyQuiet
sonarqube-analysis-token-angle-brackets-placeholdersonarqube · documentation-placeholderMust not flagT3 · Project policyQuiet
sonarqube-analysis-token-badge-token-markdown-public-idsonarqube · public-identifierMust not flagT2 · Tool-corroboratedQuiet
sonarqube-analysis-token-body-39-twinsonarqube · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-analysis-token-body-41-twinsonarqube · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-analysis-token-ellipsis-placeholdersonarqube · documentation-placeholderMust not flagT3 · Project policyQuiet
sonarqube-analysis-token-git-sha-encoded-valuesonarqube · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
sonarqube-analysis-token-gradle-reference-referencesonarqube · templated-referenceMust not flagT3 · Project policyQuiet
sonarqube-analysis-token-leading-glue-twinsonarqube · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-analysis-token-project-key-public-idsonarqube · public-identifierMust not flagT2 · Tool-corroboratedQuiet
sonarqube-analysis-token-token-guidance-prosesonarqube · prose-mentionMust not flagT3 · Project policyQuiet
sonarqube-analysis-token-trailing-hyphen-twinsonarqube · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-analysis-token-truncated-near-misssonarqube · format-near-missMust not flagT2 · Tool-corroboratedQuiet
sonarqube-analysis-token-uppercase-hex-byte-twinsonarqube · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
sonarqube-analysis-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-db-dao/src/main/java/org/sonar/db/user/TokenType.java#L24-L27
  • github.com/redact-secret/redact-secret/blob/4f220ea000b58fa2e0e431ad88dea4eccb393fb0/docs/audits/evidence/1014/sonarqube.md

Research log

Other SonarQube families