AgentDecoy · AI-built websites

Built your site or app with AI? Here is why attackers check it first

Tools like Lovable, Bolt, v0, Replit and Cursor can ship a working app in an afternoon. They can also ship its secret keys to every visitor’s browser, and attackers know it. The free scan checks your site the way they do.

Scan your AI-built site, free

Free. Reads only what any visitor can see. You see the result here and get the report with the fix steps by email. By pressing Scan you agree that Kyle Clouthier (Clouthier Simulation Labs, simgen.dev) can email you this report, a re-scan in 3 days, and at most one email a month after. Unsubscribe any time.

Why AI-built sites are a favourite target

An AI builder writes the code that works first, not the code that is safe first. The most common result is a secret key placed in the front-end code, where anyone who opens the page source can copy it. Wiz, the cloud security company, reported that third-party API keys and service credentials were often hardcoded into the client-side JavaScript of vibe-coded apps.

The second is a database left open. Apps built on Supabase ship a public key on purpose, and the database rules are meant to protect the data. Wiz reported that attackers look for apps that expose that key, then check which tables they can read. A passive scan of about 31,000 live apps in August 2026 found that 57% of the reachable Supabase apps allowed signed-out table reads.

The third is the AI itself: an AI feature called from the browser, an MCP server or model server left open, or the coding tool’s own config files deployed with the site. Scanners now ask for those files by name, and they ask our decoys for them every week.

And attackers are fast: on our own decoys, a stolen fake cloud key was used to try for admin rights 2 hours 39 minutes after it was taken.

What the free scan checks on an AI-built site

From the outside, reading only what any visitor can see:

  • secret keys in your public JavaScript, in 17 formats: AI services (OpenAI, Anthropic, Groq, xAI, OpenRouter, Hugging Face, Replicate), payments (Stripe), cloud (AWS, private keys), code (GitHub, GitLab, npm), store admin (Shopify) and email (SendGrid, Slack)
  • a Supabase master key (service_role) in the browser: the key that skips every database rule. The public anon key is not flagged; it is meant to be public
  • your AI coding tool’s files left in the published folder: .cursor/mcp.json, .mcp.json, .vscode/mcp.json, .claude/settings.json, CLAUDE.md, AGENTS.md, .cursorrules
  • AI called straight from the browser, AI routes in your page code, and a system prompt anyone can read
  • an MCP server or a self-hosted AI server answering without sign-in
  • source maps and dev servers left on in production
  • a Supabase or Firebase database key in the page: once you install, the deep scan counts which tables a signed-out visitor can read (counts only, never rows)
  • secret files open to anyone at the addresses attackers try first, unguarded login forms, and hidden or invisible text aimed at AI agents

If the scan finds a key

Treat the key as stolen, because it may already be. Issue a new key in the provider’s dashboard, revoke the old one, and move the call that uses it to a server-side function (for Supabase, an Edge Function) so the key never reaches the browser again. Then ask your AI builder to keep secrets on the server: most will, once told.

The free result tells you what kind of key it is and what it can do. Which key and where goes only to the owner, after you prove the site is yours, because anyone can scan any site.

Apps drawn by JavaScript

Many AI-built apps send an almost empty page and draw everything in the browser. The scan reads the page the way a fast scanner does, so on these apps it cannot see forms or page text, and it says so on the result instead of quietly passing them. The key and file checks still run, because they read your script files directly.

Questions

Are websites built with AI less secure?

Not by nature, but the common mistakes are predictable: secret keys in front-end code, database rules never set, and no bot guard on login forms. Those are exactly what attackers scan for, so AI-built sites get checked first.

Is my Lovable or Supabase app safe?

The public anon key in your app is fine by design. The risks are database rules that were never set, and the service_role key ending up in the browser. The free scan flags a service_role key in your page code. Install AgentDecoy and the deep scan uses your own public key to count which tables a signed-out visitor can read, without reading a row.

What should I do if my OpenAI or Anthropic key is in my front-end code?

Revoke it now and issue a new one, then move the AI call to your server. Stolen AI keys are resold, and you pay for whatever is run on them.

Does the scan change anything on my site?

No. It reads only what any visitor can see, the way a browser does. It never logs in and never submits a form.

Sources: Wiz: common security risks in vibe-coded apps, Vibe coding security report, August 2026, Our live decoys

Want it done for you?

Every result lists the fixes with starting prices, or I can look at your site with you. Pro re-checks it every week for $12 a month, 7 days free.