Skip to content

LS-STRIPE-002: Stripe Live Publishable

Severity HIGH
Blast radius Payment integration abuse
Rotate at https://dashboard.stripe.com/apikeys

If this leaks

Lower risk than the secret key, but combined with other leaked information it can be used to create tokens or charges against the account in some configurations.

What to do

  1. Rotate or revoke the credential at https://dashboard.stripe.com/apikeys.
  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

pk_live_[0-9a-zA-Z]{24,}

Suppress

On one line: # leakscan:ignore LS-STRIPE-002. For the whole project:

disable_rules: [LS-STRIPE-002]