Back to the editorial

Consulting perspective Systems & security 19 October 2026 3 min read By GERDOVA

Structured systems or vibe-coded apps: where the risk actually sits

An application generated in an afternoon and a system you can run for years look the same in a demo. The difference lives in the decisions nobody asked the model to make.

What “vibe coding” gets right

The term describes a way of working: describe what you want, let the model write the application, accept the result and move on when it seems to work. Read generously, it is a real gain. Interface ideas can be tried in minutes. Boilerplate disappears. A person without a programming background can show a working screen instead of a slide.

None of that is the problem. The problem starts when the demo is mistaken for the system.

Fig. 1 · A generated app running in a demo, with no data model or tests behind it.

What generated code does not decide

A model writes the code it is asked for. It does not decide, on its own, which record is the source of truth, who may read or change it, what should happen when a payment fails halfway, or how the application behaves when two people edit the same row. It does not keep a list of the libraries it pulled in or check whether they are maintained. It does not write the test that proves the discount rule still works after the next change.

Each of those is a decision. In a structured system they are written down: a data model, a permission matrix, a set of states, a verification record. In a generated application they are usually implicit in whatever the model happened to produce, and nobody can say later why it behaves as it does.

What the evidence says

Two sources are worth reading in full. In a controlled study at Stanford, participants who had access to an AI code assistant wrote significantly less secure code than those without, across several tasks, and were more likely to believe their code was secure [1]. The study is from 2022–2023 and covers a specific assistant and a specific set of tasks; it does not describe every tool today.

Veracode’s 2025 GenAI Code Security Report tested code generated by more than one hundred models on tasks with known vulnerability patterns. The report states that 45% of the samples introduced a security flaw, and that security did not improve at the same pace as syntactic correctness across newer models [2]. It is a vendor report and should be read as one, but its method is explicit and its finding matches what the Stanford study measured with people.

Neither source says that generated code is always insecure. Both say the same thing from different angles: the model produces code that works, and leaves security to whoever is reviewing. If nobody is, nobody is.

Where generated code is reasonable

A disposable prototype to agree on a screen. An internal experiment that touches no real data. A mock-up used to run a usability session. A one-off script whose output a person checks by hand. In each case the artifact is thrown away or supervised, and the cost of it being wrong is small.

Before a generated application touches real data

A written data model, with one source for each record. An explicit permission matrix: which role can read, create, change and delete what. Defined states for the operations that matter, including failure and retry. Automated tests for the rules the business depends on. A dependency list someone has read. A person who can explain, in their own words, why the application behaves as it does.

That list is not a rejection of the tooling. We use generation where it helps, mostly to move faster on the parts that are not negotiable anyway. The list is what a system needs regardless of who, or what, typed it.

Decision Demo System you can run
Source of truth for each record Implicit Written data model
Who can change what Whatever the model produced Permission matrix
Payment fails halfway Undefined Defined states and retry
Rule still works after a change Nobody knows Automated tests
Why it behaves this way Nobody can say Someone can explain it
Figure · Decisions a demo hides. Illustrative, not a benchmark.

Sources

  1. [1] Do Users Write More Insecure Code with AI Assistants?. Perry, Srivastava, Kumar & Boneh, Stanford University (arXiv 2211.03622), 2023. https://arxiv.org/abs/2211.03622 Accessed on 2026-10-19
  2. [2] 2025 GenAI Code Security Report. Veracode, 2025. https://www.veracode.com/resources/genai-code-security-report/ Accessed on 2026-10-19

This article is analysis with cited sources, not advice for a specific organization.

After reading «Structured systems or vibe-coded apps: where the risk actually sits»

Did your application start as a demo? Let’s review it together.

In 30 minutes we go over its data model, permissions and tests, and define what it needs before it touches real data.

  • Data model
  • Permissions
  • Tests
  • Dependencies

30 minutes
with the team

Monday to Friday, 8:00 to 20:00 · Central Mexico time

Related articles

  1. 12 October 2026 · 3 min read Cybersecurity for an operation that just went digital: the six questions that matter first Moving records into a system does not make them safe. It makes them reachable. Six questions, taken from NIST CSF 2.0, that a small operation should answer before buying anything. Explainer

  2. 21 September 2026 · 3 min read What a token costs: adding AI features to a product without losing control of the bill Before adding a language-model feature, it helps to know what a token is and what multiplies it. Most of the bill is context sent again and again. Explainer