LS-DO-002: DigitalOcean OAuth Token¶
| Severity | HIGH |
| Blast radius | Full cloud account compromise |
| Rotate at | https://cloud.digitalocean.com/account/api/tokens |
If this leaks¶
Acts on behalf of the user over the DigitalOcean API with the granted scopes.
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¶
\bdoo_v1_[a-f0-9]{64}\b
Suppress¶
On one line: # leakscan:ignore LS-DO-002. For the whole project:
disable_rules: [LS-DO-002]