Scanner deep dive
Digitalocean Analyzer
Open sourceWhat does this analyzer do?
- Purpose
- It helps explain what a credential may be able to do. Atlas describes the analyzer’s code and hasn’t tested a credential here.
- How does it assess access?
- The analyzer tests the key against DigitalOcean, one permission at a time. Access method details · Source (digitalocean.go:167–187)
- What can I look up?
- Explore the permissions and resource types named in the code.
Catalog coverage · maintainer view
- Vendor API links
- None yet
- Explanations
- 99 of 99 permission and resource names
- Access model
- Classified 2026-11-16
Built on 2 detectors
The detector finds and verifies the key. This analyzer maps it.
1 · Detector finds
Candidates near “digitalocean”, 1 pattern.
DigitalOcean Tokendigitaloceantoken.go:29 (opens TruffleHog source on GitHub)
2 · Detector verifies
GET https://api.digitalocean.com/v2/account
200 means verified.
How it verifiesdigitaloceantoken.go:68 (opens TruffleHog source on GitHub)digitaloceantoken.go:81 (opens TruffleHog source on GitHub)
3 · This analyzer maps
98 permission names on each User.
Tests each permission
1 · Detector finds
Candidates near “dop_v1_”, “doo_v1_”, “dor_v1_”, 1 pattern.
DigitalOcean V2digitaloceanv2.go:34 (opens TruffleHog source on GitHub)
2 · Detector verifies
POST https://cloud.digitalocean.com/v1/oauth/token?grant_type=refresh_token&refresh_token=
200 means verified.
How it verifiesdigitaloceanv2.go:91 (opens TruffleHog source on GitHub)digitaloceanv2.go:108 (opens TruffleHog source on GitHub)
3 · This analyzer maps
98 permission names on each User.
Tests each permission
Access model · AI-assisted classification · No credential tested
How Digitalocean Analyzer decides what a key can do
This describes how TruffleHog’s code assigns permissions. It is not a statement of what the provider actually grants a particular key.
Runs the HTTP test for each scope listed in scopes.json.
Reviewed classification: Runs the HTTP test defined for each scope in scopes.json.
Tries each permission against the provider and records whether it was allowed or denied.
Pinned revision db665f0c24c6 · Confidence high · Classified 2026-11-16
Compare all 44 analyzersParsed source walkthrough · No credential tested
Follow Digitalocean Analyzer from inputs to evidence
After a related detector successfully validates a candidate, this analyzer is an optional next layer. The steps below explain code found in this package. They do not run it or establish the access of a credential.
- Input field names
- 1
- Direct HTTP request sites
- 2
- Go implementation files scanned
- 2
- Configured JSON definitions
- 98
1. Understand the inputs
These names are read from the analyzer’s credential-info map. A name can be required, optional, or conditional; this inventory does not resolve that control flow. Field values are never shown.
2. Inspect the request definitions
A request site is a Go request-construction call, not an individual permission check. One helper may build many requests. 1 of 2 sites have a directly written address; dynamic addresses remain unresolved. Use the configured-check reader below for the normalized JSON response rules; other response interpretation still needs source review.
Browse 2 request sites
Method unresolved · Dynamic address — inspect source
Inspect source · digitalocean.go:111This identifies a request definition. No response rule, granted permission, or resource binding is inferred from its method or address.
GET · https://api.digitalocean.com/v2/account
Inspect source · digitalocean.go:220This identifies a request definition. No response rule, granted permission, or resource binding is inferred from its method or address.
This package also contains 2 JSON/YAML configuration files. Their definitions are not counted as Go request sites. Use the configured-check reader below.
Explore configured checks
Each check below is a request defined in this analyzer’s embedded JSON, with the response codes it treats as access granted or denied. Nothing on this page sends a request.
- A check is labelled with a permission name, but one check is not proof that a key has that permission.
- The runner checks the “granted” codes first, then the “denied” codes. Any other code is reported as an error, not as a result.
- Payload values are not shown. The HTTP method alone doesn’t say whether a request changes anything.
Filters update results immediately. Counts show matches with the other filters applied.
98 matching results
Showing 1–10 of 98 matching definitions · 98 in this configuration
one_click:readGET
GET https://api.digitalocean.com/v2/1-clicks
- Granted when
- 200
- Denied when
- 403
one_click:createPOST
POST https://api.digitalocean.com/v2/1-clicks/kubernetes
- Granted when
- 422
- Denied when
- 403
action:readGET
GET https://api.digitalocean.com/v2/actions
- Granted when
- 200
- Denied when
- 403
app:readGET
GET https://api.digitalocean.com/v2/apps
- Granted when
- 200
- Denied when
- 403
app:createPOST
POST https://api.digitalocean.com/v2/apps
- Granted when
- 422
- Denied when
- 403
app:updatePUT
PUT https://api.digitalocean.com/v2/apps/`nowaythisidcanexist
- Granted when
- 400
- Denied when
- 403
app:deleteDELETE
DELETE https://api.digitalocean.com/v2/apps/`nowaythisidcanexist
- Granted when
- 400
- Denied when
- 403
billing:readGET
GET https://api.digitalocean.com/v2/customers/my/balance
- Granted when
- 200
- Denied when
- 403
block_storage:readGET
GET https://api.digitalocean.com/v2/volumes
- Granted when
- 200
- Denied when
- 403
block_storage:createPOST
POST https://api.digitalocean.com/v2/volumes
- Granted when
- 422
- Denied when
- 403
Pinned revision 23255461ddf3.
3. Read the result and its limits
Explore the permission names and resource types below. They are independent source lists. This walkthrough does not connect every request to a permission or resource, and does not infer access from an HTTP success.
Inspect 1 binding construction sites
These links point to Binding literals or BindAllPermissions helper calls. The permission-to-resource relationships and conditions have not been normalized.
Pinned revision 23255461ddf3 · analyzer-workflow-sites-v1. Comments, string contents, tests and testdata are excluded from code-site matching. SDK resolution, call order, response rules, required inputs and permission/resource bindings remain outside this parser.
Permissions and resources
How the result is built: one key, the resources it reaches, and the permissions recorded on each.
1 key
A verified DigitalOcean key
From the detector
Resource types
- User
Filled in only when a key is analyzed
98 permission names on each
- one_click:read
- one_click:create
- action:read
- app:read
- app:create
- app:update
- app:delete
- billing:read
- block_storage:read
- block_storage:create
- block_storage:delete
- cdn_endpoint:read
- +86 more in the list below
98 permission names · 1 resource types · 99/99 names explained
Permission names describe actions or scopes checked by this analyzer. Resource types describe the kinds of objects it can report. They are separate source lists; a permission-to-resource binding has not been extracted. Available access depends on the credential and provider response.
Showing 99 of 99 capability names
Where the explanations come from
- Provider docs (90): official provider documentation
- Atlas wording (9): Atlas wording, not the provider’s text (written with AI, not yet reviewed)
Resource types
Showing 1 of 1 matching resource types.
UserExplanation available
The DigitalOcean account the token belongs to.
Atlas wording
Permissions
Grouped by name prefix for easier browsing. These display groups are not official provider categories or permission-to-resource bindings.
Name prefix “vpc” 8 names
vpc_peering:readExplanation available
vpc_peering:createExplanation available
vpc_peering:updateExplanation available
vpc_peering:deleteExplanation available
vpc:readExplanation available
vpc:createExplanation available
vpc:updateExplanation available
vpc:deleteExplanation available
Name prefix “domain” 7 names
domain_record:readExplanation available
Read DNS records.
Atlas wording
domain_record:createExplanation available
Create DNS records.
Atlas wording
domain_record:updateExplanation available
Change DNS records.
Atlas wording
domain_record:deleteExplanation available
Delete DNS records.
Atlas wording
domain:readExplanation available
domain:createExplanation available
domain:deleteExplanation available
Name prefix “droplet” 7 names
droplet:readExplanation available
droplet:createExplanation available
droplet:deleteExplanation available
droplet_autoscale_pool:readExplanation available
Read Droplet autoscale pools.
Atlas wording
droplet_autoscale_pool:createExplanation available
Create Droplet autoscale pools.
Atlas wording
droplet_autoscale_pool:updateExplanation available
Change Droplet autoscale pools.
Atlas wording
droplet_autoscale_pool:deleteExplanation available
Delete Droplet autoscale pools.
Atlas wording
Name prefix “app” 4 names
app:readExplanation available
app:createExplanation available
app:updateExplanation available
app:deleteExplanation available
Name prefix “cdn” 4 names
cdn_endpoint:readExplanation available
cdn_endpoint:createExplanation available
cdn_endpoint:updateExplanation available
cdn_endpoint:deleteExplanation available
Name prefix “database” 4 names
database:readExplanation available
database:createExplanation available
database:updateExplanation available
database:deleteExplanation available
Name prefix “firewall” 4 names
firewall:readExplanation available
firewall:createExplanation available
firewall:updateExplanation available
firewall:deleteExplanation available
Name prefix “genai” 4 names
genai_agent:readExplanation available
genai_agent:createExplanation available
genai_agent:updateExplanation available
genai_agent:deleteExplanation available
Name prefix “image” 4 names
image:readExplanation available
image:createExplanation available
image:updateExplanation available
image:deleteExplanation available
Name prefix “kubernetes” 4 names
kubernetes:readExplanation available
kubernetes:createExplanation available
kubernetes:updateExplanation available
kubernetes:deleteExplanation available
Name prefix “load” 4 names
load_balancer:readExplanation available
load_balancer:createExplanation available
load_balancer:updateExplanation available
load_balancer:deleteExplanation available
Name prefix “monitoring” 4 names
monitoring:readExplanation available
monitoring:createExplanation available
monitoring:updateExplanation available
monitoring:deleteExplanation available
Name prefix “project” 4 names
project:readExplanation available
project:createExplanation available
project:updateExplanation available
project:deleteExplanation available
Name prefix “ssh” 4 names
ssh_key:readExplanation available
ssh_key:createExplanation available
ssh_key:updateExplanation available
ssh_key:deleteExplanation available
Name prefix “uptime” 4 names
uptime:readExplanation available
uptime:createExplanation available
uptime:updateExplanation available
uptime:deleteExplanation available
Name prefix “block” 3 names
block_storage:readExplanation available
block_storage:createExplanation available
block_storage:deleteExplanation available
Name prefix “certificate” 3 names
certificate:readExplanation available
certificate:createExplanation available
certificate:deleteExplanation available
Name prefix “floating” 3 names
floating_ip:readExplanation available
floating_ip:createExplanation available
floating_ip:deleteExplanation available
Name prefix “namespace” 3 names
namespace:readExplanation available
namespace:createExplanation available
namespace:deleteExplanation available
Name prefix “reserved” 3 names
reserved_ip:readExplanation available
reserved_ip:createExplanation available
reserved_ip:deleteExplanation available
Name prefix “tag” 3 names
tag:readExplanation available
tag:createExplanation available
tag:deleteExplanation available
Name prefix “container” 2 names
container_registry:readExplanation available
container_registry:createExplanation available
Name prefix “one” 2 names
one_click:readExplanation available
one_click:createExplanation available
Name prefix “snapshot” 2 names
snapshot:readExplanation available
snapshot:deleteExplanation available
Other names 4 names
action:readExplanation available
View events of shared resources that have occurred in the current team
Provider docs
billing:readExplanation available
region:readExplanation available
size:readExplanation available
Under the hoodSource facts, registration, field evidence and source changes
Start with the detector. Add the analyzer next.
Step 1: Detect
Related detectors find credential candidates. A match alone does not establish that the credential works. Open the detector first to learn its matching and verification rules.
Step 2: Verify
The detector checks the candidate under its verification rules. Successful verification establishes the condition accepted by that detector; it does not establish every permission. The status below is extraction evidence, not a live result.
DigitalOcean Token · Verification parsed
The normalized parser found verification logic at this record’s revision. No credential was tested.
GET https://api.digitalocean.com/v2/account
DigitalOcean V2 · Verification parsed
The normalized parser found verification logic at this record’s revision. No credential was tested.
POST https://cloud.digitalocean.com/v1/oauth/token?grant_type=refresh_token&refresh_token=
Step 3: Analyze
After successful detector verification, analysis is an additional layer for gathering access context. The source contains an Analyze function; its results depend on the credential, the checks that run and their outcomes.
Explore access capabilitiesStep 4: Interpret the evidence
Open an individual check to learn what it attempts and how its result is interpreted. Follow the source evidence before concluding what access it establishes. Missing permission or resource relationships remain unknown.
Next: follow the source walkthroughDetailed check definitions are not connected to this page yet. The walkthrough identifies input and request sites; response rules and permission/resource bindings still need source review.
This is a source-based workflow, not a live validation result. The catalog has not executed these detectors or analyzers. Related packages are linked by the catalog’s recorded relationship evidence.
Source overview · No credential tested
Understand what Digitalocean Analyzer can check
Counts below describe names found in analyzer source. They do not confirm access for a particular credential.
- Permission names
- 98
- Unique names recorded in this analyzer
- Resource types
- 1
- Kinds of objects, not a count of objects found
- Names needing explanation
- 0
- Names without a catalog summary
99 of 99 names have a summary. A summary is not proof of access or a review approval.
How should I read these results?
- Recorded in source
- The parser found a name or behavior in code. It has not tested your credential.
- Explained in the catalog
- A summary describes a recorded name. Check its source label and reference before relying on the interpretation.
- Confirmed by a test
- This would require a recorded run and its responses. No such result is shown on this page. An HTTP success alone does not establish every permission.
- Whether this analyzer package contains an Analyze function.
Yes
- Self-discovery means the package runs after verify to list identity or permissions. Other means no Analyze function was extracted.
Self-discovery
- Related detectors
2
- Permission or scope strings declared in the analyzer Go. These are not a live grant.
98
- Resource names the analyzer source says it can list. These are not a live inventory.
1
- The GitHub repository this catalog was parsed from. This app reads trufflesecurity/trufflehog.
- trufflesecurity/trufflehog
- The Go file the parser read for this page. The link opens that file at the pinned catalog commit.
- pkg/analyzer/analyzers/digitalocean/digitalocean.go
- The last commit that changed this folder’s code (tests don’t count), when GitHub history was fetched. Otherwise it is the ingest commit that reparsed the folder. It can be older than the catalog pin.
- 2921dcc
Last commit that changed this folder’s code. Test-only changes don’t count.
- Active means this folder was still in the latest ingest. A folder that disappeared is dropped from the catalog.
Active
- The date of the ingest that still contained this folder. This is not the day the Go file was edited.
Nov 25, 2026
This folder was still in the catalog at this ingest.
- The date of the newest queued diff for this record. With no diff, this falls back to the ingest time.
Nov 25, 2026
- Whether a human still needs to look at a queued diff or an uncertain extracted field.
No queued diffs
What this analyzer does
Analyze() exists in source. 98 permission names are enumerated in source. Resource types in source: User.
An Analyze function was found in the source. The entries below describe the access context recorded for this package.
Description generated from parsed flags
Registration
Named in pkg/analyzer/cli.go. A detector joins from this file only when its folder matches one of these keys.
- digitalocean
Parsed from analyzer registration
Related detectors and validation evidence
- DigitalOcean Token
pkg/detectors/digitaloceantoken·Verification parsed
Enriches after verify. Joined by an explicit credential-type map. The analyzer does not verify the secret.
- DigitalOcean V2
pkg/detectors/digitaloceanv2·Verification parsed
Enriches after verify. Joined by an explicit credential-type map. The analyzer does not verify the secret.
Roles
No role map extracted from this analyzer’s Go.
Package files
- digitalocean.go
- permissions.go
- permissions.yaml
Field evidence
Parsed fields keep a provenance row beside the value. Extracted rows stay visible. Needs review means a heuristic verify flag or a URL whose host is still a template. Unknown means the parser did not find that field — never a negative capability claim.
description · Needs review · medium
Analyze() exists in source. 98 permission names are enumerated in source. Resource types in source: User.
Derived from parser flags. This sentence is not a source comment.
keyTypes · Unknown · unknown
None extracted
permissions · Extracted · high
one_click:read, one_click:create, action:read, app:read, app:create, app:update, app:delete, billing:read, block_storage:read, block_storage:create, block_storage:delete, cdn_endpoint:read, cdn_endpoint:create, cdn_endpoint:update, cdn_endpoint:delete, certificate:read, certificate:create, certificate:delete, container_registry:read, container_registry:create, database:read, database:create, database:update, database:delete, domain_record:read, domain_record:create, domain_record:update, domain_record:delete, domain:read, domain:create, domain:delete, droplet:read, droplet:create, droplet:delete, droplet_autoscale_pool:read, droplet_autoscale_pool:create, droplet_autoscale_pool:update, droplet_autoscale_pool:delete, firewall:read, firewall:create, firewall:update, firewall:delete, floating_ip:read, floating_ip:create, floating_ip:delete, namespace:read, namespace:create, namespace:delete, genai_agent:read, genai_agent:create, genai_agent:update, genai_agent:delete, image:read, image:create, image:update, image:delete, kubernetes:read, kubernetes:create, kubernetes:update, kubernetes:delete, load_balancer:read, load_balancer:create, load_balancer:update, load_balancer:delete, monitoring:read, monitoring:create, monitoring:update, monitoring:delete, project:read, project:create, project:update, project:delete, region:read, reserved_ip:read, reserved_ip:create, reserved_ip:delete, size:read, snapshot:read, snapshot:delete, ssh_key:read, ssh_key:create, ssh_key:update, ssh_key:delete, tag:read, tag:create, tag:delete, uptime:read, uptime:create, uptime:update, uptime:delete, vpc_peering:read, vpc_peering:create, vpc_peering:update, vpc_peering:delete, vpc:read, vpc:create, vpc:update, vpc:delete
resources · Extracted · high
User
roles · Unknown · unknown
None extracted
files · Extracted · high
digitalocean.go, permissions.go, permissions.yaml
hasAnalyze · Extracted · high
Yes
hasRoleField · Unknown · unknown
No
analyzerType · Extracted · high
self_discovery
What changed in the source
Stored source differences and their review status. No stored difference does not establish that upstream is unchanged.
No stored diffs for this analyzer yet.
Change log
What changed in this analyzer
No changes recorded since Nov 11, 2026, when the change log starts.