Stripe secret key committed to your code
A live Stripe secret key is written into a server file instead of being kept in Replit's Secrets pane, so anyone who can see the repo can use it.
- file
- server/payments.ts
- line
- 7
- key
- sk_live_51H…a9Q
Rotate the key in your Stripe dashboard first. Removing it from the code does not remove it from the repo's history.