The post as a short film · 33 seconds
Read what the film says

Prototype vs production: not the same deliverable.

“Looks done” (Runs locally; Demos fine; Auth checked?; Error handling: none; Edge cases: none) Versus: “Is done” (Security-reviewed; Tested against real data; Errors handled, logged; Edge cases covered; Survives real users)

AI models failed to defend against: Log injection 88%, Cross-site scripting 86%.

See it work first: On your data, with targets agreed upfront. Then make it bulletproof: Security, testing, monitoring, handover.

See it work first. Then make it bulletproof.

A prototype and a production system are different deliverables. A prototype answers "can this work?" and is finished when it has shown that it can. A production system answers "will this keep working?" and is finished when it has been secured, tested on real data and handed over. Most of the cost sits between the two.

localhost:3000
Problem“Looks done”
  • Runs locally
  • Demos fine
  • Auth checked?
  • Error handling: none
  • Edge cases: none
production · live
Solution“Is done”
  • Security-reviewed
  • Tested against real data
  • Errors handled, logged
  • Edge cases covered
  • Survives real users
The same feature at two stages. The left column is where AI-built prototypes usually stop.

Why the gap got wider

AI coding tools have made the left-hand column much faster to reach. A working prototype can now be built in an afternoon by someone who is not an engineer. That is useful. It also means more prototypes exist that have never been near the right-hand column, and they look more finished than hand-built ones used to.

veracode · relevant test cases

AI models failed to defend against

Log injection88%
Cross-site scripting86%
Share of relevant test cases in which generated code left the weakness open.Veracode · 2025 GenAI Code Security Report · July 2025

The security gap is the least visible. Veracode's 2025 study found that generated code left these two weaknesses open in the large majority of cases where they applied, and that overall 45% of generated samples introduced a known class of vulnerability. None of that shows in a demo. A page with a cross-site scripting hole renders perfectly.

The five checks

  1. Security-reviewed. Scanned and read by a person who knows what the code is protecting.
  2. Tested against real data. Including the records with missing fields and unexpected formats.
  3. Errors handled and logged. When something fails, the user gets a sensible message and the team gets a record.
  4. Edge cases covered. Empty input, very long input, two people doing the same thing at once.
  5. Survives real users. Load, retries, and people using it in ways nobody planned.

Two phases, two deliverables

two phases · two deliverables
Phase 1 · Proof of conceptSee it work first

On your data, with targets agreed upfront.

Phase 2 · ProductionThen make it bulletproof

Security, testing, monitoring, handover.

Two phases, each with its own definition of finished.

We scope them separately. Phase one is a proof of concept on the client's own data, with targets agreed before it starts. Its job is to replace an estimate with a measurement. Phase two is the production build: security, testing, monitoring and handover. Pricing them apart keeps both honest. The prototype is not sold as a product, and the production work is not hidden inside a number that was really only enough for a demo.

If you already have a prototype, built by a model, a contractor or an enthusiastic colleague, phase one is done. What remains is the right-hand column, and it can be costed item by item.

A quick self-checkTake your prototype and ask of each of the five checks: who did this, and when? Any line with no name against it is work still to be done.
Related post Our Three-Gate Review for Every AI-Generated Function Read

Questions

What is the difference between a prototype and production?

A prototype demonstrates that an idea can work, usually on sample data and without security review. A production system has been security-reviewed, tested on real data, handles and logs errors, covers edge cases and holds up under real users.

Can an AI-built prototype go to production?

Yes, but not as it is. It needs a security review, tests against real data, error handling, edge-case coverage and monitoring. Veracode's 2025 study found that 45% of AI-generated code samples introduced a known class of vulnerability.

Sources

  1. Veracode, press release on the 2025 GenAI Code Security Report, 30 July 2025 (cross-site scripting 86%, log injection 88% of relevant cases). Source
  2. Veracode, "We Asked 100+ AI Models to Write Code. Here's How Many Failed Security Tests", 30 July 2025. Source

First published as a Synexian Problem → Solution post on 10 November 2026. Figures are quoted from the sources above; follow the links for their methods and limits.