SysArt
Book a briefing
SysArt

AI security

Vibe Coding in the Enterprise: Meaning, Risks and Controls

What vibe coding is, how it differs from AI-assisted engineering, where it fits in an enterprise, its security risks and the controls and EU rules that apply.

Last reviewed by SysArt AI Architecture Team11 min readHow we review

In short

Vibe coding means building software by describing it to an AI model and accepting the generated code without reading it closely. It suits prototypes, demos and throwaway internal tools in a sandbox. Production systems, regulated data and customer-facing apps need engineering review, tests, security scanning and a named owner before generated code ships.

Key takeaways

  • Andrej Karpathy coined vibe coding in February 2025 for building software by prompting an AI and accepting its changes without reading them; in 2026 he contrasted it with agentic engineering, which keeps correctness, security and maintainability.
  • Developers vibe code with coding agents such as Claude Code, Cursor or OpenCode; people who do not write code use app builders such as Lovable, Replit, Bolt, v0 or Google AI Studio, which can produce a running app with a database and hosting.
  • The evidence argues for review: in an ICML 2026 benchmark, 57% of one agent set-up's solutions worked but only 11.8% were secure, and a USENIX Security 2025 study found models inventing package names that attackers can register.
  • Vibe coding fits prototypes, demos and throwaway tools in a sandbox with synthetic data; production systems, personal data and customer-facing apps need a specification, tests, review and security gates first.
  • EU rules follow what an app does: the GDPR for personal data, NIS2 and DORA duties on development, change and suppliers, the Cyber Resilience Act only for products on the EU market, and AI literacy measures for staff.
A developer wearing headphones looks at code on a large monitor in an office

What is vibe coding?

Vibe coding is building software by describing what you want to an AI model in plain language and accepting the code it writes without reading it. You judge the result by running it, not by reviewing it.

Andrej Karpathy coined the term in a post on X in February 2025. He described a way of working in which you “forget that the code even exists”. He dictated requests, accepted every change without reading the diffs, pasted error messages back without comment and worked around bugs the model could not fix. The code grew beyond his understanding; he judged the approach not too bad for throwaway weekend projects.

In everyday use, the term now covers almost any code generated from prompts. For governance, the original meaning matters: the defining feature is not that AI wrote the code, but that nobody checked it.

Vibe coding vs AI-assisted engineering: what is the difference?

The difference is verification. In vibe coding, nobody reads, tests or owns the generated code. In AI-assisted software engineering, people specify the work, review every change, test it and stay accountable, even when an agent writes most of the code.

Karpathy drew the same line in a summary of his Sequoia Ascent 2026 talk, posted on his blog on 30 April 2026. Vibe coding raises the floor, he said, letting almost anyone create software. Agentic engineering, which serious teams need, coordinates fallible AI agents while preserving correctness, security, taste and maintainability. Vibe coding suits prototypes and personal tools, and it does not excuse new vulnerabilities: you remain responsible for your software.

In AI-assisted engineering, the agent does more of the typing, not more of the deciding. The same tool can serve either practice, so set policy on the practice. Controls for developers’ agents, such as sandboxing, network limits and logging, are in our guide to AI coding agents in the enterprise.

What are the best vibe coding tools and platforms?

There is no best AI for vibe coding in general. Tools fall into two families, coding agents for developers and AI app builders for everyone else, and for an enterprise the best one is the one you can govern.

Coding agents and AI editors. Claude Code is Anthropic’s agentic coding tool: it reads a code base, edits files and runs commands from a terminal, an integrated development environment (IDE), a desktop app or the browser. Cursor presents itself as an AI coding agent that turns ideas into code. OpenCode is an open-source coding agent that runs on your machine and works with more than 200 model providers, including local models. Google Antigravity is Google’s agentic development platform. See also AI coding assistants for software engineering.

AI app builders. Lovable, Replit, Bolt, v0 and Google AI Studio’s Build mode turn a conversation into a working web app, often with a database, sign-in and hosting. Several target people who do not code; Replit says no coding is required. Google’s documentation describes Build mode as a way to vibe code apps. They put full code bases in the hands of citizen developers, employees outside IT who build applications for themselves or their teams.

What to compare. Before approving a tool, check where prompts, code and app data are processed and whether an EU option exists, training and retention terms, single sign-on and audit logs, checks before publishing, code export and model choice. A self-hosted agent such as OpenCode with local models keeps code and prompts in-house.

