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

Description#

Sensitive private keys have been found hard-coded in the source code. Storing credentials or secrets directly in code makes them accessible to anyone with code access, increasing the risk of leaks.

Impact#

If an attacker gains access to the repository, they can use these private keys to impersonate users, access protected systems, or steal sensitive data. This can lead to unauthorized access, data breaches, or compromise of critical infrastructure.