Skip to content

LS-DB-010: Supabase API Key

Severity HIGH
Blast radius Database and API access
Rotate at https://supabase.com/dashboard/project/_/settings/api

If this leaks

Acts as the project's anon or service key depending on type, potentially allowing access to tables exposed via the project's API.

What to do

  1. Rotate or revoke the credential at https://supabase.com/dashboard/project/_/settings/api.
  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

\bsbp_[a-f0-9]{40}\b

Suppress

On one line: # leakscan:ignore LS-DB-010. For the whole project:

disable_rules: [LS-DB-010]