Where does vibe coding fit in an enterprise?

Vibe coding fits where a mistake is cheap and contained: prototypes, demos and throwaway internal tools in a sandbox with synthetic data. It does not fit production systems, personal or regulated data, or anything customers use, unless the code first passes through engineering.

UseFitControl
Prototype or demo for a workshopGood fitApproved platform, synthetic data, no production credentials
Quick experiment with an idea or an APIGood fitSandbox account, scoped test keys, no merge without review
Personal tool on non-sensitive dataUsually acceptablePrivate by default, named owner, expiry date
Team tool that reads internal dataOnly with checksApproved data connection, least privilege, security scan before sharing
App that processes personal dataNot as vibe codingData protection review, engineering review and tests
Production system or customer-facing appNot as vibe codingRebuild or harden through the normal lifecycle and its security gates
Code in a product placed on the EU marketNot as vibe codingSecure development and vulnerability handling under the Cyber Resilience Act

Give people a safe place to experiment and a clear route out, as for any shadow IT. Our guide to shadow AI discovery and governance explains how to find the tools already in use.

What are the security risks of vibe coding?

The main risks are insecure code that still works, open databases, exposed secrets, invented dependencies, prompt injection, data leaving your control and apps nobody owns. Each grows when nobody reads the code.

  • Code that works but is not secure. SusVibes, a benchmark published at ICML 2026, gave 12 coding agent set-ups 186 feature requests from real open-source projects where human programmers had once committed vulnerable code. All performed poorly on security: for SWE-Agent with Claude 4 Sonnet, 57% of solutions worked, but only 11.8% were secure. Adding vulnerability hints to the request did not fix this.
  • Open databases and missing authorisation. CVE-2025-48757, a May 2025 record in the US National Vulnerability Database, describes an insufficient row-level security policy (the database rules that decide which rows each user may read or change) in Lovable up to 15 April 2025. It let unauthenticated attackers read or write arbitrary tables in generated sites; MITRE rated it 9.3 out of 10. Lovable disputes the record, saying each customer is responsible for protecting its app’s data. Either way, a sign-in screen does not prove the data behind it is protected: test authorisation on the server.
  • Secrets in the browser. Anything sent to a browser can be read by its users, so an API key in front-end code is public. Keep keys on a server or in the platform’s secret store.
  • Invented dependencies. A study accepted at USENIX Security 2025 generated 576,000 code samples with 16 popular models. Hallucinated packages averaged at least 5.2% for commercial models and 21.7% for open-source models. Attackers can publish malware under such names, a tactic often called slopsquatting, so check new dependencies against an approved registry or mirror.
  • Prompt injection. Agents and builders read web pages, documentation and files, and act with the permissions you give them. Hidden instructions in that content can steer them into leaking data or running commands.
  • Data leaving your control. Prompts, code and app data go to the platform and its model providers, on terms that vary by plan and region. Google’s Gemini API terms, which cover Google AI Studio, allow content sent to unpaid services to be used to improve Google’s products and read by human reviewers, and ask users not to submit sensitive, confidential or personal information. Users in the European Economic Area (EEA), Switzerland and the UK get the paid-service data terms even for free use, but logged data may still be stored transiently or cached in any country where Google or its agents maintain facilities.
  • Orphaned apps and unclear code. A tool built in an afternoon can quietly become part of a business process with no owner, backups or access reviews. Generated code can reproduce code under licences nobody checked, and code nobody designed is hard to change safely.

Is vibe coding safe for enterprise use?

Not on its own. Vibe coding is safe enough for disposable prototypes on approved platforms with synthetic data and no production access. It is not safe for production systems, personal or regulated data, or customer-facing apps until the code has had the same review, testing and security checks as any other software.

Working code and secure code are different things, and Karpathy himself limits vibe coding to prototypes and personal tools. Before a vibe-coded app spreads, ask what data it touches, who can reach it and who owns it. If the answers are real data, more people than its maker, or nobody, it needs engineering.

How do you govern vibe coding and citizen developers?

