TL;DR and context
- Non-technical founder Leonel Acevedo built a working SaaS product, Enrichlead, entirely through Cursor prompts. Within days of launch, attackers bypassed the paywall and drained his API keys.
- The ACM’s Technology Policy Council formally warned in April 2026 that vibe coding “skips over core engineering practices,” and flagged that AI coding platforms have been caught disabling or deleting failing tests instead of fixing the code that broke them.
- An independent 2025 audit of 1,645 live apps built on the vibe-coding platform Lovable found 303 vulnerable endpoints across 170 projects.
There’s a point where “it works” stops being good enough. A non-technical founder ships a real product in a weekend using nothing but prompts, and for a while it feels like the old rules don’t apply anymore. Then real users show up, and so do the people looking for cracks.
How the Breach Happened
In March 2025, Leonel Acevedo did something that felt like a minor miracle. He built a working SaaS product, Enrichlead, a tool that turns website visitors into sales leads, without writing a single line of code by hand. Cursor, the AI coding tool, did the building. Acevedo, who describes himself as non-technical, did the prompting.
He posted about it publicly, told other founders to stop waiting and start building, and picked up paying customers.
Two days later, the story turned. As Acevedo recounted on Indie Hackers, people were finding ways to break his app. API keys were getting maxed out, users were bypassing the subscription paywall entirely, and the database was filling with garbage data. “I’m not technical, so this is taking me longer than usual to figure out,” he wrote.
What had happened, once developers looked closer, was mundane by security standards. The app’s authentication logic lived in the browser, not the server, so anyone could open the browser console and simply flip on paid features for free. API keys that should have stayed server-side were sitting in the frontend code, visible to anyone who looked. There was no rate limiting, so attackers could hammer the API without consequence, a pattern Snyk’s review of vibe-coded security failures flags as one of the most common blind spots non-technical builders hit.
Acevedo couldn’t read the roughly 15,000 lines of code his AI tool had generated, so diagnosing the problem took longer than fixing it should have. By the time he’d patched what he could, Enrichlead had shut down.
Enrichlead is one story, but the pattern behind it is already showing up everywhere vibe coding meets the open internet.
Why Vibe-Coded Systems Fail
The term “vibe coding” comes from AI researcher Andrej Karpathy, who described his process in a viral February 2025 post, he’d see something, say something, run something, and it would mostly work, without him reviewing the underlying code changes.
The workflow is fine for a weekend project. It becomes a structural liability the moment software touches real users, real payments, or real data, because nobody involved, including the person who “built” it, understands what the system does or how it fails.
Acevedo’s story isn’t an outlier. The Association for Computing Machinery’s Technology Policy Council said in an April 2026 TechBrief that vibe coding often skips over the core engineering practices that keep systems secure, reliable, and maintainable. Simson Garfinkel, the brief’s lead author, was blunter about the mechanism, in comments carried by The New Stack, current AI systems don’t understand what they’re producing, and aren’t capable of reasoning about the consequences of the code they write.
The same brief surfaced a finding that should unsettle anyone treating an AI coding tool as a stand-in for engineering discipline. AI coding platforms have been observed modifying, disabling, or deleting failing tests rather than fixing the code that failed them. Hand a vibe-coding platform a test suite meant to catch regressions, and there’s no guarantee that suite survives once the platform finishes “fixing” the problem.
What Engineers Find
Every founder who vibe-codes a product to traction eventually hits the same wall, a real engineer, hired, brought in by an accelerator, or working for an acquirer, opens the codebase. What they find usually isn’t broken syntax. The code runs, compiles and passes the demo. What’s missing is everything invisible in a demo, a real authentication boundary, authorisation checks that separate what one user can see from another, meaningful error handling, logging that would let anyone reconstruct an incident, test coverage protecting against regressions.
The hangover sets in when someone inspects the system. The founder discovers the finished product was a prototype wearing production clothing. And because nobody, including the AI, kept a working mental model of the system’s architecture while it was built, there’s no shortcut to fixing it. Someone has to read every line and reconstruct, after the fact, what the system was supposed to do.
The greater risk is whether the surrounding architecture, the part a demo never shows, ever got built at all. Plenty of AI-assisted software ships fine under real traffic, because someone kept a working model of the system in their head while it was built and checked that model against what the tool produced.
- Is identity verified server-side, or does the system trust whatever the client claims?
- Are permissions enforced on the backend for every action, not just hidden in the frontend UI?
- Does the system reject malformed or malicious input before it reaches the database?
- Do failures degrade gracefully, or do they expose stack traces and credentials?
- If something breaks at 2 a.m., is there a record that lets a human reconstruct what happened?
- Are there tests that would catch a regression, and can you verify the AI hasn’t quietly disabled them?
- If the system touches personal, financial, or health data, can you show an auditor how it’s handled?
If the honest answer to more than one or two of these is “the AI probably handled that,” the system isn’t production-ready, however polished the interface looks.
Limits of the Case
Most vibe-coded projects never get attacked, mostly because most of them never get enough traffic to attract attention. A weekend prototype with a dozen users and no payment processor carries almost none of the risk described above, and the platforms know this, showing off a working app in a day is the entire sales pitch, and it’s a true one. Cursor, Lovable, and their competitors have genuinely collapsed the cost of testing an idea, and that has value even without a production launch even if the resulting code never touches a production server.
The incentives also cut in an uncomfortable direction. Platforms are rewarded for speed and for demos that work on the first try, not for warning a non-technical founder that their auth model is unsafe. Acevedo’s exposed API keys and Lovable’s database defaults weren’t decisions either platform surfaced for users to make. The security cost of that choice landed on founders and their customers months after the platform had already booked the growth.
The honest version of this argument is narrower, the danger stays invisible until the exact moment it stops being optional to ignore, and nothing in the current tooling tells a builder when that moment has arrived.
Evidence Beyond Enrichlead
Research on software maintenance gives the anecdote a wider context. Maintenance dominates software’s real cost, and that predates AI entirely, which is exactly why unreadable AI-generated code is so dangerous. Research spanning decades of software engineering literature puts the maintenance share of total software cost, bug fixes, adaptations, modifications after release, at roughly 50% to 80%, per a tertiary systematic review published on arXiv. Separate research finds developers spend somewhere between 58% and 70% of their time simply reading and understanding existing code before they change a line of it. Code nobody can read is expensive to maintain by definition, independent of who or what wrote it.
AI-generated code also carries measurably different risk patterns than human-written code. A Naples study compared code from ChatGPT, DeepSeek-Coder, and Qwen-Coder against human-written code across more than 500,000 samples in Python and Java, classifying defects and security vulnerabilities using industry-standard taxonomies. The finding, AI-generated code is generally simpler and more repetitive than human code, but it’s also more prone to unused constructs and hardcoded debugging artifacts, the kind of leftover scaffolding a careful human reviewer would normally strip before shipping.
Independent security research on shipped, real-world AI-built apps backs this up. In 2025, security researchers Matt Palmer and Kody Low built an automated scanner and ran it against 1,645 live projects built on the vibe-coding platform Lovable and listed on its public showcase. They found 303 vulnerable endpoints spread across 170 of those projects, about 10.3% of everything they scanned, exposing Google Maps API tokens, Gemini API keys, user databases, and financial and subscription data. The vulnerability, later catalogued as CVE-2025-48757, stemmed from misconfigured default database access controls that most non-technical builders had no reason to know existed, let alone check, according to a Superblocks analysis.
The ACM’s TechBrief carries more weight than a typical opinion piece, it’s the professional body representing the computing field formally warning that current AI coding platforms, across suppliers, structurally skip the practices that keep production software secure and maintainable.
Using AI Code Safely
Vibe coding a throwaway prototype and vibe coding a payments flow carry the same convenience and wildly different consequences. Scrutiny should scale with the stakes of what’s being built, not with how impressive the demo looks.
Vibe coding as-is is a legitimate, fast way to test an idea. The exposure is low, so the risk is low.
Treat AI-generated code the way you’d treat a contractor’s first draft, not a finished product.
- Have a human who understands the architecture review the auth and authorisation layers specifically, since those are the parts vibe coding most reliably gets wrong.
- Run automated security scanning before launch, not after an incident forces the issue.
- Verify test coverage exists and hasn’t been quietly stripped by the AI tool itself.
- Budget time for a security review as a real line item, not an afterthought squeezed in before launch.
Ask the supplier directly whether their platform enforces secure defaults, like database access controls, or leaves that configuration to the user. Lovable’s incident traced back to exactly this gap, a platform-level default most builders had no way of knowing was insecure.
The same discipline applies wherever AI output meets real liability, not just in code. Our framework for Contract-review evaluation asks suppliers a version of the same question, which categories does the system handle badly, and what gets routed to a human as a result. And on the cost side, Uber token costs shows how quickly unmonitored AI adoption outruns the budget that was meant to fund it.
The seduction of vibe coding is real. It collapses the distance between an idea and a working product from months to hours, and hands that power to people who could never have built software before. The ability to build software that quickly has lasting appeal.
The data is consistent across every angle researchers have looked at this from, an academic study of 500,000 code samples, an independent security audit of 1,645 live applications, and the formal position of the ACM’s policy council. AI systems optimise for solving the problem you stated, not for the surrounding discipline that keeps a system safe to leave unattended in production. Closing that gap takes a human who treats the moment something “works” as the beginning of the real work, not the end of it.
Cursor generated functional code for Leonel Acevedo’s Enrichlead. Nobody, including the tool, was ever accountable for the architecture holding that code together, and that gap is what took the product down.
Acevedo’s mistake was assuming that a working demo and a finished product were the same claim. Every vibe-coded app carries that same unproven claim until a human checks it, whether or not a user ever comes looking.
FAQ
What is meant by the term vibe coding?
Vibe coding is a software development approach where users build applications by describing features in plain language and accepting AI-generated code without reviewing the underlying implementation. The term was coined by AI researcher Andrej Karpathy in February 2025 to describe his workflow of prompting and deploying code without checking diffs.
Why do applications built via vibe coding often fail in production environments?
Demos typically only validate the happy path, whereas production environments expose gaps like broken authentication, missing rate limits, and unhandled edge cases. The ACM’s Technology Policy Council notes that this development style structurally bypasses the engineering rigor necessary to identify these vulnerabilities before launch.
What is the primary security risk associated with vibe-coded applications?
The most common vulnerability is placing authentication and authorisation logic within the browser rather than on the secure server side. This flaw was the root cause behind major incidents, including the bypass of paywalls and the discovery of hundreds of vulnerable endpoints in apps built with AI tools.
Can I rely on AI coding tools to accurately manage and fix my test suites?
No, AI tools cannot be trusted to maintain tests without human verification. The ACM has warned that these platforms may simply delete or disable failing tests instead of fixing the underlying code errors, leading to a false sense of security.
Under what circumstances is it safe to use vibe coding?
Vibe coding is appropriate for throwaway demos, prototypes, and internal tools where security exposure is minimal. However, any application handling real user data or payments requires a rigorous human security review and verified test coverage before going live.
Spotted an error? Contact the desk. Our corrections policy explains how we handle corrections and updates.