Is your AI-built app secure? 8 checks before you launch

Most leaks in AI-built apps come from the same few mistakes. Here is how to check for each one in an afternoon, before real users arrive.

An AI-built app is only as safe as its database rules and its keys. Your AI builder writes the code fast, but your data sits in a Supabase database attached to your app, and whether strangers can read it depends on settings you are responsible for. Eight checks cover the mistakes that have exposed real apps.

The same checks apply to apps built with Bolt, Cursor, Replit or v0. They need no security background, only access to your project.

What has gone wrong with AI-built apps before?

  • Missing row level security. A 2025 scan found 170 of 1,645 sampled AI-built apps let anyone read personal information, recorded as CVE-2025-48757. Emails, phone numbers, payment status and API keys were readable without signing in.
  • Whole projects readable. In April 2026 The Next Web reported a flaw that let any free account read other users' public projects, source code and database credentials. It stayed open for 48 days and affected projects created before November 2025.

Neither problem needed a skilled attacker. Both came down to defaults nobody checked.

Can strangers read your database?

  • 1. Row level security is on for every table. Supabase's documentation warns that "a table in an exposed schema without RLS is readable and writable by any role with a grant on it." Open the Table Editor and look for any table marked unrestricted.
  • 2. Every policy matches who should see the data. RLS switched on with a policy of true is the same as RLS off. A row of user data should be readable only by its owner, usually with a rule like (select auth.uid()) = user_id.
  • 3. Nobody can write where they should only read. Check insert, update and delete rules separately. An open write policy lets anyone change prices, roles or other people's records.

Are your keys where they belong?

  • 4. No secret key in the browser. The Supabase anon key is meant to be public. The service role key, your Stripe secret key and any AI provider key are not. Search your live site's JavaScript for sk_ and service_role.
  • 5. No AI key in the app at all. Calls to OpenAI, Anthropic or Gemini should go through a server function. A June 2026 Wake Forest University study found 282 of 444 iPhone apps with AI features exposed credentials or backend access.
  • 6. No secrets in your Git history. Deleting a key from the code does not delete it from earlier commits. GitGuardian counted 28.65 million new secrets pushed to public GitHub in 2025. If a key was ever committed, rotate it.
Run the 8 checks free

SIGSHIP, our free open-source launch check, reads your repo on your computer and lists what blocks launch, worst first.

Try SIGSHIP

Can someone abuse your money flows?

  • 7. Your Stripe webhook checks its signature. Stripe signs every event in the Stripe-Signature header. If your endpoint skips the check, anyone can send a fake "payment succeeded" and unlock paid features. Stripe's documentation explains how to verify it.
  • 8. Your AI routes have a spending brake. An AI endpoint with no rate limit lets one script run up your bill overnight. Add a per-user limit in your code and a monthly cap with your provider.

How do you run all eight checks quickly?

You can work through the list by hand in an afternoon. We also built SIGSHIP, a free, open-source check that reads your repository on your own computer and reports these mistakes in plain words, worst first. Run npx sigship in your project folder. It needs Node.js 22 or later, uploads nothing and gives you a fix you can paste back into your AI builder.

A clean result means those checks found nothing that blocks launch. It is not proof that an app is safe, so keep a human review on anything that handles payments or personal data. Our prototype to production checklist covers the rest of launch readiness.

What should you do if you find a problem?

  • Rotate first. Treat any exposed key as stolen. Create a new one, deploy it, then revoke the old one.
  • Close the door. Turn on RLS and add policies before you announce anything.
  • Check the logs. Supabase and Stripe both keep logs. Look for reads or events you do not recognise.
  • Get advice if data was read. Depending on where your users live, you may have to tell them. Ask a lawyer.

Questions

Are AI app builders safe to use for a real product?

An AI app builder can produce a real product, but the safety of your data depends on your database rules and how keys are handled. Check row level security, keys and webhooks before launch.

Is the Supabase anon key safe to expose?

Yes. The anon or publishable key is designed to be public, as long as row level security is on and every table has the right policies. The service role key must never reach the browser.

How do I know if my AI-built app has row level security?

In Supabase, open the Table Editor and the Policies page. Every table in the public schema should have RLS enabled, with policies that limit rows to the right users.

What is CVE-2025-48757?

A 2025 vulnerability record for AI-generated projects with missing or weak row level security, which left personal data in 170 projects readable without signing in.

Does a security scanner prove my app is safe?

No. A scanner finds known mistakes. A clean result means it found nothing it checks for, not that the app has no flaws.

Have an idea? See what it would take to build it.

The Idea Lab turns a two-sentence idea into a build plan: why it could work, what to get right first, the first version worth building and its price. Two minutes, from our published rates.

Open the Idea Lab

Next: Is it your app or a provider outage? How to tell in a minute

Tell us what you're building.

Thirty minutes with a senior engineer. You leave with a plan and a price, whether or not you work with us.

Book a callGet your price