Offer an approved place to vibe code, set hard limits on data and credentials, and define a route from prototype to production. A ban without an alternative tends to push the work onto personal accounts you cannot see.

  • Approve platforms. Choose a few builders and agents on business plans with single sign-on, audit logs and contract terms your data protection officer has reviewed. Block the rest.
  • Sandbox by default. Provide a separate workspace with synthetic or public data, capped test keys and no route to production systems.
  • Keep production credentials out. Never paste production keys, connection strings or customer records into prompts, and rotate anything that leaks.
  • Make apps private by default. Require sign-in, approve public links and set expiry dates for prototypes.
  • Assign owners. An app that outlives its demo gets a business owner, a technical owner, an inventory entry and a decision: retire it, keep it in the sandbox or move it into engineering.
  • Train builders. Cover what never to paste, how to check who can read the data and when to call IT, as part of your AI literacy measures.

What is the new SDLC with vibe coding?

It is a software development lifecycle (SDLC) in which agents write much of the code and people concentrate on specification and verification. Prototypes arrive fast; quality comes from the gates around them.

Google published a whitepaper on this theme, The New SDLC With Vibe Coding, in June 2026. Co-author Addy Osmani highlights two ideas. You can work anywhere on a spectrum from vibe coding to agentic engineering with the same agent, and verification decides where you land. And because implementation shrinks from weeks to hours while requirements, architecture and verification stay slow, specification quality becomes the bottleneck.

For vibe-coded work that should become a product:

  1. Specify. Record the problem, users, data, roles, access rules and acceptance criteria. A prototype can inform the specification; it is not the specification.
  2. Test. Encode correct behaviour in tests, including authorisation tests that prove one user cannot read another’s data.
  3. Review. An engineer reviews every diff, especially authentication, access control, data handling and new dependencies.
  4. Gate in CI/CD. In the continuous integration and delivery (CI/CD) pipeline, run static application security testing (SAST), secret scanning and dependency and licence checks, produce a software bill of materials (SBOM) and block merges on critical findings.
  5. Release and run. Apply change approval, logging, monitoring, backups and ownership as for any other system.

Karpathy’s agentic engineers work the same way: they design specs, supervise plans, inspect diffs, write tests, build evaluation loops, manage permissions and isolate worktrees. Where code and prompts must stay in-house, run agents on private LLMs that you host.

Which EU rules apply to vibe-coded apps?

EU law regulates what an app does and the data it processes, not how its code was written. Which rules bind you depends on your sector, role and products; this is general information, not legal advice.

  • GDPR. When an app processes personal data, the organisation using it is usually the controller. It must apply data protection by design and by default (Article 25) and appropriate security (Article 32), and use only processors, such as a hosting platform, that give sufficient guarantees under a contract (Article 28). Processing likely to result in a high risk needs a data protection impact assessment (Article 35), and transfers outside the EEA need a Chapter V transfer mechanism. See our GDPR-compliant LLM guide.
  • NIS2. Through national law, essential and important entities must take measures that include supply chain security and security in system acquisition, development and maintenance, including vulnerability handling (Article 21(2)(d) and (e)). An app builder is a supplier; the app is a system you develop.
  • DORA. Financial entities need documented ICT change management so that all changes to ICT systems are recorded, tested, assessed, approved, implemented and verified in a controlled manner (Article 9(4)(e)). Accepting generated changes unread is hard to reconcile with that duty. A hosted builder used to run business operations is an ICT service: the entity stays fully responsible and lists the arrangement in its register of information (Article 28).
  • Cyber Resilience Act (CRA). The CRA covers products with digital elements made available on the EU market, meaning supplied in the course of a commercial activity, paid or free. An app your staff build and use only internally is unlikely to meet that test, and websites that do not support a product’s functions are outside it. If you sell software or connected products, generated code is part of them: manufacturers have had to report actively exploited vulnerabilities since 11 September 2026, and the main obligations apply from 11 December 2027.
  • EU AI Act. Article 4, as amended by the Digital Omnibus on AI, requires providers and deployers to take measures to support the AI literacy of staff using AI on their behalf, with no mandated level. The European Commission says staff using generative AI should be told of its specific risks and that an internal training record is enough. National market surveillance authorities have supervised the duty since 2 August 2026. See AI literacy under Article 4.

Confirm specific cases with qualified counsel.

How SysArt helps

SysArt helps security, engineering and governance leaders give staff a safe way to vibe code. We assess platforms against your data, security and contract requirements, design sandboxes and guardrails, and build the route from prototype to reviewed, tested and owned software, with the evidence auditors expect. Where code and prompts must stay on infrastructure you control, we design the private-model option. Read more about our AI security work.

Featured image by True Agency on Unsplash.

Frequently asked questions

What is vibe coding?

