SYM_GEN_0240 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki
Use of Hard-coded Credentials
Property | Value |
---|---|
Language | regex |
Severity | |
CWE | CWE-798: Use of Hard-coded Credentials |
OWASP | A07:2021 - Identification and Authentication Failures |
Confidence Level | Low |
Impact Level | Medium |
Likelihood Level | Low |
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.