Skip to content

LS-NETLIFY-001: Netlify Access Token

Severity HIGH
Blast radius Deployment pipeline and secrets compromise
Rotate at https://app.netlify.com/user/applications#personal-access-tokens
--verify GET https://api.netlify.com/api/v1/user

If this leaks

Allows deploying sites, reading environment variables and managing DNS for the account.

What to do

  1. Rotate or revoke the credential at https://app.netlify.com/user/applications#personal-access-tokens.
  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

\bnfp_[A-Za-z0-9]{36}\b

Suppress

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

disable_rules: [LS-NETLIFY-001]