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 passwords, are hard-coded directly into the source code. This exposes secrets to anyone with code access and increases the risk of accidental leaks through version control or code sharing.

Impact#

If attackers gain access to the source code, they can easily extract hard-coded credentials, allowing unauthorized access to critical systems or data. This can lead to data breaches, service disruption, or further compromise of infrastructure.