Beamfar

Frontend secret leak checker: are live API keys exposed in your site?

Enter a public website address. Beamfar inspects the rendered HTML, hydration state and up to four first-party JavaScript bundles across 12 live credential families — masking every match and storing nothing.

Public websites only. No account, no cookie. The address and any matched secret are not stored.

What the check looks for

High-precision detectors tuned for production web apps and AI-assisted builds, while ignoring safe publishable keys.

Payment and AI provider secrets
Live Stripe secret and restricted keys (sk_live_, rk_live_), OpenAI keys (sk-proj-), and Anthropic keys (sk-ant-api03-). Safe publishable keys like pk_live_ and placeholders are ignored.
Supabase service_role and database URLs
Decodes JWT claims locally to flag privileged service_role or supabase_admin tokens while ignoring public anon keys, plus non-local PostgreSQL, MySQL, MongoDB and Redis URLs with embedded passwords.
Cloud, Git and messaging tokens
AWS access keys (AKIA/ASIA), GitHub and GitLab personal access tokens, Slack incoming webhooks, SendGrid and Resend API keys, and PEM private key headers.
Hydration payloads and source maps
Inspects __NEXT_DATA__, __NUXT__, inline scripts and up to four same-origin JavaScript bundles, and notes public sourceMappingURL hints.

How to read the result

Matched secrets are redacted immediately — only the provider, a short non-secret prefix and the location appear.

  • Fine means none of the 12 secret families matched in the HTML page or the first-party scripts inspected in this check.

  • Look at this means no live credential matched, but an inspected JavaScript bundle points to a public source map (.js.map) that may expose original source code.

  • Problem means a live secret pattern matched in public HTML, hydration JSON or a script bundle. Rotate the key at the provider first, then move the call behind a server route.

What to do if a live key appears

1. Rotate at the provider first
Treat any key served on a public URL as already scraped. Issue a new secret key in Stripe, Supabase, OpenAI, AWS or GitHub and revoke the exposed one immediately.
2. Remove client env prefixes
Audit NEXT_PUBLIC_*, VITE_*, REACT_APP_* and NUXT_PUBLIC_*. Any variable with a browser prefix is compiled straight into public JavaScript.
3. Proxy through a server route
Call third-party APIs and privileged database queries from a server endpoint, edge function or backend route where environment variables stay on the server.
4. Turn off public source maps
Upload .js.map files privately to your error tracker instead of deploying them beside production bundles.

What happens to the address you enter

One read-only check, raw secrets redacted in memory, and nothing kept afterwards.

Nothing is stored
The address is used for this one check and then forgotten: no database row, no log line, no cookie and no shareable link. Even if a live key is detected, its secret value is never returned, logged or stored — only the vendor name, masked prefix and file location.
Only public websites
Addresses on private networks, loopback, link-local and cloud-metadata ranges are refused, and so are redirects to them. Only ports 80 and 443 are used, and only same-origin first-party scripts are fetched within strict byte and time limits.

The site you check will see requests from Beamfar-probe for the page and up to four first-party scripts. Daily external security scans from Solo run this detector automatically alongside exposed API docs, script injection and CISA KEV checks.

Questions

Will this flag my public Stripe publishable key or Supabase anon key?

No. Publishable Stripe keys (pk_live_, pk_test_), Supabase anon JWTs, localhost database URLs and placeholder examples are explicitly ignored so alerts stay focused on real server credentials.

Does Beamfar store or display the secret key if one is found?

No. Raw credential values are redacted in memory at scan time. The report shows only the provider name, a non-secret 4-character prefix hint and the location where it appeared, and nothing is stored.

Does a clean result mean my entire repository has no leaked secrets?

No. This free check reads the initial HTML response and up to four same-origin JavaScript bundles on the URL you entered without executing JavaScript or signing in. It cannot inspect private routes, lazy-loaded chunks behind logins or Git commit history.

Why do AI-built apps leak keys so often?

AI editors like Cursor, Lovable, Bolt and v0 often wire up prototypes using client-prefixed environment variables (NEXT_PUBLIC_ or VITE_) or serialize full database config objects into __NEXT_DATA__ so the first demo works quickly.

Is the website address I enter stored?

No. The address is not stored or logged. Only hashed rate-limit counters per network range are kept for at most two days.

Catch leaked keys automatically after every deploy.

Beamfar combines daily external secret leak scans, CISA KEV Exploit Watch and two-region uptime monitoring across all your sites. Start with one site on the Free plan.

No card for the Free plan.