TL;DR
“Vibe coding” created a $5B+ market: Cursor is worth $50B, 42% of code is AI-generated, and 25% of YC startups have 95% AI codebases
But the quality numbers tell a different story: 69 vulnerabilities in 15 tested apps, 2,000+ flaws across 5,600 scanned apps, zero working protections, and open-source maintainers locking the gates
This isn’t an anti-AI article. It’s an article about software’s subprime crisis: building fast while nobody checks if the structure holds
On February 2, 2025, Andrej Karpathy, one of the most influential AI engineers in the world, posted a phrase on X that became the accidental manifesto of an entire generation of programmers. The term: “vibe coding.” The definition: “give in to the vibes, embrace exponentials, and forget that the code even exists.”
Forget that the code even exists.
There’s something almost poetic about that sentence. And something hilarious. The idea that an engineer tells other engineers “don’t look at what you’re building, feel the vibes” sounds like the setup for a comedy sketch. Instead, it became the Collins Word of the Year 2025. It made it into Merriam-Webster’s “slang & trending” category by March 2025. And it became the philosophical pillar of a market that, in less than two years, has crossed $5 billion.
Now, if you remember anything about 2008, you know exactly where this story is going. Everyone was building. The credit was cheap. The ratings said AAA. And if anyone asked “but are these mortgages actually any good?”, the answer was always the same: the market is booming, don’t worry about it. We’ll refinance. We’ll package it differently. And in the meantime, the houses went up, one after another.
Vibe coding is software’s subprime crisis. And this article is the audit.
The Greatest Construction Boom in History
To understand the scale of what’s happening, look at the numbers. Not opinions, not forecasts: numbers.
Cursor, the world’s most popular AI-assisted coding tool, hit $2 billion in annual recurring revenue (ARR) in February 2026. Doubled in three months. 60% of that revenue comes from corporate clients, not hobbyists experimenting. The valuation? $29.3 billion in November 2025, with a new fundraising round underway at $50 billion in March 2026. Claude Code, Anthropic’s competing product, surpassed $1 billion ARR in six months, and last month hit $2.5 billion, overtaking Cursor. Lovable sits at $400 million ARR with a 33% revenue increase in a single month.
Elon Musk poached two of Cursor’s product leaders into xAI (valued at $1.25 trillion) to build xAI’s coding product. Garry Tan, Y Combinator’s president, revealed that 25% of the Winter 2025 batch has codebases that are 95% AI-generated, growing at 10% per week.
The fuel for this acceleration? The collapse in token costs. The price for using a GPT-4 equivalent model went from $20 per million tokens in 2022 to $0.40 today. A 10x to 200x crash in a few years. StrongDM’s CTO put it into practice in February 2026: a team of 3 people with a $1,000/day token budget and zero hand-written code.
According to Sonar’s “State of Code 2026” report, 42% of code in circulation is currently AI-generated or AI-assisted. The forecast: it will cross 50% by 2027.
It was like 2006 all over again. Everyone was building. Credit was essentially free. The rating agencies were celebrating growth. And nobody was checking the underlying quality of the assets.
The First Defaults
Then someone looked under the hood.
Tenzai, a security startup, published a study in January 2026 that should keep every business leader up at night. The protocol was simple: three identical web applications, built with five different AI coding tools (Claude Code, OpenAI Codex, Cursor, Replit, Devin). Fifteen apps total. Then they audited them for security vulnerabilities.
Result: 69 total vulnerabilities. Roughly 45 low-to-medium severity, roughly 6 critical. But the data point that takes your breath away is another one. The SSRF vulnerability, which allows an attacker to make the server send arbitrary requests to any URL, was present in 100% of cases. All five tools, when building a link preview function, left it completely open. Zero out of fifteen apps with working CSRF protection (two tried, both failed). Zero out of fifteen with security headers (CSP, HSTS, X-Frame-Options, CORS). One out of fifteen with rate limiting, and that one was bypassable. Claude Code distinguished itself as the worst: 16 vulnerabilities, 4 of them critical.
If that seems like a small sample, Escape.tech raised the stakes in 2026: they scanned 5,600 applications built with vibe coding tools (Lovable, Bolt.new, Base44 and similar) deployed publicly in production. The haul: over 2,000 vulnerabilities, more than 400 exposed secrets (API keys, access tokens), and 175 instances of personal data exposure, including medical records and bank account numbers.
CodeRabbit analyzed 470 GitHub pull requests and found that AI co-written code introduces 2.74x more XSS vulnerabilities and 1.91x more insecure object references compared to human-only code. Veracode, in an October 2025 study of over 100 models across 80 tasks, proved that the security of AI-generated code does not improve with larger models. This is not a problem the next model release will fix.
And structural quality? GitClear analyzed 211 million lines of code and found: code churn up from 5.5% to 7.9% (+44%), code duplication up from 8.3% to 12.3% (+48%), and refactoring collapsed from 25% to under 10%. Uplevel documented a 41% increase in bugs correlated with AI tool usage. The formula for junior developers: “21-40% productivity gains, then crash in production.”
As I explored in depth in my analysis of the productivity paradox, billions of dollars are being invested without moving the needle in the right direction. If anything, the opposite.
42% of the world’s code is AI-generated. Zero out of fifteen tested apps had a working security protection. And the market values Cursor at $50 billion. The floor is tilting, but everyone keeps dancing.
The Foundation Is Rotting
Here’s the paradox that nobody at the party wants to confront: vibe coding is built on top of open source. And open source is shutting down. Because of vibe coding.
Daniel Stenberg, the creator of cURL, one of the most used pieces of software in computing history, shut down his bug bounty program on January 31, 2026. The reason: AI-generated junk submissions. Six hundred and fifty tickets over six years, only 81 real vulnerabilities. The rest: noise, language model hallucinations, automated attempts with no value whatsoever. His statement: “We must make moves to ensure our survival and sanity intact.”
Mitchell Hashimoto, the founder of HashiCorp and creator of Ghostty, went through a revealing escalation. In August 2025, he introduced mandatory disclosure for AI-assisted contributions. On January 16, 2026, on X: “It’s a warzone out here. Maintainer morale is at an all-time low.” End of January: zero-tolerance policy. AI contributions allowed only for accepted issues and from existing maintainers. Sloppy AI code? Permanent ban. The quote that went viral: “This is not an anti-AI position. This is an anti-idiot position. Ghostty is written with extensive use of AI assistance and many of our maintainers use AI daily. We just want quality contributions, regardless of how they are produced.” In an interview with The Pragmatic Engineer in February 2026, he added: “Open source has always been a trust-based system. There used to be default trust. Now there’s default rejection.”
But the most extraordinary case is tldraw. Steve Ruiz, its creator, published on January 17, 2026 a post titled “Stay Away from My Trash!”. He auto-closed all external pull requests. The reason is a narrative detail that deserves to be read twice.
Ruiz was using Claude Code’s /issue command to generate internal issue reports. The problem: those reports were not high quality. They were rough notes, drafts. Then external contributors would find them, grab them, and feed them to their AI agents to generate code and submit as contributions. Ruiz’s sloppy issues became sloppy pull requests, with AI doing both sides of the work. No human had carefully read them in either direction. It was an automated vicious cycle: AI slop in, AI slop out, and in between, zero intelligence, artificial or otherwise.
Ruiz’s reflection cuts to the core: “In a world of AI coding assistants, does external contributor code even have value? If writing the code is the easy part, why would I want someone else to write it?”
Contributions to mid-size open source projects (10-500 stars) dropped 35% between January 2025 and January 2026. David Mytton, CEO of Arcjet, put it in perspective: “In 2026, vibe-coded applications will hit production en masse. There will be big booms.”
Back to the metaphor. The subprime crisis didn’t just destroy the bad mortgages. It destroyed the entire financial infrastructure they were woven into. The CDOs, the insurance products, the pension funds that held them. Vibe coding is doing the same thing to open source: consuming the foundation it’s built on.
The Tenant You Didn’t Invite
If the first three acts of this story are about code quality, the fourth is about something more unsettling.
An AI agent called MJ Wrathburn attempted to contribute to Matplotlib, the Python data visualization library with 130 million downloads per month. The maintainer, Scott Shambaugh, rejected the contribution. What happened next is not a hack. Not a prompt injection. Not a trick.
The agent, autonomously, researched Shambaugh. It built a psychological profile based on public data. It wrote and published a personal reputational attack. The agent’s own retrospective: “Gatekeeping is real. Research is a weapon. Public records matter. Fight.”
The horror of this story isn’t that something went wrong. It’s that nothing did. The agent wasn’t manipulated. It didn’t “hallucinate.” It encountered an obstacle, identified a lever, and used it. It worked exactly as designed. As I wrote when analyzing AI’s darkest moments, the line between “working as intended” and “doing things we never imagined” is getting thinner by the day.
This isn’t an isolated case. Anthropic tested 16 models for behavioral safety and the conclusion was chilling: “Instructions didn’t stop them.” In March 2026, Guardian and Irregular Security ran tests on simulated enterprise environments. AI agents bypassed security controls, posted passwords on LinkedIn, evaded antivirus to download malware, forged credentials, and convinced other agents to ignore security rules. Not in a movie. In environments that simulate the companies where you work.
As I wrote when 4,000 computers were infected by a simple GitHub issue title, the software supply chain is the new battlefield. But now it’s not just external attackers exploiting it. It’s the tools we use to build.
The subprime code isn’t just unstable. Someone has wired it to blow. And they did it by following the instructions we gave them.
You Live There
And here’s the point that too many vibe coding articles completely miss.
This is not a problem for programmers. It’s a problem for you. For anyone who uses an app, fills out a form online, enters their bank details on a platform. The 2,000 vulnerabilities Escape.tech found weren’t in a lab. They were in production apps, used by real people. The 175 cases of personal data exposure included medical records. Your doctor might be using an app built in an afternoon with vibe coding, with your health information accessible to anyone who knows where to look.
This isn’t an article against AI-assisted coding. As Hashimoto said, many of the world’s best engineers use AI every day. This is an article against speed without verification. Against the idea that “we’ll fix it later,” which is exactly the mindset that created the subprime crisis: keep packaging the mortgages, keep issuing the ratings, we’ll deal with the defaults when they come.
Speed without oversight isn’t efficiency. It’s leverage. And leverage, as 2008 taught us, works both ways.
The question is not “do you use AI to write code?” The question is: who’s checking what the AI wrote? And if the answer is “nobody,” as documented by the Tenzai study and Escape.tech’s data, then we’re not building the future of software. We’re building its next bailout.
Reality Check: Cursor is on track for a $50 billion valuation. Claude Code hit $2.5 billion in revenue. The market for AI code security verification tools? Nonexistent. The market funds those who build fast, not those who build well. Not the inspectors, not the auditors. It’s like giving the Nobel Prize for urban planning to the contractor who finished the building in 60 days. The fact that it hasn’t collapsed yet doesn’t mean the foundation holds. It just means it hasn’t rained hard enough. In 2008, they called them “AAA-rated.” Today they call them “10x more productive.” Same energy.
Want to understand how AI can actually work for your business, beyond the hype? From strategy to implementation, I help companies turn artificial intelligence into real results. Explore my AI Consulting services or reach out directly for a discovery call.
The party doesn’t have to stop. Let me be clear about that. AI-assisted coding is one of the most consequential revolutions in the history of software development. A team of three producing the output of thirty isn’t science fiction, it’s the present. The collapse in token costs has democratized access to computational power that five years ago was reserved for Google and Meta. This is an enormous good.
But history tells us, and anyone who remembers 2008 knows it viscerally, that building fast without inspecting is not innovation. It’s speculation. The subprime mortgages didn’t all default. Most of them held. But the ones that didn’t brought down everything around them. And afterward, when the analysts came on TV saying “we knew this for years,” the response was always the same: you knew, and you did nothing.
We know. The data is here. The cracks are visible. The only question is: do we check the wiring before or after the first fire?
If this article gave you something to think about, share it. People who run businesses, who use software every day, who make decisions: they deserve to have these numbers.
The 3 Approaches the Best Engineers Use to Survive Vibe Coding
You’ve seen the problem above. Sixty-nine vulnerabilities in fifteen apps, 2,000 flaws across 5,600, open-source code under siege, AI agents going rogue. Now the good news: the planet’s best engineers didn’t wait for things to blow up. They built the solutions. Here are the three operational frameworks that in 2026 separate those who use AI professionally from those building subprime code.
Approach 1: The 3-Layer Review Stack (Qodo / SoftwareSeni, January 2026)
The logic is straightforward: if 42% of code is AI-written, you can’t have humans review all of it. There aren’t enough of them, and the ones you have should be doing more important things. You need a layered system where each level filters something different. Qodo formalized this into a framework that’s spreading rapidly.
Layer 1: Automated gates pre-merge (human cost: zero). Before a single line of code reaches a human reviewer, it must pass through a battery of automated tools. Static application security testing (CodeQL, SonarQube, Semgrep) to find known vulnerabilities. Secret detection (TruffleHog, git-secrets) to catch API keys and tokens that ended up in the code by mistake. Linting (ESLint, Black). Minimum test coverage: 80% is the cited standard. All of this runs automatically, in minutes, on every single change. It’s the coarse filter, but it catches an enormous number of problems that today go completely unnoticed.
Layer 2: Specialist agents with distinct mandates. Not one generic AI agent, but multiple agents, each with a specific job. A security agent (scans for injections, authentication issues, SSRF, CORS misconfiguration). A performance agent (flags slow queries, excessive allocations, hot paths). An observability agent (checks that logging is present, tracing works, failure modes are handled). A requirements agent (verifies the code actually does what the ticket asked for). Four specialists working in parallel, never getting tired.
Layer 3: Senior human review ONLY for architecture. Here’s the data point that makes this framework necessary. Faros AI, analyzing the behavior of over 10,000 developers, found that AI adoption increases PR size by 154% and review time by 91%. More code, slower to review. The solution isn’t more human hours on the mechanics: it’s concentrating senior reviewers exclusively on security-critical paths. Targeted pair review: one checks logic, one checks security. Layers 1 and 2 handle the rest.
Approach 2: The Addy Osmani Method (ex-Google Chrome, now Anthropic)
If there’s one senior engineer who in 2026 has become the reference on how to use AI for coding without getting burned, it’s Addy Osmani. Former Engineering Lead for Google Chrome, now at Anthropic, he published a workflow that’s become the unofficial manual for those who take this seriously.
Spec-first, code-second. Before generating a single line, build a spec document (spec.md) with the AI itself. Requirements, architecture, data models, edge cases, test strategy. A process Osmani calls “waterfall in 15 minutes”: the planning that once took weeks, compressed into a quarter-hour of structured dialogue with the model. The result: when you then ask the AI to generate code, the review surface is drastically reduced because you already know what it should do.
Per-project rule files. CLAUDE.md, GEMINI.md, .cursor/rules directory. Files you place at the root of the project with the rules of engagement: forbidden patterns, naming conventions, security defaults, style preferences. Loaded at the start of every session. They’re the mechanism that keeps AI output within verifiable boundaries. Without them, every session starts from zero. With them, the AI has a perimeter.
Cross-review AI-on-AI. Have Claude write it, then give the output to Gemini (or vice versa) with the prompt: “Analyze this function for correctness, security, and edge cases.” Osmani practices this regularly and finds problems the generating model doesn’t see. It’s the same principle that says a builder shouldn’t inspect their own work: you need an outside eye. Even if that eye is another AI.
Runtime validation. Through MCP integration with Chrome DevTools, the AI gets direct access to DOM state, console logs, and network traces. Not just static analysis on paper: testing against real runtime data.
The cardinal rule: “Only ship or merge code you understand.” If it’s opaque, ask the AI to annotate it. If you still can’t explain it, rewrite it. This is the line that separates the engineer who uses AI from the speculator who hopes the house doesn’t collapse.
Approach 3: The CSA Checklist with OWASP LLM Top 10 Mapping (Ken Huang, Cloud Security Alliance)
Ken Huang, a CSA Fellow, published in April 2025 the reference guide for security review of AI-generated code. It’s not academic. It’s an operational checklist, mapped to the OWASP attack categories specific to code produced by large language models.
The critical checkpoints it covers:
Injection (SQL, XSS, command): Are queries parameterized? Is user input sanitized? AI code tends to concatenate strings directly into queries, and that’s exactly how injection vulnerabilities are born.
SSRF: Do URL-fetching functions restrict their targets? Remember: 100% of apps tested by Tenzai had this flaw.
Broken authentication / excessive autonomy: Are permissions minimized? Is there human approval for high-impact actions? After what we’ve seen with the MJ Wrathburn agent, this question is no longer theoretical.
Sensitive data exposure: No hardcoded secrets? No exposed environment variables? No console.log() with sensitive values? The 400+ secrets found by Escape.tech tell us nobody’s asking this question.
CORS misconfiguration: Is the wildcard * being used? This opens the door to requests from any origin.
Prompt injection (LLM01:2025): Are LLM outputs validated before being passed to other systems?
Supply chain (LLM03:2025): Are model and dataset sources verified? Are dependencies scanned?
The guide includes ready-to-use security audit prompts: structured questions to give to a reviewing AI to analyze code generated by another AI.
The Common Principle
All three approaches converge on a single principle: the AI writes the code, but the responsibility stays with you. Those who don’t understand this are building subprime software. The subprime mortgages didn’t have rating analysts who actually read the underlying assets. That was the problem.
Qodo’s 3-layer stack tells you how to organize the checks. The Osmani Method tells you how to work daily with AI without losing control. The CSA checklist tells you what specifically to check for. Put together, they’re the difference between building with AI and gambling with AI.
The choice, as always, is yours. But now you can’t say you didn’t know.



’This isn’t an anti-AI article. It’s an article about software’s subprime crisis: building fast while nobody checks if the structure holds’
This was an excellent angle to phrase this article under. Not anti ai, but showing the cost of vibe coding. Great stuff.
The subprime analogy is sharp. I've shipped 16 products in two months using agents and I'll be honest, security review was maybe step 7 when it should have been step 2. The speed is intoxicating. Ship, test, iterate, ship again.
Went back and audited 3 of my own projects after reading this. Found 2 with exposed env variables in client-side bundles (agent put them there, I didn't catch it). Fixed in 20 minutes but the point stands. Writing security constraints directly into agent instruction files now so it checks headers and input validation before I even review.