Stripe live secret key
Part of Security, which counts for 30% of the overall score. When this check fires it deducts 25 points from that category, once per scan, no matter how many places it turns up.
What it detects
A Stripe live secret key (sk_live_...) was found. It can create charges, issue refunds, and read customer and payment data on the live account.
Why it matters
A Stripe live secret key can create charges, issue refunds, and read customer and payment data on the live account. A leak is a direct financial and privacy risk. Stripe and GitHub scan for the sk_live_ prefix and will often flag it, but you still must rotate.
How to fix it
Move the key into a server-side environment variable, read at runtime, and never ship it to the client. Roll the key in the Stripe dashboard API keys page after removing it. Use restricted keys where a full secret key is not needed.
The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing
Does your repo trip this check?
Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.
Scan your repo