Property
Languageregex
Severitylow
CWECWE-798: Use of Hard-coded Credentials
OWASPA07:2021 - Identification and Authentication Failures
Confidence LevelLow
Impact LevelMedium
Likelihood LevelLow

Description#

DigitalOcean Personal Access Tokens (PATs) have been found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally expose and is not a secure practice.

Impact#

If attackers gain access to these hard-coded tokens, they could use them to access, modify, or delete resources in your DigitalOcean account. This could lead to data breaches, service disruptions, unauthorized infrastructure changes, and potential financial loss.