A pre-launch security checklist for AI-built apps

Published 2026-11-16, updated 2026-11-30 by Nordik. Written with AI from the sources listed at the end.

The short version

The risk
AI builders make it easy to launch an app whose data rules are too open or whose secret keys reach every visitor.
Does it affect you?
Yes, if you built your app with Lovable, Bolt, v0 or a similar tool and real users are about to sign up.
What to do
Run the twelve checks below, data and keys first. About two hours the first time, ten to twenty minutes per release after that.

Rather not read it all? Copy this for your AI tool. Paste it into the tool you build with. It asks the tool to check your app for the problems in this guide and explain what it finds in plain words. Nothing is changed.

See the prompt
Before I launch, check my app against this list and do not change anything yet. 1. Row Level Security is on for every table with user data. 2. No policy lets visitors who are not signed in read private data. 3. One signed-in user cannot read or change another user's records. 4. No secret key is in code that runs in the browser. 5. No secret is in a VITE_ or NEXT_PUBLIC_ variable. 6. No .env file is committed. 7. Live and test keys are separate. 8. Password reset and email confirmation work. 9. Admin pages require an admin. For each item, answer Pass, Fail or Could not check, with the file or table and one plain sentence why.
Jump to a part (12)
  1. Your data
  2. Your keys
  3. Your sign-in
  4. Your pages and forms
  5. Your safety net
  6. How to score yourself
  7. What the built-in scans add
  8. Why each item earns its place
  9. Things the checklist does not try to cover
  10. A realistic time budget
  11. Make it a habit, not a hurdle
  12. When to bring in a second opinion

This is a checklist you can run yourself in an afternoon. It is written for people who built an app with an AI builder and have never done a security review. Each item says what to check, why it matters, and how you know you passed.

Your data

The database is where your app keeps its data, and a table is one list of records in it. Row Level Security (RLS) is the database's own set of rules about who may read or change each record.

  • 1. RLS is on for every table with user data. Why: the Supabase documentation says to enable it on every table in an exposed schema. Pass: each table shows RLS enabled.
  • 2. You can explain every policy (one of those rules) in one sentence. Pass: no policy allows anonymous visitors to read private data.
  • 3. The two-account test passes. Pass: account B cannot open account A's records. OWASP, a nonprofit that lists common security problems, ranks this problem, broken access control, first in its 2025 list.

These three matter most. If you only have an hour, spend it here. Data rules are where the largest leaks in apps like yours come from, and where an AI builder's default is most likely to be too open.

Your keys

A key is a long password your app uses to prove who it is to another service. A secret key is one that must stay hidden, because it opens everything. Browser code is what every visitor downloads.

  • 4. No secret key in browser code. Pass: a search of your page source for secret and service_role finds nothing.
  • 5. No secret in a VITE_ or NEXT_PUBLIC_ variable. A variable is one named setting, and a name starting with either prefix is copied into the code every visitor downloads. Both documentation sets say those prefixes publish the value.
  • 6. .env files are not in your repository. A .env file is a settings file where an app keeps its keys, and a repository is the folder that holds your app's code and its history. GitHub secret scanning can alert you if a credential is committed, which means saved into that history.
  • 7. Test and live keys are separate. Pass: production (the live app) uses live keys, preview (a test copy) uses test keys.

Your sign-in

  • 8. Password reset and email confirmation work end to end. Why: a broken reset flow locks out real users on day one.
  • 9. Admin pages need an admin, not just a signed-in user. Pass: a normal test account cannot open them.

Your pages and forms

  • 10. Open every page signed out. Pass: nothing private appears.
  • 11. Try odd input in each form. Pass: no crashes, no raw code showing on the page.

Your safety net

  • 12. You know how to replace a key (make a new one and turn the old one off) and how to put the previous version of your app back online. Pass: you have written down the steps.

How to score yourself

  • Mark each item pass, fail or not sure.
  • Fix the fails first, starting with data and keys.
  • Treat "not sure" as a fail until you have tested it, because an unchecked rule protects nobody.
  • Run the list again after any large change from your AI builder, since new features can quietly change data rules.

What the built-in scans add

Lovable's documentation describes a Quick scan at publish and a deeper scan you can run on request, and notes neither replaces a professional review for sensitive data. Run them. They are a good second layer after your own checklist.

Why each item earns its place

The list is short on purpose:

  • Items one to three cover who can read your data, where a leak does the most harm and where an AI builder's defaults are most likely to be too open.
  • Items four to seven cover keys, because a single exposed secret can let a stranger spend your money or read your records.
  • Items eight and nine cover the doors people use every day, sign-in and admin.
  • Items ten and eleven catch what you only notice by using the app like a stranger.
  • Item twelve is the one people skip: knowing how to recover is what turns a bad day into a short one.

Things the checklist does not try to cover

It does not cover legal duties such as privacy notices and rules about children's data, which depend on where you and your users are. It does not cover performance, backups or uptime. It does not test how your app behaves under attack.

Those are real topics, and a professional should look at them if your app is more than a side project. What the list does is remove the cheap, common mistakes so that a reviewer's time goes to harder questions.

A realistic time budget

  • Data checks: about forty minutes the first time.
  • Keys: twenty minutes.
  • Sign-in and pages: thirty minutes.
  • Safety net: fifteen minutes.

Roughly two hours, then ten to twenty minutes per release afterwards. Most of the time goes into learning where things are in your dashboards, which you only do once.

Make it a habit, not a hurdle

Copy the twelve items into a note and tick them off with the date. Next release, you only re-check the items the change could have touched.

Over a few releases the list becomes second nature, and the habit is worth more than any single review. If a check surprises you, write down what you found and how you fixed it. The pattern tells you where your builder tends to slip.

When to bring in a second opinion

If your app handles payments, health or financial details, children's data, or anything your users would be upset to see leaked, ask for an independent review before launch.

Sources

Each source below was accessed on the date shown. Documentation changes over time, so check the source for the current wording.

  • Supabase documentation, Row Level Security, accessed 2026-11-16
  • Supabase documentation, API keys, accessed 2026-11-16
  • OWASP Top 10:2025, A01 Broken Access Control, accessed 2026-11-30
  • Vite documentation, Env variables and modes, accessed 2026-11-16
  • Next.js documentation, Environment variables, accessed 2026-11-16
  • Lovable documentation, Security, accessed 2026-11-16
  • GitHub documentation, About secret scanning, accessed 2026-11-16

See what your live app shows strangers

Paste the link to your app: in under a minute the free scan shows what your live app hands to any visitor, and where to look first. No sign-up, and it never signs in or changes anything.

Run a free scan

Want the code itself read? Order the $49 audit or see a sample report. Your card is held and charged only when your report is delivered. It is not a pentest: the audit is done by AI, and a second AI checks each serious finding.