Moses Oluwole, home

Built your app with AI? Check these 10 things before launch

AI tools can build a working app in a weekend. Here are ten checks, most of which you can do yourself, to make sure it's safe for real users and real data.

AI coding tools have changed what one person can build. With Lovable, Bolt, Cursor, Replit or Claude, a founder with no engineering background can have a working app — sign-up, database, payments — in a weekend. That's genuinely remarkable, and for testing an idea it's often the right way to start.

But "it works when I click through it" and "it's ready for real users" are different things. The first is a demo. The second means strangers can sign up, put in personal data, pay you money and poke at your app in ways you never planned for. The gap between the two is where AI-built apps tend to get into trouble.

This isn't an anti-AI article. It's a checklist. Most of these checks you can do yourself in an afternoon, without reading a line of code.

Why the problems stay hidden#

AI tools build what you ask for, and you mostly ask for features: a login page, a dashboard, a checkout. You rarely ask for the things that stop someone else misusing those features, because you don't see them in the demo. Everything works on the happy path, so everything looks finished.

The evidence that this matters is piling up:

None of these are exotic attacks. They're the basics, missing. Which is good news: the basics can be checked and fixed.

The 10 checks#

1. No secret keys in the browser#

Some keys are meant to be public; many are not. A secret key for your database admin, payment provider, email service or AI model sitting in your front-end code can be read by anyone who opens their browser's developer tools. GitGuardian counted 28.65 million secrets leaked in public code in 2025 (opens in a new tab), and AI-generated code was a notable contributor.

How to check: open your app, right-click, choose Inspect, and in the Sources or Network tab search for words like secret, sk_, service_role or api_key. If you find a secret key, treat it as compromised: move it to the server and generate a new one.

2. Users can only see their own data#

This is the single most common serious problem, and it's what caused the Lovable and Moltbook exposures. If your app uses Supabase or Firebase, the database itself needs rules saying who can read and write each record. Without them, anyone with your public key can query everything.

How to check: create two test accounts. As account A, create something private — an order, a message, a document. Log in as account B and try to reach it, for example by changing an ID in the address bar. If you can see it, you have a problem.

For Supabase, the fix is Row Level Security with a policy for each table. A minimal example:

alter table invoices enable row level security;

create policy "Users can read their own invoices"
  on invoices for select
  using (auth.uid() = user_id);

3. Hidden isn't the same as protected#

AI tools often protect admin features by hiding the button. But the server endpoint behind that button usually still works for anyone who calls it directly. Every action that changes or reveals data needs a check on the server that the person asking is allowed to do it.

How to check: ask whoever built it, or ask the AI tool directly: "For every API route, where do we check that the user is logged in and allowed to do this?" A vague answer is your answer.

4. The server checks everything it's sent#

Validation in the browser is for convenience; validation on the server is for safety. Anyone can bypass your form and send your server whatever they like — a negative quantity, someone else's user ID, a 10 MB "name", or a price of £0.01.

How to check: ask whether every form and API route validates its input on the server, including lengths, types and allowed values. Never let the browser decide prices, discounts or permissions.

5. Limits on how fast anyone can hit you#

Without rate limiting, a single script can try thousands of passwords, sign up thousands of fake accounts, flood your contact form, or — increasingly painful — call your AI-powered feature in a loop and run up your model bill overnight. In the Tenzai study, only one of the 15 AI-built apps even attempted rate limiting.

How to check: see whether login, sign-up, password reset, contact forms and any AI endpoints limit repeated requests. Also set a spending cap with your AI provider today; it takes two minutes.

6. Security headers and cross-site protection#

Browsers have built-in protections, but your app has to switch them on with a few response headers: a Content Security Policy, HSTS to force HTTPS, and protection against your pages being embedded in someone else's site. Forms that change data also need protection against requests forged from other sites.

How to check: enter your URL at securityheaders.com (opens in a new tab). A low grade isn't a disaster, but it's a quick, visible improvement — and in the Tenzai study, none of the 15 AI-built apps set any of these headers.

7. Payments confirmed on the server#

If your app takes money, the browser should never be trusted to say "payment succeeded". Your server should confirm it directly with the payment provider, usually through a signed webhook, before granting access or shipping anything.

How to check: ask how the app knows a payment really happened. "The success page loads" is the wrong answer; "we verify the provider's signed webhook on the server" is the right one.

8. Errors you hear about, and users don't see#

When something breaks, users should see a friendly message, not a stack trace revealing your file paths and database details. And you should find out without waiting for a customer to email you.

How to check: visit a page that doesn't exist and submit a form with nonsense in it. Then ask: if this crashed at 2am, how would I know? If the honest answer is "I wouldn't", add error monitoring.

9. Backups you've actually tested#

There have been widely reported incidents (opens in a new tab) of AI agents deleting or overwriting production data. Even without an AI involved, mistakes happen. A backup only counts if you've restored from it at least once.

How to check: confirm automatic backups are switched on, how long they're kept, and try restoring one to a separate test database. Keep AI agents and test scripts well away from your live database credentials.

10. Dependencies you know about#

AI tools pull in third-party packages freely — sometimes outdated ones, sometimes packages the app doesn't use, occasionally ones with names that look right but aren't the package the AI intended. Each one is code running inside your app.

How to check: for a JavaScript project, run npm audit and look at the results. Ask for anything unused to be removed, and keep the rest updated.

A note on personal data#

If UK users put personal information into your app, UK GDPR applies however the app was built. You need to know what data you collect, where it's stored, who can access it, and how someone can ask for it to be deleted, and you need a privacy notice that says so. Checks 1, 2 and 9 above do a lot of the practical work.

If your app failed some of these#

Don't panic, and don't assume you need to start again. Most of these problems are fixable in days, not months, and the fix is usually adding the missing safeguard rather than rebuilding the feature. A sensible order is: secret keys first, then data access rules, then everything else.

Rebuilding is worth considering only when the problems run through the whole app — no clear separation between the browser and the server, data rules that can't be added without restructuring everything, or code that nobody, including the AI, can explain.

Keep the speed, add the safety net#

AI tools are a genuine advantage for getting a first version in front of users. The founders who get the most from them treat the AI-built version as a strong first draft: they keep the speed, then have the foundations checked before real users and real money arrive.

If you'd like a second pair of eyes on an app you've built, that's exactly the kind of review and fix work I do — or if you're planning a first version, see how I approach building MVPs. You can also tell me about your app; a rough description is enough to start.

Want a straight answer for your project?

Discuss a project