Guide · AI-built apps

Is your AI-built app ready for real users?

Not until someone has checked what a demo doesn't show. If your app works as a demo, you already have something valuable: a version that makes clear what the product should do. App builders such as Lovable, Bolt, v0 and Replit, and AI code editors such as Cursor, get you to that first version quickly. Building an app by describing to an AI what you want is known as vibe coding. What is often missing is invisible on screen: who can read each record, where the access keys for the database and payments are kept, what happens when a payment notification arrives twice, and how you get your data back if something is deleted. You can test several of these yourself in an afternoon, and what you find tells you where to start looking and what to ask whoever reviews the app.

Why “it works in the demo” isn't enough

A demo is tested by one person, with made-up data, along the expected path. Real use raises other questions: what each account can see, what happens if someone alters what the app sends to the server, whether a payment survives a dropped connection, and how you recover a table deleted by mistake. If nobody asked those questions while building, the app can look fine in the demo and fail on exactly those points.

The vendors say so themselves. Lovable runs security checks, some of them automatically before you publish, yet its documentation states that you remain responsible for your app's security and that those checks can't replace a full security review. Lovable Cloud is the part of Lovable that stores the data and manages users. Lovable describes it as built on the open-source foundation of Supabase, a database service. In its checklist for AI-built projects, Supabase writes that AI coding tools prioritise speed over security, scalability and maintainability. The common gaps it lists include keys written into the code that runs in the browser, missing checks on what users enter, poor error handling, sign-in without proper safeguards, and no monitoring, backups or recovery plan.

A 2025 study tested coding agents, AI tools that write and test code on their own. They worked on 186 tasks from open-source projects in which human developers had once introduced a security flaw. With the agent and model combination that solved the most tasks, 57% of the solutions worked, but only 11.8% both worked and were secure. The study doesn't evaluate tools like Lovable or Bolt, and the tasks were chosen because they were security-sensitive, but it illustrates the point: code that works is not necessarily secure.

In the demoWith customers
UsersYou, with a test account.Many accounts that must not see each other's data.
DataMade up; losing it doesn't matter.Personal data you must protect and be able to restore.
PaymentsA test card and the confirmation page.Real charges, refunds and notifications that may arrive more than once.
ErrorsYou reload the page and carry on.Someone has to notice and find out what happened.
What changes when a demo meets real customers.
A card model of a house with a finished front; along the side, the bare balsa frame is exposed, and a clamp holds a new beam marked with a green tab.
Illustration. From the front it looks finished; behind it, the structure still has to be checked and reinforced.

The most serious gaps: who sees what, and where the keys are

The failure with the worst consequences is also the hardest to spot on screen: one person being able to see or change another person's data. In Supabase, every table the app can reach needs Row Level Security (RLS): rules in the database that decide which rows each user may read or change. If RLS is not enabled on a table, Supabase's Security Advisor warns that anyone with your project URL can read, edit and delete all the data in it. That URL is no secret; it is in the app's code, where anyone can find it. Firebase, Google's comparable service, has a test mode that grants access to everyone and asks you to set up your rules before you publish.

Checking permissions only in the interface isn't enough. Lovable points out that checks running in the browser can be inspected, modified or bypassed, so the server has to enforce them. OWASP, a non-profit known for its Top 10 list of web application risks, ranks broken access control first in its 2025 edition. One of its example attacks is simply changing the account number in the URL to see someone else's data.

The same applies to keys, the codes that let the app use services such as the database or payments. Some are designed to be public, such as the publishable keys of Supabase and of Stripe, the payment service. Others give full access: a Supabase secret key skips every RLS rule, and a Stripe secret key can create charges and read your account data. Secret keys belong on the server. Lovable stores them in its Secrets feature and warns that any secret that has been in the code running in the browser should be considered compromised. If that has happened, replace the key and update it wherever the app uses it.

Payments, backups and errors nobody sees

If the app takes money, an order can't depend on the customer reaching the “payment complete” page. Stripe explains that someone can pay and lose their connection before that page loads. Stripe therefore has to tell your server directly, through a webhook: an automatic message one service sends to another when something happens. The server has to check that each message really comes from Stripe, record each purchase only once even if the same message arrives twice, and cope with messages arriving out of order.

Backups tend to be taken for granted. Lovable's documentation says Lovable Cloud backs up the database daily and keeps the backups for about 14 days; uploaded files such as photos or documents are not included. If you connected your own Supabase project, Supabase's documentation says automatic daily backups come only with paid plans and also leave out uploaded files; on the free plan, it recommends exporting your data regularly. Until a copy has been restored somewhere other than the live app, you don't know whether you can get your data back. Lovable warns that a restore in Lovable Cloud always replaces the project's own database and can't be undone. To test a restore safely, a developer loads an export into a separate Supabase project of your own.

