Use of Hard-coded Credentials
| Property | |
|---|---|
| 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#
Sensitive Contentful Delivery API tokens have been found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally expose and puts confidential access at risk.
Impact#
If these tokens are leaked, attackers could gain unauthorized access to your Contentful data, potentially reading, modifying, or deleting content. This can lead to data breaches, loss of control over your content, and reputational or regulatory consequences.