Skip to content

LS-SNYK-001: Snyk API Token

Severity HIGH
Blast radius Security finding exposure
Rotate at https://app.snyk.io/account

If this leaks

Allows reading vulnerability reports and project details for your organization.

What to do

  1. Rotate or revoke the credential at https://app.snyk.io/account.
  2. Check the provider's audit logs for use you don't recognise.
  3. Remove it from git history (leakscan purge --help) and load it from an environment variable or secret manager instead.

Pattern

(?i)(?:snyk)[\w.\-]{0,25}['\"]?\s*(?::=|=>|[=:])\s*['\"]?([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})(?![A-Za-z0-9])

Suppress

On one line: # leakscan:ignore LS-SNYK-001. For the whole project:

disable_rules: [LS-SNYK-001]