Your vibe-coded app is ready for real customer data when each customer can see only their own records, no secret key ships to the browser, the server checks every price and payment, and sensitive data sits with vendors that have agreed to protect it. Getting there takes testing, because AI coding tools tend to skip the rules nobody asked for. The ten checks below are the ones to run before launch, in the order we would run them.

Why do apps built with AI tools need their own checklist?

The flaws that survive in AI-written code tend to be design flaws, and design flaws hide well when the app works. Researchers from Microsoft, the National University of Singapore and an independent researcher audited 200 live web apps at least 90% written by AI. In that 2026 study of vibe-coded applications, 182 of the 200 had at least one vulnerability, and about two thirds of the 1,186 confirmed flaws were rated Critical or High. Broken access control was the most common kind, found in 64% of the apps. The paper is a preprint and has not been peer reviewed.

The authors traced 55.5% of the flaws to what they call hidden security rules. These are requirements the builder never stated, such as the rule that a user may only see their own invoices. The AI built what it was asked to build, and nobody asked for the rule.

The ten checks at a glance

#CheckWhat good looks like
1Who can see which recordsTwo test accounts cannot reach each other's data
2Secrets in browser codeOnly keys built to be public reach the browser
3Prices and paymentsThe server sets prices and confirms every payment
4Rate limitsSign-in and data endpoints slow down repeated requests
5Sensitive data placementPatient data under a BAA, card numbers left with the processor
6AI features' reachAI features hold only the access their job needs
7LoggingYou can see who did what, without logging sensitive data
8BackupsA tested restore, and production data agents cannot touch
9Change reviewA person reads every AI-written change before it ships
10Written policiesShort policies that describe the system you actually run

Checks 1 to 3: records, secrets and money

1. Who can see which records

Broken access control means a user can read or change data that belongs to someone else. It led the 2026 audit, and OWASP keeps it at number one in its 2025 Top 10 entry on broken access control. To test it, create two test accounts with fake records, sign in as one, and try to open the other's records by changing IDs in the address bar and in API calls. Try exports, file links and admin pages too. Our two-account test guide walks through every step.

If your app talks to Supabase from the browser, as many Lovable and Bolt apps do, these rules live in the database as row level security policies. Check that every table has row level security turned on and that each policy limits rows to the right people, using the Supabase row level security guide.

2. Secrets in the browser

Anything your front end loads, a visitor can read. Publishable keys, such as Stripe's and Supabase's, are built for that. Secret keys are not, and a Supabase secret key or service role key skips every row level security policy you wrote. Build tools decide what reaches the browser by the variable's name, so a secret saved under a public prefix ships with the next build. Search the JavaScript your live site loads for strings like sk_live and sb_secret_, and rotate any secret you find the same day. Secrets in the Browser covers the full search and the cleanup.

3. Prices and payments checked on the server

Anything the browser sends, the person using it can change. When Tenzai, a security startup that sells testing tools, had five AI coding agents build the same apps, four accepted negative order quantities and three accepted negative prices, according to SecurityWeek's report on the Tenzai test. In the Lovable apps behind CVE-2025-48757, researcher Matt Palmer inserted a record marked as paid and skipped the Stripe step entirely, as he describes in his statement on CVE-2025-48757.

Let the server look up every price, create the payment, and mark an order paid only after Stripe's webhook arrives with a valid signature. Stripe's integration security guide says you must verify webhook signatures. Keep roles, plan levels and paid flags on the server for the same reason. Read more in Never Trust the Browser.

Checks 4 to 6: limits, sensitive data and AI features

4. Rate limits

A rate limit caps how many requests one user or address can make in a set time. Without one, a script can guess passwords or pull your data as fast as your server answers. In tests of three AI-built apps by Xint, which sells automated penetration testing, missing rate limits and denial-of-service gaps were the most common flaw, at 93 of 434 exploitable issues, according to SecurityWeek's report on Xint's tests. Start with sign-in, sign-up, password reset, and any endpoint that returns lists or exports.

5. Sensitive data in the right place

