LS-PAY-002: Razorpay Key ID¶
| Severity | HIGH |
| Blast radius | Payment processing and customer financial data |
| Rotate at | https://dashboard.razorpay.com/app/keys |
If this leaks¶
Identifies the Razorpay account; combined with the key secret it allows creating orders, capturing payments, and issuing refunds.
What to do¶
- Rotate or revoke the credential at https://dashboard.razorpay.com/app/keys.
- 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¶
rzp_(?:live|test)_[A-Za-z0-9]{14,}
Suppress¶
On one line: # leakscan:ignore LS-PAY-002. For the whole project:
disable_rules: [LS-PAY-002]