DigitalOcean Personal Access Token

Detects DigitalOcean personal access tokens (dop_v1_ prefix). These tokens authenticate to the DigitalOcean API and can manage droplets, databases, DNS and billing; a leak enables full account control.

Type
regex
Engine
universal
Confidence
high
Confidence justification
High confidence: the distinctive dop_v1_ prefix with a fixed 64-character hex body makes false positives extremely unlikely.
Jurisdictions
global
Regulations
Criminal Code Act 1995 (Cth), Computer Fraud and Abuse Act, Computer Misuse Act 1990
Frameworks
CIS Controls, ISO 27001, NIST CSF, SOC 2
Data categories
credentials, security
Scope
narrow
Risk rating
9
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?<![A-Za-z0-9_])dop_v1_[a-f0-9]{64}(?![A-Za-z0-9])

Corroborative evidence keywords

digitalocean, digital ocean, doctl, api.digitalocean.com, personal access token, droplet

Proximity: 300 characters

Should match

Should not match

Known false positives

References