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

Description#

Sensitive Snyk API tokens are hard-coded directly into the source code. Storing credentials this way exposes them to anyone with access to the code repository, making it easy for secrets to be accidentally leaked.

Impact#

If an attacker obtains the exposed Snyk API token, they could access your Snyk account, view or modify vulnerability data, or abuse your security scanning resources, potentially leading to compromised project security and unauthorized use of your services.