What this change means
Source files changed in ways the catalog does not model (for example logic inside Verify). Read the diff to judge the effect.
Scanner deep dive
DigitalOcean is a cloud service provider offering scalable compute and storage solutions. DigitalOcean API keys can be used to access and manage these resources.
ProviderNo provider details added yet.
Runs on any connection. Triggered by keywords in the content, after decoding.How TruffleHog works
TruffleHog looks for 64-character strings of lowercase hex characters after a prefix such as “dop_v1_”, “doo_v1_” or “dor_v1_”. A match is a possible DigitalOcean V2 credential.
Regexdigitaloceanv2.go:29 (opens TruffleHog source on GitHub)
\b((?:dop|doo|dor)_v1_[a-f0-9]{64})\bMatches 64-character strings of lowercase hex characters after a prefix such as “dop_v1_”, “doo_v1_” or “dor_v1_”.
What this detector does at each step of the TruffleHog pipeline.
Any one of these in the decoded text wakes the detector.
digitaloceanv2.go line 35 (opens TruffleHog source on GitHub)
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.Digitalocean Analyzer
Wakes on “dop_v1_”, “doo_v1_” or “dor_v1_” and tests matches with the provider. A default scan runs it.
The verification code lists cloud.digitalocean.com as a destination. The detector decides whether a match passes using its own rules.
The detection and verification evidence on this page comes from the Open Source implementation. Check the Enterprise coverage guide for product availability.
Probably not, but not certain: the source declares no changes, and many checks use POST only to read. POST can change data, so check the source if it matters.
https://cloud.digitalocean.com/v1/oauth/token?grant_type=refresh_token&refresh_token=| Status | Outcome | Source |
|---|---|---|
| Verified | digitaloceanv2.go:108 (opens TruffleHog source on GitHub) | |
| 401 | Not verified | digitaloceanv2.go:119 (opens TruffleHog source on GitHub) |
| Other | digitaloceanv2.go:121 (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.
No command for this check. The check sends a POST request with a body the Atlas doesn't record, so a command might get a different answer and might not be read-only.
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: DigitalOceanV2
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 DigitalOceanV2 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.
Optional analysis
In Open Source, run trufflehog analyze separately from the scan. Enterprise runs enabled self-discovery analyzers on first discovery of a supported live secret.
Runs the HTTP test defined for each scope in scopes.json.
98 permission names in source
Alert delivery has no documented ordering relative to analysis. How Analyze runs.
Use the provider’s instructions for this credential.
Rotation and revocation instructions
DigitalOcean documents regeneration for personal tokens, revocation for OAuth access tokens, and exchange for OAuth refresh tokens. Choose the procedure for the type the detector found.
Provider documentation checked by Atlas on .
TruffleHog’s source looks for 3 token types, by prefix. It doesn’t name them.
| Prefix |
|---|
| dop_v1_ |
| doo_v1_ |
| dor_v1_ |
Written in the detector’s source by its authors. Shown as written: this doesn’t say what each page covers.
4 scanners have a confirmed match.
digitalocean_oauth_tokenPush protection yes · Validity check yesdigitalocean_personal_access_tokenPush protection yes · Validity check yesdigitalocean_refresh_tokenPush protection yes · Validity check nobetterleaks.digitalocean-access-tokenThe rule declares revocation.betterleaks.digitalocean-patbetterleaks.digitalocean-refresh-tokenveles.secrets/digitaloceanapikeyThe rule declares validation, revocation.1 recorded change since Sep 18, 2026; 1 still needs review.
Source files changed in ways the catalog does not model (for example logic inside Verify). Read the diff to judge the effect.
Facts on this page were read from trufflesecurity/trufflehog at commit 2325546.