What this change means
Regex changed. Changes keywords, regex patterns or pairing.
Scanner deep dive
Okta is an identity and access management service. Okta tokens can be used to authenticate and access various resources and APIs within an organization.
ProviderNo provider details added yet.
Runs on any connection. Triggered by keywords in the content, after decoding.How TruffleHog works
The Okta detector looks for pieces of a credential that belong together. The code names fields such as “domain” and “token”.
Regex 1okta.go:42 (opens TruffleHog source on GitHub)
(?:^|[^a-zA-Z0-9_-])([a-zA-Z0-9_-]{40,64})(?:[^a-zA-Z0-9_-]|$)Must appear near: “client_secret”, “clientsecret” or “client-secret”
Regex 2okta.go:27 (opens TruffleHog source on GitHub)
\b00[a-zA-Z0-9_-]{40}\bRegex 3okta.go:36 (opens TruffleHog source on GitHub)
\b[a-z0-9-]{1,40}\.(?:okta(?:preview|-emea|-gov)?\.com|okta\.mil)\bRegex 4okta.go:39 (opens TruffleHog source on GitHub)
\b0oa[a-zA-Z0-9]{17}\bWhat 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 “.okta”, reads 1024 bytes around each hit to pair two parts and tests matches with the provider. A default scan runs it.
With verification on, the detector uses a separate check to decide whether a match passes.
The detection and verification evidence on this page comes from the Open Source implementation. Check the Enterprise coverage guide for product availability.
Not expected to: it’s a GET request, which reads without changing anything, and the source declares no changes.
https://%s/api/v1/users/mePart of this address is filled in when the check runs, so the exact host isn’t known from source.
| Status | Outcome | Source |
|---|---|---|
| Verified | okta.go:161 (opens TruffleHog source on GitHub) | |
| 401 | Not verified | okta.go:164 (opens TruffleHog source on GitHub) |
| Other | okta.go:166 (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" "https://{YOUR_HOST}/api/v1/users/me"{YOUR_HOST}: the host the key belongs to$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: Okta
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 Okta 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.
Rotation and revocation instructions
Okta provides separate procedures for revoking an SSWS API token and rotating an OAuth client secret. Choose the procedure for the credential the detector found.
Provider documentation checked by Atlas on .
TruffleHog’s source looks for 1 token type, by prefix. It doesn’t name them.
| Prefix |
|---|
| 0oa |
Written in the detector’s source by its authors. Shown as written: this doesn’t say what each page covers.
3 scanners have a confirmed match.
2 recorded changes since Sep 18, 2026; 2 still need review.
Regex changed. Changes keywords, regex patterns or pairing.
Regex changed, Capture groups changed, Credential parts changed, Pairing logic changed, How the credential is sent changed. Changes how the detector verifies or what it treats as the credential.
Facts on this page were read from trufflesecurity/trufflehog at commit 2325546.