LS-STRIPE-001: Stripe Live Secret Key¶
| Severity | HIGH |
| Blast radius | Payment processing and customer financial data |
| Rotate at | https://dashboard.stripe.com/apikeys |
--verify |
GET https://api.stripe.com/v1/account |
If this leaks¶
Allows full access to the live Stripe account: charges, refunds, customer payment data, payouts, and account configuration.
What to do¶
- Rotate or revoke the credential at https://dashboard.stripe.com/apikeys.
- 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¶
sk_live_[0-9a-zA-Z]{24,}
Suppress¶
On one line: # leakscan:ignore LS-STRIPE-001. For the whole project:
disable_rules: [LS-STRIPE-001]