AI Built App Security Review | A Pre-Launch Checklist

Shipped fast with Lovable, Cursor or Claude Code? Find out what breaks first, what to fix this week, and what a reviewer should hand back.

  • Why does AI-generated code fail security review so often?
  • What breaks first in an AI-built app?
  • The pre-launch checklist, in order
  • How much does an AI-built app security review cost?
  • What should you ask a reviewer to deliver?
  • Who is qualified to review this, and where do you find them?

Change the record ID in the URL of a live AI-built product while signed in as an ordinary test account, and there is a real chance the database hands back somebody else's data without complaint. Escape.tech ran that class of check across 5,600 publicly reachable applications built on Lovable, Base44, Create.xyz, Vibe Studio and Bolt.new, and found 175 cases of exposed personal information, including medical records and bank details.

A security review of an AI built app comes down to five places where failures cluster, which are database access rules, exposed secrets, authorisation checks, input validation, and unreviewed dependencies. Rotating your keys and switching on row level security costs an afternoon and removes two of the most common causes, after which the work worth paying for is a review of authentication and authorisation.

Why does AI-generated code fail security review so often?

The trend is moving in the wrong direction while adoption accelerates, and Georgia Tech researchers tracking vulnerabilities attributable to AI coding tools recorded more of them in March 2026 alone than in the whole of 2025, reaching 74 confirmed cases and estimating the true count runs five to ten times higher.

The failure behind those numbers is structural rather than the result of carelessness, because models learn their patterns from enormous quantities of code, insecure examples included, without inheriting the defensive instinct experienced engineers build over years. They optimise for output that runs and looks correct, not for output that holds up against somebody actively trying to break it.

Independent measurements land in the same place. Veracode's 2026 report tested more than one hundred models and found that roughly 44% of code generation tasks introduced a vulnerability from the OWASP Top 10, leaving an average security pass rate of 56% against a syntax pass rate close to 100%. That security figure has barely moved from the 55% recorded in the first edition, and coding-specific models did not outperform general-purpose ones.

The obvious defects disappeared while the dangerous ones grew, which is what makes this hard to spot. Apiiro, in research published in September 2025 across large enterprise codebases, found syntax errors dropped 76%, and logic bugs fell 60%, while privilege escalation paths rose 322% and architectural design flaws rose 153%. Those figures come from mature engineering teams rather than solo-built products, so the direction matters more than the exact multiples.

What did not get cheaper is the judgement, because writing the code stopped being the expensive part while deciding whether it can be trusted became the whole cost. That is a shift in where expertise sits rather than a reduction in how much of it you need.

Shipping something rough to find out whether anyone wants it remains sound practice, and testing demand before building is still the cheapest lesson available to an early company. The mistake is never the speed; it is treating the moment real users arrive as a change of category.

What breaks first in an AI-built app?

Most of the damage clusters in a small number of places, and several of them you can check yourself in an afternoon without reading a line of code. The 2025 Escape.tech scan referenced above also counted more than 2,000 vulnerabilities and over 400 exposed secrets across those 5,600 applications, and found that most were reachable without any authentication at all, which is why several of the checks below need neither an account nor access to the code.

The dependency row is a newer problem than it looks, because roughly 20% of AI-generated code samples reference packages that do not exist, and those invented names repeat predictably across similar prompts. Slopsquatting is the name for the resulting attack, where somebody registers a package name that models reliably invent, then waits for a developer to install it.

The pre-launch checklist, in order

Order matters here, because several of these steps are wasted effort if you do them before the ones above. Work down the list rather than picking the items that look most interesting.

  • Stop shipping features and take inventory. List every route, every API endpoint, every database table, and every third-party service holding a key. You cannot secure a surface you have not written down.
  • Rotate every secret, then remove them from the code. Assume anything that ever sat in the repository is compromised. Move keys into environment variables and confirm nothing sensitive reaches the browser.
  • Turn on database-level access rules and verify them. Application-level checks are not enough, because anything bypassing your app talks straight to the database. Test the rules by attempting to read another account's data.
  • Test authorisation as a hostile user, not as yourself. Give a second person an ordinary account and ask them to reach admin functions, other members' records, and anything behind a paywall.
  • Validate every input that reaches storage. Anything a user can type, upload, or send should be constrained on the server, regardless of what the form does in the browser.
  • Audit dependencies against what the project genuinely needs. Remove anything unused and confirm each remaining package is real, maintained, and the one you meant to install.
  • Lock storage and test your backups by restoring one. An untested backup is a belief rather than a control.
  • Add logging that records who did what. Without it, your first incident becomes unanswerable instead of merely expensive.

The categories worth escalating to a person are narrow and well established: authentication flows, authorisation logic, cryptography, input validation, and any code standing between a user and sensitive data. AI assistance performs acceptably on boilerplate, tests, and refactoring. It performs poorly on those five, and those five are where a breach comes from.

How much does an AI-built app security review cost?

