AppInspected

Cursor security check for your deployed app

Built it with Cursor and deployed it to Vercel, Netlify, Cloudflare, Firebase or your own server? Paste the live address. We read it the way a stranger's browser does and flag secret keys in the JavaScript, downloadable .env and .git files, source maps and missing headers. Free, about 20 seconds.

Free. No sign-up. We only read what your visitors' browsers already read.

Passive and read-only. Works with any public site, including apps built with Lovable, Bolt, v0, Replit, Base44, Cursor, Windsurf and Claude Code.

AppInspected
App
Waiting for your address
Checked
–
Critical issues
–
Not checked yet
Your result fills in this tag. Nothing is stored.

What Cursor checks, and what it can't see

Cursor writes and edits your code; the app your users open runs on whichever host you deploy it to. Cursor's own security features all work on the code side:

  • Bugbot reviews pull request diffs and comments on bugs, security issues and code quality problems. It runs on each PR update or when someone comments cursor review or bugbot run, and it's billed by usage. It doesn't read credential files such as .env or *.pem.
  • Security Review (Teams and Enterprise plans only) adds an agent that checks pull requests before they merge and a Vulnerability Scanner that scans the codebase on a schedule.
  • Ignore files. Cursor skips files listed in .gitignore, .cursorignore and a default list that includes .env*, so the AI doesn't read your secrets file. Cursor notes that complete protection isn't guaranteed and that the Agent's terminal and MCP tools can't block access to ignored files.

None of these looks at what your deployed app sends to visitors. Keeping .env away from the AI doesn't keep its values out of your build: with Vite, every variable starting with VITE_ is copied into the JavaScript the browser downloads (secrets in VITE_ variables); with Next.js, every NEXT_PUBLIC_ one is (secrets in NEXT_PUBLIC_ variables). A key the agent moved there "to fix an error", a .env file your host serves as a static file, or source maps left on are invisible in a diff review but obvious to anyone who opens your site. This check reads the live app from outside, with no access to your repo, and shows what a stranger gets today.

What we check on an app built with Cursor

We load your page and follow up to 25 of its own scripts, the same files a visitor's browser downloads.

Secret keys in the JavaScript
OpenAI, Anthropic, Stripe secret, Resend, SendGrid, AWS, GitHub and other keys that belong in server code. How to fix the most common ones: OpenAI API key in your frontend, Anthropic API key exposed, Stripe secret key exposed.
Database connection strings
A postgres://, MySQL or MongoDB URL with a password in it: database URL exposed.
Supabase and Firebase keys
We decode Supabase keys: the anon or publishable key is expected in the browser, a service_role or sb_secret_ key is critical (Supabase service_role key exposed). The Firebase web config is public by design, so we mark it fine.
Exposed .env and .git
Whether /.env or /.git/ can be downloaded from your site, which happens when a server or static host serves the whole project folder: .env file exposed, .git folder exposed.
Agent settings files
Whether /.claude/settings.local.json is public, the file where Claude Code saves "don’t ask again" commands, tokens included: Claude Code settings file exposed.
MCP config files
Whether /.cursor/mcp.json or /.mcp.json can be downloaded, the files that list your MCP servers and often hold their API keys: API keys in .mcp.json.
Next.js version
For Next.js App Router apps, whether the version in your public JavaScript is one with React2Shell (critical) or the December 2025 Server Components fixes missing: Next.js React2Shell check.
Source maps
Whether your JavaScript's source maps can be downloaded, which makes the original code readable: source maps exposed in production.
HTTPS and security headers
HSTS, Content-Security-Policy, framing protection and X-Content-Type-Options.

Example result

Example free check result: two critical findings (a Supabase service_role key and a Stripe secret key in the JavaScript, both shown cut short), and a medium finding for public source maps, each with a link to a step-by-step fix guide.
A made-up app with secret keys in its JavaScript. Every finding links to a fix you can paste into Cursor's Agent.

Fix what the check finds, in Cursor

  1. Find every key the browser can read

    Search the frontend for import.meta.env, VITE_, process.env.NEXT_PUBLIC_ and keys pasted straight into a file. Values meant to be public are fine: a Supabase URL and anon or publishable key, a Stripe publishable key, a Firebase web config, an analytics ID. Anything else is a secret.
  2. Move the call to your server

    Make the request from a server route (a Next.js Route Handler or Server Action, an Express route, a serverless or Edge Function) that reads the key from a server-only variable, and have the frontend call that route. Guides: OpenAI API key in your frontend, call OpenAI from a Supabase Edge Function.
  3. Rotate anything that was exposed

    Create a new key with the provider, set it in your host's environment variables, redeploy, then revoke the old key. Copies of your old JavaScript are already out there, so deleting it from the code isn't enough.
  4. Stop shipping project files

    Deploy only the build output folder (such as dist or .next), never the project root, and turn production source maps off unless you need them: source maps exposed in production.
  5. Lock down the database

    If the browser talks to Supabase, every table needs Row Level Security with sensible policies (Supabase RLS disabled). On Firebase, your Security Rules do that job (Firestore test mode rules).
  6. Recheck after every deploy

    Paste your address above after any deploy that touches keys, environment variables or the build setup, or let your agent do it (below).

