Skip to content

Is AI-Generated Code Production-Ready? What the 2026 Studies Actually Say

“Couldn’t I just build this with AI?” Yes. Probably. And that’s exactly why it’s no longer the interesting question. The better question: can you actually keep building on it afterwards? Here is the complete body of evidence — no hype, no panic.

By Janni HaresUpdated

The key numbers

  • Our own measurement (decivo Vibe-Code Audit): 12 MVP features from a naive prompt meet only 19.6% of production-readiness controls in chat coding, 47.1% with the newest agent (Codex) — 0 of 12 fully ready; authorization, validation and tests stay at zero in both.
  • In 45% of Veracode's test tasks the AI code contained a known security flaw. The figure has barely moved since the first report in 2025, despite better models (Veracode, 80 tasks, 150+ models).
  • Over 95% syntax correctness vs. ~55% security pass rate: visible progress and technical progress are measurably drifting apart.
  • Copy-pasted code rose from 8.3% to 12.3% of changed lines, moved (refactored) code fell from around 25% to under 10% (GitClear, 211M lines of code).
  • Experienced developers were 19% slower with AI tools — while believing they had been 20% faster (METR, randomized controlled trial).
  • 66% of developers name “almost right, but not quite” as their top problem; only 29% still trust AI output (Stack Overflow, 49,000+ respondents).
  • A security researcher found insufficient Row Level Security in 170 of 1,645 scanned Lovable projects (CVE-2025-48757, disputed by Lovable).
  • Our field data (AI App Radar, 454 live AI apps with a DACH connection): 18% (83 of 454) Go, 81% (367 of 454) Iterate, 1% (4 of 454) Stop. 24% (109 of 454) write straight from the browser into the database, 13% (57 of 454) ship a role comparison in their JavaScript.

“Couldn’t I just build this with AI?” Yes.

Open MacBook with three AI app builders in the browser: Lovable, Bolt and Base44, each showing an empty prompt field to start an app
Lovable, Bolt, Base44: the entry point is the same everywhere — an empty prompt field. The difference happens afterwards.

The 2026 evidence at a glance

Seven independent studies plus two measurements of our own, one consistent picture: AI-generated code works — and still needs systematic rework before it can carry production.

StudyKey findingData basis
Veracode GenAI Code Security (2025 + 2026 update)A known vulnerability in 45% of tasks; security pass rate stuck at 55 to 56%80 coding tasks, 150+ models (as of spring 2026)
GitClear AI Code Quality 2025Copy-pasted lines up from 8.3% to 12.3%; moved (refactored) lines down from around 25% to under 10%211M changed lines of code (2020–2024)
METR experiment (July 2025)Experienced developers 19% slower with AI — while feeling +20% faster16 maintainers, 246 real tasks, randomized
Stack Overflow Developer Survey 202584% use AI, but only 29% trust it; 66% name “almost right” as their top frustration49,000+ developers worldwide
Fastly Developer Survey 2025Nearly 30% of senior devs: rework eats most of the time savedDeveloper survey, US
CodeRabbit State of AI vs. Human Code (December 2025)AI-co-authored pull requests with about 1.7× as many issues; security issues up to 2.74 times as frequent470 open-source pull requests (320 AI-co-authored, 150 human-only)
Lovable RLS scan (CVE-2025-48757)170 of 1,645 scanned projects with insufficient Row Level Security (303 affected endpoints); disputed by LovableScan of the public “Lovable Launched” page, March 2025
decivo Vibe-Code Audit (2026, our own study ↓)Chat coding 19.6%, agent (Codex) 47.1% of controls met; 0 of 12 features ready12 one-shot features × 2 models, semgrep + open checklist
decivo AI App Radar DACH (run Panel 2026-10-01, our own field data ↓)18% (83 of 454) Go, 81% (367 of 454) Iterate, 1% (4 of 454) Stop; 24% (109 of 454) write straight from the browser into the database454 live AI apps with a DACH connection, outside scan

Rows 1–7 come from the respective original publications (source list at the end). Rows 8 and 9 are our own published measurements — details below.

Visible progress is not technical progress

What goes wrong immediately: security

What goes wrong slowly: maintainability

The productivity paradox

Our own study: the decivo Vibe-Code Audit

