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 or JWT secrets appear to be hard-coded directly in the source code. Storing secrets in code exposes them to anyone with repository access, increasing the risk of unauthorized access.

Impact#

If attackers gain access to hard-coded secrets, they could impersonate users, access protected resources, or compromise systems. This can lead to data breaches, unauthorized actions, and damage to the application’s security and reputation.