Skip to content

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

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

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]