Free outside check

Scan a Cursor-built app for leaked keys

Apps built in Cursor are often Next.js, and sometimes Vite. In Next.js, NEXT_PUBLIC_ values are inlined into the browser bundle at build time. In Vite, VITE_ values are bundled onto import.meta.env. In either case, a secret under the public prefix ships to anyone who loads the page.

This page is an outside check of the published URL — not a Cursor project or a repository link. You can start with a one-minute look in DevTools, then paste the live URL your visitors open.

What commonly leaks in a Cursor-built app

  • Secrets baked in through NEXT_PUBLIC_ or VITE_ variables. Confirm which bundler the repo uses, then treat the matching public prefix as visible in the client. That is a leak when the value is an OpenAI or Anthropic key, a Stripe secret (sk_) or restricted (rk_) key, a GitHub token, an AWS access key ID, a PEM private key, a Supabase sb_secret_ key, or a JWT whose role is service_role. A Supabase anon or publishable key is meant to be in the browser, but a service_role key is not.
  • A public /.env or /.git/config. If the published origin answers those paths with real file contents, environment values or repository config may be readable by anyone.
  • Missing security headers. The scan reads the HTML response for Content-Security-Policy, HSTS (on HTTPS), clickjacking protection, nosniff, Referrer-Policy, and Permissions-Policy.
  • TLS problems. No redirect to HTTPS, an untrusted certificate, or a certificate close to expiry.

A 60-second check you can do yourself

Open the live site as a stranger would see it. This is a quick read of files the browser already downloads — not a login, and not a database check.

  1. Open the published site in a private window, logged out. Use the URL visitors open, not cursor.com or a repository URL.
  2. Open DevTools (right-click the page, then Inspect) and go to the Sources panel.
  3. Search across files (Ctrl+Shift+F or Cmd+Shift+F in Chrome) for sk_, service_role, and sb_secret_.
  4. A Stripe secret, an OpenAI or Anthropic key, a GitHub token, a PEM private key, an AWS access key ID, a Supabase sb_secret_ key, or a JWT whose role is service_role should not be in those files. A Supabase anon or publishable key is meant to be in the browser.

Scan the live URL

Paste the URL your visitors open, like your-app.vercel.app or your own domain. The form rejects editor, dashboard, and repository links. The score is free. Confirm you own the app or have permission to scan it.

What the scanner does — and does not do

The form above runs the same scanner as the homepage:

  • A passive GET of the page you submit, plus same-site JavaScript (at most 25 files / 12 MB).
  • One GET each to /.env and /.git/config.
  • Security headers on the HTML response, and the TLS certificate when the site is HTTPS.
  • In that downloaded text, it looks for leaked Stripe sk_ and rk_ keys, OpenAI-style keys, Anthropic keys, AWS access key IDs, GitHub tokens, PEM private key blocks, Supabase sb_secret_ keys, and JWTs whose role is service_role.

It does not:

  • Test Row Level Security policies or database grants.
  • Query your database.
  • Check storage-bucket rules.
  • Log in, submit forms, or crawl other pages.

The full list is on how the free scan works. A clean score means none of the public leaks it looks for were found — not that the app is secure.

Free scan and the paid fix report

The score is free. Fix report is $9, one-time. 10 fix reports is $29, one-time. There is no subscription. Prices are on the homepage pricing section.

Related guides

  • NEXT_PUBLIC_ and VITE_ API keys — No. Next.js inlines NEXT_PUBLIC_ into the browser bundle at build time, and Vite bundles VITE_ onto import.meta.env. What is safe to expose, and how to keep secrets on the server.
  • Supabase service_role key exposed — Found your Supabase service_role key in your frontend? Here's why it's critical, how to check, and the exact steps to rotate it and move it server-side.
  • Is my vibe-coded app secure? — Built your app with AI? Here's how to tell if it's secure: what attackers look at first, how to check it yourself in 10 minutes, and what an automated scan can and can't tell you.

Looking for a different builder?

FAQ

What does this scan check?+

It is a passive GET of the page you submit, plus same-site JavaScript (at most 25 files / 12 MB), one request each to /.env and /.git/config, security headers on the HTML response, and the TLS certificate when the site is HTTPS. In that downloaded text it looks for leaked Stripe sk_ and rk_ keys, OpenAI-style keys, Anthropic keys, AWS access key IDs, GitHub tokens, PEM private key blocks, Supabase sb_secret_ keys, and JWTs whose role is service_role.

Does it test Row Level Security or storage buckets?+

No. It does not test Row Level Security policies or database grants, query your database, check storage-bucket rules, log in, submit forms, or crawl other pages. A clean score means none of the public leaks it looks for were found — not that the app is secure.

What is free, and what does the paid report cost?+

The score out of 100 is free and shown when the scan finishes. Fix report is $9, one-time. Unlock every copy-paste fix prompt for this scan. 10 fix reports is $29, one-time. Unlock this report + 9 credits for re-scans after every deploy. There is no subscription.