Back to the site

· 4 min read

Is your AI-built app safe? 7 things to check before real users arrive

Short answer: an app built with AI can be perfectly safe, but AI tools rarely make it safe by default. The most common problems are secret keys visible in the browser, database rules that let anyone read everyone’s data, and logins that are only checked on the screen, not on the server. None of these show up in a demo. All of them show up when the wrong person looks.

Lovable, Bolt, Cursor, Replit and Claude Code will build exactly what you ask for. Security is usually the part nobody asked for. Below are the seven checks I’d do before letting real people sign up, pay or upload anything. You won’t be able to do all of them yourself, and that’s fine: knowing what to ask is half the job.

The 7 checks

1. No secret keys in the browser

Anything your app sends to the browser can be read by anyone who opens the page. Payment keys, AI keys, database admin keys and email service passwords must live on the server, in environment variables. A public “anon” or publishable key is meant to be visible; a secret or service key never is. If you’re not sure which is which, assume it’s secret.

2. Database rules: can one user see another user’s data?

This is the big one. Many AI-built apps use a hosted database where access rules decide who can read and change each row. If the rules are off or too loose, any logged-in user, sometimes anyone at all, can read every customer’s records. Test it: create two accounts and check that account A can never see or edit anything that belongs to account B, not even by changing a number in the address bar.

3. Logins checked on the server, not just on the screen

Hiding a button from people who aren’t logged in isn’t security. The server has to refuse the request too. The same goes for admin pages: if “admin” is just a page that isn’t linked anywhere, it isn’t protected.

4. Payments confirmed by the payment provider

Your app should unlock a purchase only when the payment provider confirms it, not when the browser says “success”. Otherwise someone can skip the payment and still get the product. Check refunds and failed payments too.

5. Limits on forms and sign-ups

Without limits, a bot can create thousands of accounts, send thousands of emails through your contact form or run up your AI bill overnight. Add basic rate limits, spam protection and spending caps on paid APIs.

6. Backups you’ve actually restored

A backup you’ve never restored is a guess. Make sure your database is backed up automatically, and try restoring a copy once. AI agents can and occasionally do delete data when asked to “clean things up”.

7. Dependencies and updates

AI tools add packages freely. Some are outdated, some are unnecessary, and the odd one doesn’t exist and gets “invented”. Check that every package is real, needed and up to date, and turn on automatic security alerts if your code host offers them.

Warning signs you can spot without reading code

  • You can see other people’s names, orders or messages anywhere in the app.
  • Changing a number in the page address shows someone else’s page.
  • The AI told you to “turn off” a security setting to make an error go away.
  • You pasted a key into the chat and it ended up in a file.
  • Nobody can tell you where the data is stored or how it’s backed up.

If any of these sound familiar, stop adding features and get it checked. More of the same is covered in why Claude Code says “done” when the app doesn’t work.

UK data rules in brief

If your app collects personal data such as names, emails or anything about health, money or children, UK GDPR applies. In practice that means a clear privacy policy, collecting only what you need, keeping it secure and knowing what you’d do if it leaked. Most organisations that handle personal data also need to pay the ICO’s data protection fee unless they’re exempt, and serious breaches have to be reported to the ICO within 72 hours. This is a summary, not legal advice; the ICO’s own guidance for small businesses is the place to check.

How I can help

I build with AI tools every day and review every change myself before it goes live, so I know where they cut corners. An AI build check is the simplest place to start: I go through your app, including these seven points, and send you a written list of what’s wrong, how serious it is and a fixed price to fix it. If you go ahead, the check is taken off the fix, development included.

Free PDF

Before you launch: the AI-built app checklist

36 checks to run before real people sign up, pay or trust your app with their data: security, logins, payments, the screens AI forgets, phones, Google and UK basics.

No spam, and I never share your email. Privacy policy

Done ✓

Here’s your checklist

Your PDF is ready to download.

Download the PDF

Common questions

Are apps built with AI less secure?

Not by nature. They’re less likely to have had anyone think about security, because the person building may not know what to ask for. The same mistakes appear in hand-written code; AI just makes them faster to produce.

Can I ask the AI to check its own security?

Yes, and you should. It catches some things. But it only checks what it knows to look for and can sound sure either way, so a person who knows the common holes should look too.

Is my data safe with Supabase, Firebase or similar?

The services themselves are well run. The risk is usually in how the app is set up on top of them, especially the access rules.

Do I need a penetration test?

For a small app before launch, a careful review of the basics above is usually enough. A formal penetration test makes sense once you handle sensitive data at scale or a client asks for one.

Tatiana, designer behind Tatiana Digital

Tatiana · UX/UI, web & product designer in the UK with 10+ years across B2B and B2C. I design and build websites, online shops, web products and apps for businesses of every size. Back to the site

Planning a website?

Tell me about your business, and I’ll suggest what fits.

You’ll get a short brief made for your project, then a clear, fixed price.

Start a project

Follow my workInstagramTikTok