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

Description#

Sensitive secret values, such as API keys or credentials, are hard-coded directly into the source code. Storing secrets in code makes them easily accessible to anyone with code access and increases the risk of accidental exposure.

Impact#

If attackers gain access to these secrets, they can compromise accounts, access sensitive data, or perform unauthorized actions in external systems. This can lead to data breaches, service abuse, and loss of control over critical resources.