Finally, someone has to find out when something fails: a sign-up email that never arrives, a declined payment, a page that shows an error. Supabase recommends sending sign-up and password emails through your own email provider instead of its default service, so that you control their delivery. Its checklist for AI-built projects also advises basic error tracking before real users arrive.

What you can check yourself before paying anyone

You don't need to code to do a first pass. You need an afternoon, two test accounts and access to the dashboards of the services the app uses.

  • Inventory: write down where each part lives (the builder, the database, the domain, payments, email and the code) and whose name it is in. Ideally everything sits in company accounts, with at least two admins and two-factor sign-in.
  • Two accounts: with account A, create something of your own (an order, a record, a document) and copy the URL of its page. Sign in as account B and open that URL. Then open one of B's own items (create one if B has none). In the address bar, replace the item's ID (the number or code that identifies it) with the one from A's URL. If B can see or change A's item, don't open the app to customers until that is fixed. If B can't, that is a good sign but not proof: the screens may hide data the database would still return, which is why the next check matters.
  • Security warnings: run your tool's scan (in Lovable, from the project's Security view) and, if you connected your own Supabase project, open its Security Advisor. Start with the most serious findings, labelled Critical in Lovable's documentation and Error in Supabase's, such as tables without RLS.
  • Payments: in a Stripe sandbox (test mode), fill in the payment details with one of the test cards from Stripe's documentation, press the pay button and close the window straight away, before the confirmation page loads. Check in the Stripe dashboard that the test payment succeeded. If it isn't there, the window was probably closed too soon: repeat the step. If it is, open the app again. If the app doesn't show the order or whatever was paid for, or the dashboard lists failed webhook deliveries, payments aren't being confirmed on the server. Finally, refund the test payment and check that the app reflects the refund. If the app already takes real payments, don't test with a real card (Stripe's documentation says this is prohibited); leave this check to whoever reviews the app.
  • Export: try to get a copy of the code (as a download or through GitHub sync) and of the data. If you can't work out how, that's the first question for whoever reviews the app.
  • Bills: open the billing page of every service and note what you pay each month and what rises with usage.

Take screenshots of what you find, keeping keys and customers' personal data out of the frame. They give whoever reviews the app a head start.

Fix it, rebuild part of it or wait

The decision doesn't depend on whether an AI wrote the code, but on where the problems sit. If they're concentrated in permissions, keys and payments, and the way data is stored fits your business, you fix what's there. If every change breaks something else, or the data is organised for a situation that isn't yours, rebuilding that part usually pays off.

Rebuilding doesn't mean throwing the work away. The app you have is the best specification you could ask for: screens, steps and wording you have already shown to real people. You can keep what users see and rebuild what sits behind it.

And if nobody has used it yet, it may be too early to invest in securing it. To find out whether an idea interests people, a demo with made-up data and no payments is enough; the app needs proper security as soon as real personal data or real money is involved.

The problems are in permissions, keys or payments, and the data fits the business
Fix what's there, with a test for every correction.
Every change breaks something else and nobody can explain how the app is organised
Rebuild the core and use the current screens as the reference.
The data is designed for another case, such as individual accounts where you need team accounts
Redesign the data model and move the existing data across.
You need something the platform doesn't allow, such as moving the data to servers in another region or reaching your business management software (ERP) when it only accepts connections from your own network
Move the code and hosting into your own accounts.
Nobody has used it yet
Test the idea with a demo before investing in security.
How I frame the decision, depending on what a review turns up.
An upturned dark wooden stool with one new pale leg carrying a green tag; the broken old leg lies on the bench beside a mallet and a chisel.
Illustration. Replace the part that failed and keep the rest of the piece in use.

If you're still validating the idea, compare what a demo, a prototype or an MVP can prove.

Own the code, data and accounts, and know the running costs

Before you pay for fixes, check that you can take what you're building with you. According to its documentation, Lovable lets you sync the code with GitHub on any plan and download it on paid plans. On GitHub, a widely used code-hosting service, the code sits in a repository that keeps every earlier version. Data is a separate matter: moving the database from Lovable Cloud to your own Supabase project means exporting and restoring it, then moving files, sign-in settings and secrets separately. If you built the app in an editor such as Cursor, the code is already on your computer; what matters is that it is also in a repository owned by the company.

Look at the running costs too. Lovable's credits page says each change you ask for in Build mode uses credits depending on its complexity, and that Lovable Cloud and the AI features of your published app draw on the same balance. According to the same page, if the credits run out, apps that use Lovable Cloud pause and their AI features stop working. If you use your own Supabase project, Supabase's pricing page says free projects are paused after a week of inactivity; a paused project has to be resumed before the app works again. Add up what you pay for the builder, the database, AI models, the domain and email, and switch on spending limits wherever they exist.

