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

Description#

Sensitive credentials, such as API keys or secrets, have been found directly in the source code. Storing credentials in code makes them easily accessible to anyone with code access, including attackers.

Impact#

If these hard-coded secrets are leaked (e.g., through a public repository), attackers could gain unauthorized access to services or data, potentially leading to data breaches, service abuse, or financial loss for the organization.