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

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.