Or ask Cursor's Agent to do it

Paste this into Agent. Review each change before you accept it: Agent edits files in your workspace directly, so keep the project in git.

Do a security review of this app before changing anything, and report back first. 1) List every environment variable the browser code can read (anything starting with VITE_, NEXT_PUBLIC_ or REACT_APP_, or read through import.meta.env) and every key written directly into a file, and say whether each value is meant to be public. 2) For each secret (AI provider keys, Stripe secret key, email API keys, database connection strings, the Supabase service_role key), move its use into server-side code (a route handler, server action, API route or serverless function) that reads it from a server-only environment variable, and make the frontend call that route. 3) In every server route, check that the user is signed in and allowed to access the specific record, return only the fields the UI needs, and rate limit login and AI endpoints. 4) If the app uses Supabase from the browser, list each table with its Row Level Security status and propose policies so users can only access their own rows. 5) Make sure the deploy only publishes the build output folder, production source maps are off, and the host sends HSTS, Content-Security-Policy, X-Frame-Options (or frame-ancestors) and X-Content-Type-Options headers. Then apply the changes I approve, one at a time.

Run the check from Cursor

Cursor's Agent can run this check itself: add our remote MCP server to .cursor/mcp.json, approve the connection, and ask it to check your production address after each deploy. Cursor asks you to approve every MCP connection and, unless you allowlist a tool, each call. Each finding comes back with the matching fix guide, so the agent can fix it in the same chat.

A word on Agent permissions while you're in there: Cursor's Run Everything mode runs every tool call without review, and Cursor says even its default Auto-review mode "is not a security boundary". Keep secrets out of the project folder the agent works in where you can, and review terminal commands that touch keys or deploys.

What this check can't see

It doesn't read your repo, test whether your API routes check who is logged in, or look at your database permissions, and it doesn't try to break in. Bugbot and Cursor's Security Review read code; this check reads the live app. A clean result means none of the problems we check for is visible from outside; it isn't a full audit. The website security report reads much more of your app (up to 40 scripts across 30 pages, admin and paywall checks in the browser, prices sent to checkout, AI APIs called straight from the browser, libraries with known vulnerabilities) and can test Supabase or Firebase rules with your own test accounts.

Website security report

$19 one time

For any website you own: a read-only review of up to 30 pages and 40 JavaScript files (found through your build manifest, routes and sitemap), app logic in the browser (admin and paid-feature checks, prices sent from the browser, AI APIs called directly), headers, cookies and CORS, domain and email records, libraries with known vulnerabilities, forgotten files and third-party scripts, with fixes written for your host. Optional database tests for Supabase or Firebase. Requires proof you own the site.

Example report header: a score out of 100, findings by severity, Download PDF and Email me this report.See an example reportGet the report

Badge + daily monitoring

$9 per month

We repeat the outside checks every day and email you when something changes: a new key in your JavaScript, a removed header, a new third-party script, a certificate about to expire. Includes a live badge and one full website report every 30 days.

How monitoring works

Sources

Cursor, Vite and Next.js details checked against their documentation on November 11, 2026.

Questions

Is code written by Cursor safe to deploy?

It can be, but Cursor leaves that judgment to you: its Agent edits files directly, and its review tools read code, not your live app. Before real users arrive, check where your keys ended up, whether your server routes check who is calling, and what the deployed site gives a stranger.

Does Bugbot catch leaked API keys?

Bugbot reviews pull request diffs for bugs and security issues, so it can flag a key added in a PR. It doesn't read credential files like .env, can't see how your build bundles VITE_ or NEXT_PUBLIC_ variables, and doesn't look at the deployed site. This check does the last part.

Does .cursorignore keep my .env file safe?

It keeps the AI from reading the file in most cases, and Cursor already ignores .env* files by default. It doesn't change what your build ships or what your host serves, and Cursor says complete protection isn't guaranteed and that terminal and MCP tools can still reach ignored files.

Do I need Cursor's Security Review if I use this?

They do different jobs. Security Review (Teams and Enterprise) and Bugbot read your code before it merges; this check reads the deployed app from outside, the way a stranger would, after it ships. Running both is the safest habit.

Is the Supabase anon key in my app a problem?

No, it's designed to be public, as long as every table has Row Level Security turned on with policies that limit what each user can see. The service_role key is the one that must never reach the browser. See Is the Supabase anon key safe?

Which addresses can I check?

Any public address: vercel.app, netlify.app, pages.dev, web.app, your own domain, or a public preview URL. Sites behind a login or password can't be checked, because we only see what a stranger sees.

More free checks and guides