Did your website leak an API key?
AI-built apps and quick front-end launches often ship secret keys inside the page, where anyone can copy them. Scanetra checks your homepage's public code for them in about a minute, and tells you how to fix what it finds.
- No account
- Key values never shown or stored
- Private 7-day report
What it finds
Real secrets, not noise.
Provider secret keys
Keys that match a provider's documented secret format, in live or test mode.
Private keys
PEM private-key blocks pasted into page code.
Credentials by name
Long, random values under names like apiKey, secret or token.
Safe keys, labelled
Publishable keys and documentation examples are noted, not flagged, so you aren't chasing false alarms.
Recognised key formats
Why it matters
A leaked key is a running tab.
Bots read public pages for keys all the time. A working AI or payment key can be used to run up bills, read your data or act as your account.
The usual cause is simple: a secret put in a front-end environment variable such as NEXT_PUBLIC_, VITE_ or REACT_APP_, which the build copies into the page.
Guide: how keys leak and how to fix it →The check in detail →
Questions
- Is it safe to scan for keys? Will you see my key?
- The scanner removes each key's value before anything is stored. The report shows the type of key and where it is in the page, never the key itself, and nothing is exported with it.
- Where does it look?
- In your homepage's public HTML and the inline scripts in it: what anyone gets by viewing the page source. It doesn't crawl other pages, log in or run JavaScript.
- Does Scanetra test whether the key works?
- No. It never uses or tests a key it finds. A match on a provider's secret format is treated as a real exposure, because the safe assumption is that it works.
- I found an exposed key. What now?
- Revoke or rotate it in the provider's console first, since it may already have been copied. Then move the calls that use it to your server. The guide below walks through both.
More than keys
The same free scan also checks HTTPS, security headers, cookies, malware signs, blacklists, email records and AI integrations. See all checks
Only scan sites you own or may test. Safe scanning policy