Nobody has published defensible market pricing for this work, and the ranges circulating online trace back to vendor marketing pages rather than research, so treat any single figure you are quoted as that vendor's rate card rather than a market rate. What you can do is understand the drivers, because they move the price far more than the choice of reviewer does.

Six factors set the number, beginning with the size of the surface, meaning how many routes and tables exist rather than how many lines of code. Custom authentication roughly doubles the work, and the absence of any tests adds more. Sensitive records pull compliance into scope, and the price shifts again on whether you want findings only, findings plus fixes, or a repair.

Treat those durations as planning guidance for your own budgeting rather than as quoted prices. The genuinely expensive version is none of the above, it is the one bought after an incident, when the technical work is identical but you are also handling disclosure, affected members, and whatever your terms promised them.

What should you ask a reviewer to deliver?

A conversation followed by a reassuring verdict is not a review, so specify the output before the work starts and you will be able to tell afterwards whether you received what you paid for.

  • A written findings list, each item rated by severity, with the file and line where it lives
  • A plain language explanation of what an attacker could actually do with each finding, not only its category name
  • A prioritised fix order, so you can stop at the point where your remaining risk is acceptable
  • Evidence of the checks that passed, not just the ones that failed
  • A short note on the parts they did not examine and why
  • A retest agreement covering the critical items once you have fixed them

One further request gets forgotten almost universally, which is a written record of which parts of the codebase were AI-generated and with which tool, stored alongside the findings. If a platform level flaw is disclosed six months from now, that record tells you within an hour whether you are affected, rather than within a week.

Who is qualified to review this, and where do you find them?

The skill you need is narrower than the word developer suggests, because you are looking for somebody who has worked specifically on authentication, authorisation, and data access boundaries, and who is comfortable reading a codebase they did not write. A capable generalist will find the obvious problems and miss the architectural ones with complete confidence, and the architectural ones are precisely what the research shows increased most.

Automated scanners are worth running and will earn their keep on exposed secrets and known vulnerable packages, since Escape.tech found most of what it caught was sitting in the open with no authentication required. What a scanner cannot tell you is whether a signed in member can reach something they should not, because that judgement depends on knowing what your product is supposed to do.

A review has no feature attached to it and no revenue standing behind it, which is precisely why it slides down the list until an incident promotes it. Work in that category is what BEXHUB tends to unlock, because a member funds it with BEX earned from work already delivered, which turns a deferred job into one that happens this month.

The same logic reaches well beyond security, because what a small company defers is almost always somebody's judgement rather than somebody's typing. The practical mechanics of building an early team without payroll behind you come down to finding a way to fund exactly this kind of one-off, high-skill, low-volume work.

Frequently Asked Questions

Do I need a penetration test or a code review?
A code review reads your source and finds whole classes of flaws, including ones not yet reachable from outside, while a penetration test attacks the running application and proves what is exploitable today. Before launch the code review is the better first purchase, because the flaws are structural and a penetration test will largely confirm what a review would have found sooner. Buy the penetration test later if you handle regulated data.
Can I just run an automated scanner and call it done?
Run one, because it will find leaked secrets and known vulnerable packages quickly and cheaply. It will not find broken authorisation logic, because a scanner has no way of knowing that your billing endpoint should be unreachable by a free member. The flaws that increased most in AI-generated code are the architectural ones, and those need somebody who understands what your app is supposed to do.
Is Lovable safe? What about Bolt.new, Base44, or Replit?
Platform-level flaws are real, and CVE-2025-48757 is the clearest example, a row-level security bypass disclosed in May 2025 affecting Lovable applications using Supabase, reported as reaching around one in ten of the projects analysed. The point is not that one platform is unsafe, it is that a flaw in the platform reaches every application built on it at once. Evaluate these tools as you would any vendor holding your data.
Does it matter which tool built the app?
It matters less than the headlines suggest, though the attribution data is worth understanding. Claude Code accounts for 27 of the 74 confirmed cases, but researchers note this is partly because it leaves identifying signatures in commit messages, which makes its output traceable in a way most other tools are not. Assume the review is needed regardless of what generated the code.
How long does a review take?
A targeted check of the five high risk areas is usually a day or less. A full pre launch review of a small product typically runs several days, and remediation adds to that depending on what surfaces. Custom authentication and any regulated data will extend it, which is why both are worth mentioning in your first message to a reviewer.
What if I cannot afford a full review right now?
Do steps one to four of the checklist yourself this week, because they cost nothing but time and they eliminate the failures that put products in the news. Rotating secrets and switching on database-level access rules alone removes two of the most common causes of exposure. Then bring in a specialist for authorisation and cryptography specifically, which is a far smaller and cheaper scope than a full review.
Should I rebuild instead of reviewing?
Review first, always, because you cannot make that decision without knowing what is actually wrong. Rebuilding on instinct usually reproduces the same mistakes in fresh code with a new bill attached. The reviewer's report is what tells you whether the foundation is extendable or whether the data model itself is the problem, and only the second answer justifies starting over.