AppInspected

Claude Code security check for your deployed app

Built it with Claude Code 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, .git and Claude Code settings 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 Claude Code checks, and what it can't see

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

  • Security guidance plugin (all plans). Once installed, Claude reviews its own changes while it works: a pattern check on each file edit (such as eval( or dangerouslySetInnerHTML), a background review of each turn's diff, and a deeper review when Claude commits or pushes. It doesn't block writes or commits, and Anthropic calls it "one layer of defense in depth, not a complete security solution".
  • /security-review runs one security pass over the changes on your current branch, when you ask for it.
  • Claude Security plugin (paid plans). /claude-security runs a multi-agent scan of the whole repository or a diff, writes a report into a CLAUDE-SECURITY-<timestamp>/ folder and can draft patches, which are never applied automatically.
  • Code Review (Team and Enterprise plans) reviews pull requests for correctness and security.

Anthropic's docs are plain about the limit: these reviews read "the source code in your checkout, not a running site or deployed service." That's the gap this check fills. A key Claude moved into a VITE_ variable "to fix an error" is copied into the JavaScript every visitor downloads (secrets in VITE_ variables); with Next.js, every NEXT_PUBLIC_ one is (secrets in NEXT_PUBLIC_ variables). A .env file your host serves as a static file, or source maps left on, look fine in a code review and 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.

The Claude Code file to watch: .claude/settings.local.json

When you answer a permission prompt with "Yes, and don't ask again", Claude Code saves that approval as an allow rule in .claude/settings.local.json, and the saved command can include a token you typed or pasted. Claude Code adds the file to your global git excludes the first time it writes it, so it stays out of your commits. It doesn't stay out of a zip upload, an npm publish, or a host that serves your project folder instead of the build output. The free check looks for a public /.claude/settings.local.json and marks it critical when a credential is in it: Claude Code settings file exposed.

A permission deny rule such as Read(./.env) stops Claude from reading your secrets file. Like any rule about what the AI reads, it doesn't change what your build ships or what your host serves.

What we check on an app built with Claude Code

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.
Claude Code settings files
Whether /.claude/settings.local.json can be downloaded from your site, and whether a token is in it: Claude Code settings file exposed.
MCP config files
Whether your project’s /.mcp.json (made to be committed) can be downloaded, and whether an API key is written into it instead of a ${VAR} reference: API keys in .mcp.json.
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.
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 hand straight to Claude Code.

Fix what the check finds, with Claude Code

  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, so .env, .git and .claude/ stay off your site, 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 Claude Code do it (below).

Or ask Claude Code to do it

Paste this into Claude Code. Review each change before you accept it, and 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 (never the project root, .env, .git or .claude/), 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 Claude Code

Claude Code can run this check itself. Add our remote MCP server once:

claude mcp add --transport http appinspected https://appinspected.com/api/mcp

Then ask it to check your production address after each deploy. Each finding comes back with the matching fix guide, so Claude can fix it in the same session, and /security-review or the Claude Security plugin can cover the code side.

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. Claude Code's reviews 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

Claude Code, Vite and Next.js details checked against their documentation on November 16, 2026.

Questions

Is code written by Claude Code safe to deploy?

It can be, but Claude Code leaves that judgment to you. Its security tools review code as it's written, on your branch or in pull requests, and Anthropic describes them as one layer of defense in depth. 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 /security-review check my live site?

No. It runs one security pass over the changes on your current branch. Anthropic's docs say Claude Code's reviews read the source code in your checkout, not a running site or deployed service. This check covers the deployed side.

Do I need the Claude Security plugin if I use this?

They do different jobs. The plugin (paid plans) scans your repository or a diff with several agents and drafts patches you apply yourself; this check reads the deployed app from outside, the way a stranger would, after it ships. Running both is the safest habit.

Is .claude/settings.local.json safe?

It's meant to stay on your machine, and Claude Code adds it to your global git excludes the first time it writes it. It can still end up public through a zip upload, an npm publish or a host that serves the project folder, and it can hold tokens from commands you approved with "don't ask again". See Claude Code settings file exposed.

Does a deny rule for .env keep my keys safe?

A rule like Read(./.env) stops Claude from reading the file. It doesn't change what your build bundles into the JavaScript (VITE_ and NEXT_PUBLIC_ values) or what your host serves, which is what strangers see.

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