What this change means
Atlas added sonarqube to its detector catalog in this update.
Scanner deep dive
SonarQube Server is a code quality and security analysis platform. Its user, global analysis and project analysis tokens authenticate people and CI pipelines to the SonarQube API.
ProviderNo provider details added yet.
Runs on any connection. Triggered by keywords in the content, after decoding.How TruffleHog works
One matching rule looks for 40-character strings of lowercase hex characters after a prefix such as “sqa_”, “sqp_” or “squ_”.
Regex 1sonarqube.go:40 (opens TruffleHog source on GitHub)
\b(sq[apu]_[0-9a-f]{40})\bMatches 40-character strings of lowercase hex characters after a prefix such as “sqa_”, “sqp_” or “squ_”.
Regex 2sonarqube.go:44 (opens TruffleHog source on GitHub)
(?i)\bsonar[._](?:host[._]url|host|url)\b["'\s:=,>]*((?:https?://)?[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?(?::\d{1,5})?)What this detector does at each step of the TruffleHog pipeline.
Any one of these in the decoded text wakes the detector.
Verification. When a scan allows it, TruffleHog tests a match by calling the provider. A scan can turn this off for every detector or for this one. Atlas only describes this; it never tests credentials. How the verify decision works
Analyzer.None in the open-source code.
Wakes on “squ_”, “sqa_” or “sqp_”, reads 1024 bytes around each hit to pair two parts and tests matches with the provider. The open-source CLI runs it by turning on its feature flag.
With verification on, the detector uses a separate check to decide whether a match passes.
Open Source + Enterprise support detection and verification for this credential type. Edition source.
Not expected to: it’s a GET request, which reads without changing anything, and the source declares no changes.
%s/api/users/currentPart of this address is filled in when the check runs, so the exact host isn’t known from source.
| Status | Outcome | Source |
|---|---|---|
| Verified | sonarqube.go:162 (opens TruffleHog source on GitHub) | |
| 401 | Not verified | sonarqube.go:171 (opens TruffleHog source on GitHub) |
| Other | sonarqube.go:174 (opens TruffleHog source on GitHub) |
If a result looks wrong, work through these steps. They’re built from the request and status rules above. The Atlas doesn’t send anything.
curl -i -u "$USERNAME:$PASSWORD" "{BASE_URL}/api/users/current"{BASE_URL}: your instance's address, such as https://your-company.example.com$USERNAME: the username or key ID$PASSWORD: the password or secretOnly test keys you own or are allowed to check. Each command is one read-only GET request, the same one TruffleHog makes. Compare the status you get with “How responses are judged” above.
No provider doc recorded for this check yet.
Include the status code and response you got. Never include the key.
The CLI prints verified findings to stdout. Use --json for structured output.
Example scan output · credential redacted
✅ Found verified result 🐷🔑
Detector Type: SonarQube
Decoder Type: PLAIN
Raw result: [redacted]Terminal printer sourceWith --github-actions, GitHub Actions displays this workflow command as a warning on the indicated file and line.
::warning file=config/example.env,line=8,endLine=8::Found verified SonarQube result 🐷🔑GitHub Actions printer sourceLegacy compatibility. --json-legacy writes pre-v3 JSON for Git, GitLab, and GitHub sources only.
When Enterprise verifies that a secret is live, a configured notifier can alert your team. The finding is also available through the Enterprise API.
No analyzer is recorded for this detector, so Atlas shows no access assessment.
Use the provider’s instructions for this credential.
Revocation instructions
SonarQube Server lets the owner revoke an individual user or analysis token in the account’s Security settings.
Provider documentation checked by Atlas on .
TruffleHog’s source looks for 3 token types, by prefix. It doesn’t name them.
| Prefix |
|---|
| sqa_ |
| sqp_ |
| squ_ |
The detector’s source links no vendor pages.
3 scanners have a confirmed match.
1 recorded change since Sep 18, 2026; 1 still needs review.
Atlas added sonarqube to its detector catalog in this update.
Facts on this page were read from trufflesecurity/trufflehog at commit 2325546.