AI coding tools generate working software. Vibe coding, accepting AI-generated code without closely reading it, often leaves teams with software that runs today but is harder for anyone else to change confidently later.
Scanning and code review were built to catch defects at the diff, and vibe coding removes the step where a person reads the changes. The control point must move upstream to the build surface, or quality debt compounds faster than any team can resolve it. Each unreviewed change adds to a backlog of code that no one fully understands, and that backlog grows with every build.
This article is for IT and security leaders evaluating how to govern AI-assisted development across their organizations—including code written by engineers and, increasingly, by teams like finance, marketing, sales, and HRand the growing volume of builds from analysts, operations staff, and other non-developers.
What vibe coding is, and why the risk starts at review
Vibe coding is building software with an LLM without reviewing the code it writes; skipping human review creates downstream quality risk. Simon Willison, co-creator of the Django web framework, drew a clean line in March 2025: code an LLM wrote that a human has reviewed, tested, and understood counts as using an LLM as a typing assistant.
Vibe coding bypasses the line-by-line review of changes, the standard unit of human review, by design, so nothing forces anyone to build a mental model before the code runs. The controlled studies covered in the next section quantify how far author confidence drifts from measured outcomes when that mental model never forms.
Because generation is non-deterministic, re-prompting for a bug fix rarely reproduces the surrounding code, so each attempted fix introduces new variable names, control flow, or dependencies that were not present a moment ago.
When developers iterate by re-prompting until tests pass, they usually accept the version that happens to work, not the one whose logic anyone can defend in a review, and the next person to touch that file inherits a patch with no traceable reasoning for why it resolved the original bug.
The same review gap shows up outside the engineering org. Security analysts writing Python for investigations or PowerShell for host interrogation, and operations staff, finance analysts, HR coordinators, and marketing managers are using tools like Claude Code and Codex to build scripts, spreadsheet automations, and small internal apps that move data between systems. They are all making the same trade Willison described: accepting code they haven't read closely enough to defend, and often couldn't read even if they tried.
When that code also runs outside sanctioned pipelines — on a personal laptop, against a shared API key, or through an account IT never provisioned — the unreviewed-code problem and the shadow-IT problem compound each other, because no one downstream can audit either the logic or the access path it used.
Some practitioners call this wild code. It spreads through the org via shared API keys, unsanctioned data uploads, and tooling nobody signed off on. It spreads faster than IT, security, or the rest of the organization can track, govern, or maintain it.
What the data shows about bugs, task duration, and confidence
Across the studies below, controlled trials show AI assistance producing slowdowns, more insecure output, and defect mixes tilted toward maintainability problems, even as developers in the same period self-report faster work and better code quality. Recent data points show the gap between what developers feel about AI-assisted coding and what controlled studies observe:
A study of 4,442 AI-generated Java assignments found that roughly 90% to 93% of the problems in AI-written code were not outright failures but quality issues, such as messy or confusing structure that makes the code hard to understand and change. Only about 5% to 8% were bugs that broke things, and roughly 2% were security vulnerabilities. In other words, most of the code worked today but would be harder for the next person to update.
The Model Evaluation and Threat Research (METR) July 2025 randomized trial gave 16 experienced open-source developers 246 real tasks, primarily on Cursor Pro with Claude 3.5 and 3.7 Sonnet. The developers took 19% longer to complete tasks with AI even though they had forecast a 24% speedup.
METR's February 2026 update split results across two cohorts: 10 returning developers measured 18% faster (interval: 38% faster to 9% slower), while 47 newly recruited developers measured 4% slower (interval: 15% slower to 9% faster). Both intervals cross zero, and METR attributes the downward bias to selection effects like developers refusing to work without AI, suggesting real productivity gains the study cannot yet cleanly measure.
The Stanford security study exposes a review-design problem: participants with AI access wrote less secure code than those without, while being more likely to believe they had written secure code. Teams cannot rely on an author's confidence to identify insecure AI output.
Google's 2025 DevOps Research and Assessment (DORA) report, drawing on nearly 5,000 technology professionals, found that more than 80% of respondents reported increased productivity and 59% reported improved code quality.
The 2025 Stack Overflow Developer Survey shows the tension from another angle: 46% of respondents distrusted AI output accuracy, while 66% cited solutions that were almost right but not quite as a frustration.
Across these findings, developers believe AI is helping more than measurement can confirm, and the problems they already suspect — defects, insecure output, and lingering maintainability drag — are exactly what review and scanning should catch before code lands in production.
Why vibe coding accumulates tech debt and undermines maintainability
Vibe-coded systems accumulate debt faster than hand-written or reviewed AI-assisted code because generation favors producing another working implementation over understanding and reusing the system that already exists. The 90%-plus code-smell rate from the Java assignment study is the visible face of that pattern: most AI-generated defects do not crash anything today; they just make tomorrow's changes more expensive.
When code functions without a clear rationale, comprehension and accountability become fragmented. That fragmentation increases the effort required to modify, validate, or extend the code. Every unexplained implementation increases the cost of future changes. Recurring forms of the resulting maintainability drag include:
missing error handling
duplicated logic across files
inconsistent abstractions
functions whose logic is difficult to reconstruct
Architectural boundaries — the module lines, service contracts, and data ownership rules that keep a codebase legible — erode as vibe-coded changes accumulate without review. Each change can seem reasonable on its own while collectively weakening architecture and established patterns. The long-term cost lands on whoever inherits the code: developers consistently report that debugging AI-generated code takes longer than debugging code they wrote themselves, because the debugger has to reconstruct intent that was never captured at authoring time.
Drift also arrives from outside the code: the same trap is familiar when a script hard-codes today's log schema, breaks after the schema changes, and leaves someone other than its creator responsible for recovery. Schema and architectural drift remain invisible in the commit log until someone measures them.
How to develop quality AI-assisted code
Governed AI-assisted development relies on reviewed changes and scoped credentials for every modification, with human governance guidance applied throughout. Effective AI-assisted engineering depends on mature version control workflows, disciplined code review, and consistent development standards.
Teams that formalize an AI policy tend to report more constructive sentiment about AI's impact, and clear guardrails and productive AI use reinforce each other rather than trade off. For a starting point, see this practical guide to enterprise AI governance.
Without those controls, a single ungoverned agent can destroy production data, leak customer records, or rack up cloud bills in a single unattended run. It only takes one over-permissioned API token and one unconfirmed destructive call for an AI agent to wipe production data that no one asked it to touch. The lesson these incidents keep surfacing is simple: autonomy is a feature that should be earned, not granted by default, and human-in-the-loop review belongs wherever an agent's goal shifts or its actions can reach permissions and production systems.
Deterministic steps should use explicit rules that reviewers can reproduce to retrieve and validate data. Transformation should follow those same rules. Limit agentic steps to tasks such as summarization or classification, and record their inputs, and outputs. Human-in-the-loop steps should gate consequential changes, especially when an agent's goal changes or its actions affect permissions or production data.
For understaffed teams, those controls must reduce review and maintenance burden rather than add another system to administer. Four credential practices go a long way:
Store credentials in a managed vault rather than in code or configuration files
Restrict credentials by domain so they only reach the systems they are meant to reach
Scope credentials to service accounts with least-privilege permissions
Keep credential values hidden from builders in the authoring surface, exposed only at runtime
To see what this looks like in practice, consider a common target for vibe-coded scripts: an access-provisioning workflow that a solo engineer or analyst might otherwise spin up in an afternoon by pasting LLM output into a personal script, hardcoding an API token, and running it against production. The governed version keeps the same speed of assembly while removing the unread-code and unscoped-credential risks.
An access request submitted through an internal form triggers a workflow. A deterministic HTTP request checks the account and requested scope in the identity provider, and a transform normalizes the response; an AI step summarizes the request context and captures structured run metadata; a human-in-the-loop approval gates the final identity change.
The workflow then records the decision in a ticketing or case-management system and sends the outcome to the team's chat channel. Any agentic steps operate under the same review, credential, and audit rules as the deterministic ones.
These mechanics keep deterministic checks, agentic judgment, and human approval visible in one reviewed workflow without exposing broad credentials or leaving production changes unrecorded. The next team does not have to reverse-engineer a separate script.
Vibe coding erodes trust in your codebase
Without governance, vibe coding compounds defects faster than any team can pay them down. The control point has to move upstream to the build surface, and the sequencing matters more than the tooling: enforce change control on every workflow that touches production, replace standing API tokens with domain-restricted service-account credentials, and add agentic steps last, behind human approvals.
Vibe coding widens the gap between what a system does and what anyone on the team can explain about it. Governed development narrows it by making reviewed changes and scoped credentials cheaper than skipping them, with the reason for each change recorded.
The next script a team is about to vibe-code should be something someone else can read, change, and inherit in six months. Teams looking to try that shift without a procurement cycle can explore free-tier build environments for AI-generated agents, apps, and automations, such as Tines 3B Explore Edition, which lets a team stand up governed AI builds, with credential protection, monitoring, and audit logging in the runtime, at no cost.
