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#
Hard-coded credentials have been found in the source code. Storing sensitive information like passwords, API keys, or tokens directly in code can expose them to anyone with access to the repository.
Impact#
If attackers gain access to the hard-coded credentials, they could use them to access internal systems, compromise data, or escalate privileges. This puts both the application’s security and sensitive data at risk, potentially leading to unauthorized access or data breaches.