LS-DO-001: DigitalOcean Token¶
| Severity | HIGH |
| Blast radius | Full cloud account compromise |
| Rotate at | https://cloud.digitalocean.com/account/api/tokens |
--verify |
GET https://api.digitalocean.com/v2/account |
If this leaks¶
Allows full control of the DigitalOcean account via the API, including creating or destroying droplets, reading backups, and managing DNS and billing.
What to do¶
- Rotate or revoke the credential at https://cloud.digitalocean.com/account/api/tokens.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
\bdop_v1_[a-f0-9]{64}\b
Suppress¶
On one line: # leakscan:ignore LS-DO-001. For the whole project:
disable_rules: [LS-DO-001]