Skip to content

LS-SENTRY-001: Sentry Auth Token

Severity HIGH
Blast radius Error monitoring data exposure
Rotate at https://sentry.io/settings/account/api/auth-tokens/
--verify GET https://sentry.io/api/0/

If this leaks

Allows reading error events (which often contain stack traces, user data, and environment variables) and managing projects per the token's scopes.

What to do

  1. Rotate or revoke the credential at https://sentry.io/settings/account/api/auth-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

\bsntry[su]_[A-Za-z0-9+/=_]{38,}

Suppress

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

disable_rules: [LS-SENTRY-001]