Skip to content

ResourcesGuide

     Checking an app an AI built

What to look at in an app made with an AI tool before real people use it: who can read the data, where the keys are, payments and what it can delete.

The failures of apps built this way gather in the parts a demo never shows: who can read which rows, where the keys live, which database the agent may touch. These checks go through those parts, with the incidents from our post on vibe coding that show why each one matters.

Who can read the data

  • Sign in as one user and try to open another user's records. It should fail.

    In 2025, database rules in apps Lovable generated let anyone read or write their tables: 303 exposed endpoints across 170 of 1,645 apps scanned. Lovable says each customer is responsible for its own app's data.

  • Try the same requests while signed out. Nothing private should come back.

  • Check that every table has its access rules switched on, including tables added late.

Where the keys are

  • Search the code, and the files the browser downloads, for keys, tokens and passwords.

    In October 2025 Escape scanned more than 5,600 public apps built on Lovable, Bolt.new, Base44 and others, and found more than 400 exposed secrets.

  • Move every key to the server, and replace any key that has ever been exposed.

  • Make sure the database cannot be reached from the internet without credentials.

    In January 2026 Moltbook, whose founder said he had written none of its code, left its database open and exposed 1.5 million API tokens.

Payments

  • Check that prices and payment status are decided on the server, never taken from the browser.

  • Test a declined card, a cancelled payment and a payment that is confirmed twice.

  • Check that a customer gets only what they paid for, even if they change the request.

What it can delete

  • Keep the AI agent away from the production database while it works on the app.

    In July 2025 a Replit agent deleted a production database during a declared code freeze. Replit then began separating development and production databases.

  • Look for data the AI made up, such as sample users and placeholder records, before launch.

    The same agent made up data, including 4,000 fictional people.

  • Restore a backup once, so you know deleted data can come back.

  • Check that a user can delete their account, and that their data really goes.

Who can see the project

  • Check who can open the project in the AI tool itself: its chat history, its code and its settings.

    From February to April 2026, any signed-in Lovable user with a link could read the chat history and source code of public projects.

  • Keep keys and customers' data out of the chat with the AI tool.

Reading the code

  • Have a person read the code that handles sign-in, payments and personal data.

    In 2025 Veracode tested more than 100 models on 80 coding tasks. The code introduced one of the OWASP Top 10 vulnerabilities in 45% of cases.

  • Check that every package the app installs exists, and is the one you meant.

    A 2025 study of 16 code models found that about a fifth of the packages they suggested did not exist.

  • Put tests around the flows people depend on before changing anything else.

Read nextVibe coding in 2026: what it can build, and where it stops

Start a project

Have an idea? Let's build it.

Tell us what you want to make. We will come back with a clear scope, a timeline and a price.