SYM_GEN_0143 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki

Use of Hard-coded Credentials

Property Value
Language regex
Severity low
CWE CWE-798: Use of Hard-coded Credentials
OWASP A07:2021 - Identification and Authentication Failures
Confidence Level Low
Impact Level Medium
Likelihood Level Low

Description

An npm access token has been found hard-coded in the source code. Storing credentials directly in code exposes them to anyone with code access, making it easy for secrets to be unintentionally leaked.

Impact

If an attacker obtains this token, they could gain unauthorized access to your npm account—potentially publishing, modifying, or deleting packages. This can lead to supply chain attacks, data breaches, or loss of trust in your software.