LS-STRIPE-005: Stripe Webhook Secret¶
| Severity | HIGH |
| Blast radius | Payment event forgery |
| Rotate at | https://dashboard.stripe.com/webhooks |
If this leaks¶
Lets an attacker forge webhook events your backend will trust, such as fake successful payments.
What to do¶
- Rotate or revoke the credential at https://dashboard.stripe.com/webhooks.
- 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¶
\bwhsec_[A-Za-z0-9]{32,}\b
Suppress¶
On one line: # leakscan:ignore LS-STRIPE-005. For the whole project:
disable_rules: [LS-STRIPE-005]