If you store data about people: GDPR basics

If your business is in the EU or your app serves people there, the GDPR applies as soon as the app stores names, email addresses or any other personal data. Your company will usually be the controller: the party legally responsible for that data. Services that store or process the data for you, such as hosting, the database, email or the provider of an AI model, usually act as processors. The European Commission explains that this relationship must be governed by a contract and that you may only use processors that provide sufficient guarantees. That contract is usually called a data processing agreement (DPA); find each provider's DPA and keep a copy. Other countries have their own rules.

Check where the data is stored as well. In Lovable, for example, the region is set when Lovable Cloud is enabled: by default the one closest to you, unless you choose another or your workspace sets one. Lovable's documentation says the region can't be changed afterwards. Keep only the data the app needs. If a breach is likely to put people at risk, you must notify the relevant data protection authority without undue delay and at the latest within 72 hours of becoming aware of it. If you handle health data or other special categories of data, or data about children, also ask a data protection specialist.

If you want to keep using the builder

You don't have to stop using Lovable after a review. Its GitHub sync works in both directions: a developer can fix the code in the repository while you keep asking for changes in the chat. The risk is that a later change quietly undoes a fix.

To prevent that, agree what the tool may change without review, such as wording, screens or styling, and what a person must always review: permissions, payments and database changes. Important fixes should be covered by automated tests that run on every change. The two-account check, turned into an automated test, is a good example: if a change lets one user see another user's data again, the test fails and flags it before you publish.

To work out which tests to ask for and how to check them, read how to develop software with AI in a verifiable way.

What a review should give you, and what to ask

A useful review ends with a document you can understand and check, not a page of jargon. It should set out:

  • Each problem with its severity, who it affects and how to reproduce it.
  • Which keys need replacing and which accounts should move into the company's name.
  • A reasoned recommendation: fix, rebuild part of the app or wait.
  • The estimated effort for each fix, so you can decide where to start.
  • How you will be able to confirm that each fix works.

Before you give a reviewer access, ask whether they will start with read-only permissions, whether they will work in your accounts and your repository, what is outside the scope of the review, and whether they will sign a data processing agreement before looking at personal data.

Sources and further reading

Questions before we start

Are apps built with Lovable or Bolt insecure?

Not inherently. These tools produce code that can be reviewed and fixed like any other, and Lovable runs its own checks. The risk lies in publishing an app before anyone has checked permissions, keys and payments, and the same is true of hand-written code.

Do I have to rebuild the app before customers can use it?

Not necessarily. If the problems are in permissions, keys or payments and the way data is stored fits your business, you can fix what's there. Rebuilding part of it usually pays off when every change breaks something else or the data is designed for a different case.

Can I keep making changes with the builder afterwards?

Usually, yes. Agree with whoever reviews the app which changes a person must always review, such as permissions, payments or the database, and keep automated tests that warn you if a later change undoes a fix.

How much does it cost to review or fix an AI-built app?

It depends on the size of the app, whether it stores personal data or takes payments, and what the review turns up. We start with a free 30-minute video call to look at what you have. After that I send you the scope and price of the review in writing, and the price of each fix before I make it.

What do you need to review my app?

Read-only access to the code, as a repository or an export, and to the database and payment dashboards, or screenshots of what you see there. For most checks, test accounts and test data are enough.

Contact

Let’s discuss your project.

5.0 out of 5 on Google

Write to me here.

Send a short description and I’ll reply by email.

Fields are required unless marked optional.

✳ Use the project assistant

Add details (optional)

I’ll use your details to respond to your enquiry and send you an automatic confirmation email. The form uses Cloudflare spam protection and delivers your message to me. The submission includes the form page and, when available, campaign and source labels. How I handle your data

PROJECT ASSISTANT

Prepare a summary of your project

Not sure how to explain it? My assistant asks a few questions and helps you prepare a summary to send me.

Open project assistant
Project assistant

Project assistant

ARTUR PUIG

Which tool did you build your app with, and what worries you?

Describe your project in a sentence or two. I’ll ask a few questions to help prepare a brief for Artur.

By sending, you confirm you are 18+ and agree to Google processing your idea. Artur keeps the chat for 14 days and receives a summary. A 30-minute session cookie protects this chat. Do not include sensitive data. Google ↗ · Privacy

Want a rough cost first? Try the project calculator

Prefer a call? Choose a time

For English and German projects, I mainly communicate in writing, with short calls when useful.

ARTUR PUIG · Free · 30 min · Google Meet

Choose a time for your consultation

For English and German projects, I mainly communicate in writing, with short calls when useful.

Connect on LinkedIn

Based in Barcelona · Working remotely