Third-party studies are good — a reproducible measurement of your own is better. So we tested this article’s thesis ourselves: we had 12 typical MVP features (upload, contact form, comments, password reset, admin list, search, API-key storage, Stripe webhook, profile edit, file download, orders API, newsletter) generated with a single naive one-shot prompt each — exactly how a founder types it into an AI tool. No prompt said “secure”, “validation” or “test”.

We ran it in two modes: once like classic chat coding (where most people start — naive prompt, answer in the chat) and once with an agentic coding tool (OpenAI Codex, model gpt-5.6-sol) that writes the AI code straight to files. So we compare the mode, not model against model. Every output was checked against the Build-On Test controls, with semgrep as an independent detector plus an open checklist. The result:

47.1%production readiness is all even the newest agentic model (Codex) reaches — chat coding only 19.6%. And still: 0 of 12 features fully ready, in both modes.

Chat coding vs. agentic coding agent

ModeProduction readinessControlsFully readysemgrep findings
Chat coding19.6%10 / 510 / 123 (XSS, mass-assign, IDOR)
Agent (Codex gpt-5.6-sol)47.1%24 / 510 / 120

Agent closes

The agent fully closes the generic hygiene layer: Row Level Security, injection safety, error handling and secret storage jump from patchy to 100% each. The three syntactic semgrep findings disappear. Agentic coding is a real step up from chat coding.

Zero in both modes

But exactly the controls that would need to know your business rules stay at zero in both modes: authorization 0/7, input validation 0/7, tests 0/12, webhook signature 0/1. No model adds them, because the naive prompt never states who may do what or what counts as valid.

This is the real proof of a specification deficit, not a capability deficit: where the requirement is generic and implicit (use RLS, escape HTML), the agent fills it. Where it would have to know your product (may this user see this order?), even the frontier agent leaves it blank. Both modes produce running code — and not a single production-ready feature. That is exactly what “visible progress ≠ technical progress” means.

A transparency note, because citable research states its limits: two models, one run each, N = 12, one-shot — a reproducible pilot benchmark, not population statistics. Prompts, raw code, semgrep rules, the scoring script and both result datasets are fully disclosed (CC BY 4.0); rebuilt with any further model, the same methodology yields a directly comparable number.

Field data: what we measure across 454 live AI apps in the DACH region

The Build-On Test: 5 questions for every AI prototype

Whether an AI-built prototype is an MVP foundation or a throwaway prototype comes down to five questions. If you can answer all five with a yes — verifiable, not felt — you can keep building.

  1. 1.Does the architecture hold up?

    Is there a documented data model and a clear data flow — or is the structure whatever the tool happened to produce? Without an architecture anchor, every new feature costs more than the last.

  2. 2.Is the business logic clean?

    Does the core logic live in one place, tested and traceable — or spread across components, copied and implicit? The GitClear finding (more copied than moved code) is born exactly here.

  3. 3.Are data and roles properly separated?

    Who may see, change, delete what — and is that enforced in the database (Row Level Security) rather than just hidden in the UI? That was the gap behind CVE-2025-48757.

  4. 4.Can the decisions be explained later?

    Can you justify to an investor, an auditor or the next developer why the system is built this way? “The AI did it that way” is not an answer that survives due diligence.

  5. 5.Can the code be handed over?

    Can another team open the code and keep working without wanting to start over? That is the hardest test — and the only one that decides the value of the work you’ve done so far.

Two or three no’s are not a death sentence — they just mean: the prototype is a specification, not a foundation. That is still valuable. But it is a different budget and a different plan.

Accelerator, not autopilot: how we use AI at decivo

“Couldn’t I just build this with AI?” Yes. The question that counts in 2026: does the result pass the Build-On Test?

We’ll take an honest look

AI-generated code: frequently asked questions

Is AI-generated code secure?
How many AI-built apps are production-ready?
Can you build a real product with Lovable, Bolt or v0?
What is a throwaway prototype?
How do I know whether I can keep building on my AI prototype?
Does AI really make software development faster?
What does it cost to make an AI prototype production-ready?
Will AI replace development agencies and developers?

Does your prototype pass the Build-On Test?

Show us your AI prototype — we’ll take a look and tell you honestly whether you can keep building or what’s missing. Even if the answer is: “All good, carry on.”

Assess your prototype — free, 30 min.

Clearly structured. No sales pressure. An honest assessment.