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¶
- Rotate or revoke the credential at https://app.snyk.io/account.
- Check the provider's audit logs for use you don't recognise.
- 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]