LS-PAY-001: PayPal Client Secret¶
| Severity | HIGH |
| Blast radius | Payment processing and customer financial data |
| Rotate at | https://developer.paypal.com/dashboard/applications |
If this leaks¶
Combined with the client ID, allows obtaining OAuth access tokens to act as the application, including initiating payments and accessing transaction data.
What to do¶
- Rotate or revoke the credential at https://developer.paypal.com/dashboard/applications.
- 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¶
(?i)paypal(?:.{0,20})?client[_-]?secret\s*[=:]\s*['\"]?(E[A-Za-z0-9_-]{79})['\"]?
Suppress¶
On one line: # leakscan:ignore LS-PAY-001. For the whole project:
disable_rules: [LS-PAY-001]