Secrets & Exposure
critical Severity
Free Check
Exposed API Keys & Credentials
Scans JavaScript bundles and responses for leaked API keys (OpenAI, Stripe, AWS, SendGrid, GitHub).
Why It Matters
Leaked credentials give malicious actors direct access to databases, cloud computing, and customer payment data.
How We Check This
We run regular expression patterns matching Stripe (sk_live_), AWS (AKIA...), GitHub tokens, and OpenAI secret keys across public scripts.
How to Fix & Implement
Copy-paste configuration blocks tailored for your web server or edge proxy.
nginx snippet
# Immediately revoke leaked keys and move secrets to server-side environment variables
Frequently Asked Questions
How did my API key get in the frontend build?
Prefixing environment variables with NEXT_PUBLIC_ or hardcoding them into client components inlines them into JS bundles.