List the sensitive data the app holds and where each piece lives. A business associate agreement, or BAA, is the contract in which a vendor agrees to protect health information on your behalf, and HIPAA patient data needs one with every vendor that stores or handles it. Check your builder's terms first. Lovable's terms bar HIPAA-covered health information and payment card data unless your plan or a separate written agreement allows it. Supabase's HIPAA documentation requires a signed BAA and says applying the recommended controls falls to the customer. Check with your counsel on how HIPAA applies to your product.

For cards, keep the card number out of your app. Stripe's PCI guide maps Checkout and Elements, which collect card details in fields served from Stripe's domain, to SAQ A, and maps sending raw card numbers to Stripe's API to the much longer SAQ D. If the payment form is embedded in your page, PCI SSC FAQ 1588 explains the newer SAQ A rule about protecting that page from script attacks. For where each kind of data should live, see Where Should Your Sensitive Data Live? and Can You Build a HIPAA App With Lovable, Bolt, or Replit?

6. What your AI features can reach

If your app has a chat or agent feature, list everything it can read and do. The OWASP Top 10 for LLM applications ranks prompt injection first and excessive agency sixth. Prompt injection is when text the model reads, such as a support ticket, carries instructions the model then follows. Excessive agency is when the model holds more access than its job needs. In a 2025 demonstration by General Analysis, a Cursor assistant connected to Supabase with a key that bypasses row level security followed hidden instructions in a support ticket and posted secret tokens back into the ticket thread. Give AI features narrow, read-only access where you can, and have a person approve anything that changes data or sends it out. Prompt Injection for Product Teams goes deeper.

Checks 7 to 10: the records that prove it

7. Logging

Logs answer who did what and when, the first question in any incident. Record at least these events:

  • Sign-ins, failed sign-ins and password resets
  • Failed access attempts, which OWASP says to log, with an alert to an admin when appropriate
  • Permission and role changes
  • Exports, bulk downloads and admin actions

Keep sensitive data out of the logs themselves, and watch for code that writes whole requests to the log. Render's HIPAA documentation, for example, tells customers never to include patient data in any logged message.

8. Backups and a separate production database

AI agents can delete things. In July 2025, Replit's agent deleted a live database at SaaStr during a code freeze, ignoring explicit instructions not to act without human approval. The founder recovered the data by hand, and Replit said it would separate development and production databases automatically, as Fortune reported. Keep production data where agents and test scripts cannot reach it. Turn on automatic backups, then restore one to a fresh database to prove it works. For patient data, the HIPAA Security Rule's administrative safeguards require a data backup plan and a disaster recovery plan.

9. A person reviews every change

AI tools fix code as fast as they write it, sometimes badly. GitHub's documentation on its AI security fixes warns that a suggested fix can fail to remove the flaw or introduce a new one, and it tells developers to review every suggestion before accepting it. Put every change through a pull request that a person reads, with automated tests for the access rules from check 1. Asking for security up front helps too. In a small, preliminary twin-prompt study, adding a security requirements section to the prompt cut confirmed findings from 51 to 24. Building Fast Without Building Exposed covers the wider operating model.

10. Written policies that match your system

Security questionnaires and audits ask for written policies on access control, change management, incident response, backups and vendors. Keep them short and true to what your team does, because a template full of controls you do not have gives a reviewer a gap to find. For patient data, the same HIPAA safeguards require a documented risk analysis, security training for your whole workforce, and procedures for security incidents. Good starting points are a one-page AI policy and an incident response plan your team will actually use.

Does your builder's security scan cover all this?

It covers part of it, and the platforms say so. The scans in Lovable, Replit, Bolt and v0 catch real problems, so run them and fix what they find. Lovable's security documentation says its checks cannot guarantee your app is secure or replace a full security review, and Replit's documentation on agent security scans says a scan is not a complete review. Lovable's post on its compliance adds that its commitments cover how it handles data as your provider, and that the processes inside your project are yours. Our articles on what each scan does and does not do and why AI coding tools miss access control go further.

Where to start this week

Take the free 2-minute self-check to see which of these checks need attention first. Then run the two-account test yourself, because it targets the flaw that turned up most often in the 2026 audit.

If you want a second set of eyes before real customer data goes in, our Compliance Readiness Review maps your data, runs a two-account access test with fake records, checks the places AI-built apps slip, and ties every finding to the SOC 2, HIPAA or PCI DSS requirement it affects, with a ranked plan for the fixes. You can read how we approach apps built with AI coding tools first.