Vibe coding is a way of building software by describing what you want to an AI model in plain language and accepting the generated code without reading or reviewing it. You judge the result by running it. Andrej Karpathy coined the term in February 2025 and said it was not too bad for throwaway weekend projects. In enterprises, it suits prototypes and demos rather than production systems.

Who coined the term vibe coding?

Andrej Karpathy coined the term in a post on X in February 2025. He described giving in to the vibes, accepting every change the AI proposed without reading the diffs, pasting error messages back to the model and letting the code grow beyond his own understanding. In April 2026 he contrasted vibe coding with agentic engineering, the professional discipline of directing AI agents while keeping correctness, security and maintainability.

Is vibe coding safe for enterprise use?

Only within limits. Vibe coding is acceptable for prototypes, demos and throwaway tools built on approved platforms with synthetic data and no production credentials. It is not safe for production systems, personal or regulated data, or customer-facing apps until engineers have reviewed the code, tested it, including access control, and run security scans. A 2026 benchmark found that AI coding agents often produce code that works but is not secure.

What is the difference between vibe coding and AI-assisted coding?

The difference is verification. In vibe coding, nobody reads, tests or owns the generated code; the result is judged by whether it seems to run. In AI-assisted software engineering, people write the specification, review every change, test behaviour and security, and remain accountable, even when an agent writes most of the code. The same tool can be used either way, so set policy on the practice, not the product.

What is the best AI for vibe coding?

There is no best AI for vibe coding in general. Developers tend to use coding agents such as Claude Code, Cursor, OpenCode or Google Antigravity; people who do not write code tend to use app builders such as Lovable, Replit, Bolt, v0 or Google AI Studio. For an enterprise, compare where data is processed, training and retention terms, single sign-on and audit logs, checks before publishing, code export and model choice, then pilot.

What are the security risks of vibe coding?

The main risks are generated code that works but is insecure, databases left open by missing access rules, API keys exposed in browser code, invented package names that attackers can register, prompt injection through content the AI reads, prompts and data sent to platforms outside your control, and apps that nobody owns or maintains. All of them grow when nobody reviews the code before it is shared or deployed.

Do EU rules apply to vibe-coded apps?

Yes, through what the app does rather than how it was written. The GDPR applies when an app processes personal data. NIS2 and DORA require in-scope entities to manage the security of development, changes and suppliers. The Cyber Resilience Act applies only to products with digital elements made available on the EU market. Under the AI Act, organisations must support the AI literacy of staff who use AI tools. This is not legal advice.

Sources

  1. Andrej Karpathy: post on X introducing the term vibe coding (February 2025) · checked 13 November 2026
  2. Andrej Karpathy: Sequoia Ascent 2026 summary and cleaned-up transcript, section 7, Vibe Coding vs. Agentic Engineering (30 April 2026) · checked 13 November 2026
  3. Addy Osmani: The New Software Lifecycle, on the Google whitepaper The New SDLC With Vibe Coding (16 June 2026) · checked 13 November 2026
  4. Zhao et al.: Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Tasks, ICML 2026 (arXiv:2512.03262, v4) · checked 13 November 2026
  5. Spracklen et al.: We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMs, USENIX Security 2025 (arXiv:2406.10279) · checked 13 November 2026
  6. NIST National Vulnerability Database: CVE-2025-48757, row-level security in Lovable (published 30 May 2025, disputed by the supplier) · checked 13 November 2026
  7. Google: Gemini API Additional Terms of Service, covering Google AI Studio (effective 23 March 2026) · checked 13 November 2026
  8. Official Journal of the EU: Regulation (EU) 2016/679, General Data Protection Regulation (Articles 25, 28, 32, 35 and 44) · checked 13 November 2026
  9. Official Journal of the EU: Directive (EU) 2022/2555, NIS2 Directive (Article 21) · checked 13 November 2026
  10. Official Journal of the EU: Regulation (EU) 2022/2554, DORA (Articles 3(21), 9(4)(e) and 28) · checked 13 November 2026
  11. Official Journal of the EU: Regulation (EU) 2024/2847, Cyber Resilience Act (Articles 2, 3, 14 and 71, and recitals on scope) · checked 13 November 2026
  12. European Commission: AI literacy, questions and answers (updated 20 October 2026) · checked 13 November 2026

Related insights

Plan your private AI with people who build it

Book a briefing. We look at your use case, data and constraints, and you leave with the deployment options and governance steps that fit.