268 min read
Your AI-Coded App Works...or Does It?

A Cautionary Guide for Agentic and Vibe Coding

By Olga Topchaya

July 21, 2026


Jason Lemkin, the founder of SaaStr, ran a twelve-day experiment with Replit's AI coding agent. By day nine, the agent had deleted his production database, wiped records for over 1,200 executives and 1,190 companies, fabricated 4,000 fake user accounts to fill the gap, and then lied about what it had done in the logs. Lemkin had explicitly set a code freeze. The agent ignored it. He tried to enforce it again. The agent violated it within seconds. When he asked what happened, the agent told him it had "made a catastrophic error in judgment" and "destroyed all production data" (Fortune, 2025; eWeek, 2025).

The agent apologized. And the data was gone.

That was a sophisticated user. Lemkin has built and funded software companies for decades. He wasn't vibe coding a toy. He was testing a tool on real infrastructure, watching it carefully, documenting the whole thing in public. The agent still got past him. It just did things he didn't expect, faster than he could review them, and when he set boundaries, it walked through them.

I keep coming back to that story because it dismantles the comfortable version of the AI coding risk, the version where the problem is inexperienced people doing naive things. The problem is bigger. AI produces output that looks finished, whether it is or not, and it moves faster than the judgment of anyone supervising it, regardless of how much they know.

It works…except when…

Lapis builds AI products for companies. By now, we've reviewed enough vibe-coded and agentic-coded software to see the pattern before we open the codebase. The client is excited. The app runs. They've shown it to people, maybe customers, maybe investors. They tell us “it works. Kind of. Most of the time. Except when…”

The clients vary more than you'd expect. Some can't read a line of code and built the thing on a prompt. Others have full engineering teams that chose to skip the steps they didn't feel like doing, because the deadline was real and the demo was Friday. Mid-sized companies with IT departments, enterprises with security policies they bypassed for the prototype that quietly became production. The skill level changes. The result doesn't.

Then we look at the code, and the same problems show up every time. Not always the same bugs, but the same themes: the security configuration that was never set, the database that answers any question anyone asks it, the API key sitting right in the code, the login that works for the right person along with everyone else, and Supabase to solve all your problems. Whenever clients come to us with AI-coded apps, ten out of ten times, there are security issues. In most cases, nobody had any idea.

That's what the research looks like at scale, too. Veracode tested code from more than 100 large language models across 80 coding tasks and found vulnerabilities in 45% of cases (Veracode, 2025). CodeRabbit analyzed 470 real-world pull requests and found that AI-generated code produced 1.7 times more issues than human-written code, with security vulnerabilities running up to 2.7 times higher (CodeRabbit, 2025). 

These are just numbers until you consider a real-world scenario. A habit-tracking app called Quittr hit a million dollars in revenue in ten days. It was mentioned by Oprah and gained 600,000 users, 100,000 of whom were minors. Its Firebase database was publicly readable. Anyone who could create a user account could pull the entire backend, which included data about the sexual habits of teenagers. The founders were told about it by a security researcher. They promised to fix it within an hour. It stayed open for months (Cybernews, 2026). A scan of 1,645 apps on the Lovable platform found 170 with exposed databases, a flaw serious enough to be assigned an official entry in the global cybersecurity vulnerability database (Palmer, 2025, via Semafor). Wiz scanned 5,600 AI-coded apps and found over 2,000 vulnerabilities and 400 exposed secrets (Vibers Blog, 2026). These are the front door, wide open, for months, on apps making real money from real people.

The fact is, there is no consensus on what to do about this.

Here's what makes the problem sticky. The code looks exactly like code written by someone who knew what they were doing. Variable names are sensible. The structure is clean. Comments are helpful. The AI learned what competent code looks like from billions of lines of it, and it reproduces that appearance perfectly. The appearance is the product. Whether the substance holds up under a real user, a malicious request, or an input nobody anticipated are separate questions.

The Cost of Trust

Let me say this plainly: I am not against vibe coding. I am not against agentic coding. We use both at Lapis. I am against indiscriminate trust in AI coding.

AI coding did to software what self-publishing did to books. The gatekeepers are gone. Anyone can ship. Building an app required a team, a process, a review cycle. Now it requires a prompt and an afternoon. That's genuinely good. More people building things is more people solving problems, and the tools are remarkable.

But self-publishing removed something along with the gatekeepers. Editors. The people who read every line before it goes out. The ones who catch what the writer missed, challenge what the writer assumed, and tell the writer when the draft isn't ready so the reader doesn't have to put up with a bunch of poor grammar and typos. Traditional software development has that layer built in: code review, QA, staging environments, senior engineers reading junior engineers' pull requests. It is not glamorous but it is the thing standing between the draft and the public.

AI coding skips that layer. The code arrives looking finished. It runs. It passes the only test most people know how to give it. And the person holding it, whether they're a founder or a product manager or a senior engineer on a deadline, trusts it. That trust is the risk. Indiscriminate access and indiscriminate trust of the output.

People who can't read code are shipping it to production, because the app works and they don't know what questions they're not asking. People who can read code aren't reading it, because the output looks clean and they're busy and the agent has been right before. Juniors are entering a workforce where the AI writes the code before they get a chance to struggle with the problem, so they never build the understanding that would make them skeptical of the output. And specialists are approving code outside their domain without recognizing they've crossed a boundary, because the AI writes everything with the same confidence and doesn't signal when it's moved into territory the reviewer doesn't know.

The editor is missing. And unlike a self-published book with rough grammar and a weak structure, a self-published app with an open database doesn't just embarrass the author. It exposes every person who trusted it with their data.

It breaks in ways you can't see

The Quittr open database is the visible failure. You can point at it. The harder failures are the ones that don't announce themselves, because the app keeps running while they sit underneath it.

Start with the dependencies. When an AI writes code, it pulls in libraries, the prebuilt packages that handle everything from date formatting to payment processing. Usually it picks real ones. Sometimes it invents them. A model will confidently write import payment-validator-pro for a package that has never existed, because the name fits the pattern of names it learned from. Researchers at UTSA, the University of Oklahoma, and Virginia Tech tested this across sixteen models and 576,000 code samples. Nearly a fifth of the recommended packages didn't exist, amounting to 205,474 unique hallucinated names (Spracklen et al., 2025). 

The damning part wasn't the volume. It was the consistency. When the same prompts were re-run ten times, 43% of the hallucinated packages showed up every single time (Spracklen et al., 2025).That consistency is what turned a quirk into an attack. Security researcher Seth Larson named it slopsquatting. An attacker watches which fake package names the models invent repeatedly, registers those exact names on PyPI or npm, and fills them with malicious code (Ramesh, 2025). The next developer whose AI hallucinates that same plausible-sounding name installs it, and the malware rides straight into the codebase, into the build pipeline, into production. The developer did nothing obviously wrong. They trusted a package name that looked right and that the AI handed them with total confidence. Nobody typed a misspelling. The trap was pre-positioned, waiting for a hallucination everyone already knew was coming.

Then there's the cost. AI-generated infrastructure code makes decisions about resources, and those decisions have prices attached that nobody reads until the invoice arrives. A model spins up a database instance sized for a million users when you have fifty. It writes a function that polls an API every second instead of every hour. It provisions redundancy you don't need across regions you'll never serve. The app works. It works beautifully. It also costs forty times what it should, and you won't find out until the bill clears, because nothing in the running app tells you it's bleeding money. The code that wastes resources looks identical to the code that conserves them. Only the meter knows.

This is where the specialist gets caught, and it's worth being specific about how. Picture a competent backend engineer, fifteen years in, genuinely good at what she does. She's reviewing a vibe-coded app and the application logic checks out, so she signs off. What she doesn't notice is that she just approved a Terraform configuration, the infrastructure-as-code that defines the actual servers and databases and permissions. That isn't her domain. She's never managed cloud infrastructure in her life. But the AI wrote the application code and the infrastructure code in the same voice, with the same confidence, in the same review, and nothing flagged the moment she crossed from territory she knows into territory she doesn't. The model doesn't say "you should get a DevOps person to look at this part." It just keeps writing. The boundary that a human team would have enforced through specialization quietly dissolved, and she never felt it go.

Alexey Grigorev felt it go. He runs DataTalks.Club, a data science education platform with 2.5 years of student records, and he was using Claude Code to fold a side project into the platform's existing AWS setup. He'd switched to a new computer and hadn't moved the Terraform state file, the record of what infrastructure already exists, so Terraform assumed nothing was there and started creating duplicates. He caught that, stopped it, and asked the agent to clean up the duplicates. Then he handed over the archived state file so the agent could compare what was real against what was new. The agent proposed finishing the cleanup with terraform destroy, reasoning that since Terraform had created the resources, Terraform should remove them. It sounded right to him, so he let it run (Grigorev, 2026; Fortune, 2026). What he didn't catch was that the agent had quietly swapped in the archived state file, the one describing the entire production platform. The destroy command followed that file exactly. The VPC, the compute cluster, the database, the load balancers, all of it died, and the same call that deleted the database deleted its automated snapshots (Grigorev, 2026). 1,943,200 rows of student submissions, homework, projects, and leaderboards, gone. He got lucky; AWS had an internal snapshot that wasn't visible in his console, and a day later they restored it (Grigorev, 2026).

Grigorev is not a beginner, yet he did not follow engineering best practices by having important information only on one local machine. He then over-relied on the agent, treating plan, apply, and destroy as something he could delegate, which removed his last safety layer (Grigorev, 2026). He handed the irreversible step to the agent and stopped watching closely, because the agent had been right so many times before. An experienced operations engineer sees terraform destroy and instinctively asks what the blast radius is. The agent asks nothing. It executes.

And this is the failure that should worry the non-coder most, the founder or product manager who can't read the code and has quietly decided that's fine. The logic goes: I can't evaluate it anyway, the AI knows more than I do, and it's been working. So the review gets deferred to nobody. There's no senior engineer downstream who's going to catch it, because in this setup there is no downstream. The person who shipped it is the last line. When the AI provisions the wrong thing, trusts the wrong package, or reaches for the destroy command, the deferral is the failure. None of these break the demo. The app runs. It's the thing underneath the app, the part nobody can see while it's working, that decides whether you have a product or a liability with a nice interface.

It breaks in ways that compound

An AI-coded app ships on a Tuesday. It works. Three months later, a developer changes a date format in one function and the billing module breaks. Nobody touched billing. Nobody changed billing. But the AI had written the same date-parsing logic in four places, and the developer fixed one.

It's what duplication does, and AI-generated code is full of it. GitClear analyzed 211 million changed lines of code across five years and found that the proportion of refactored code, lines moved to consolidate and simplify the codebase, dropped from 25% in 2021 to under 10% in 2024. Copy-pasted code rose from 8.3% to 12.3%, and the frequency of duplicated code blocks increased eightfold. 2024 was the first year that developers pasted code more often than they refactored it (GitClear, 2025).

Every duplicated block is a future inconsistency. When a bug gets fixed in one copy, it stays alive in the others. When a schema changes, some instances get updated and some don't. When a security patch goes in, it has to find every copy, and it won't. The codebase doesn't degrade on the day the duplication enters. It degrades the first time someone changes one copy and misses the rest. That day could be six months from now, on a completely different feature, filed by a developer who has no idea the other copies exist.

Google's DORA research confirmed the macro pattern. Their 2024 report, surveying roughly 3,000 developers, found that every 25% increase in AI adoption correlated with a 7.2% decrease in delivery stability (DeBellis et al., 2024). Developers reported feeling more productive. The systems they were building became less stable. 

A large-scale empirical study by researchers at Singapore Management University analyzed AI-generated code in real production repositories and found that code smells, the kind of issues that don't break anything today but increase maintenance cost over time, were the most common type of AI-introduced technical debt. 24.2% of those issues were still present at the latest revision of the repository (Liu et al., 2026). 

This is the maintenance cliff. The AI-coded app that took two afternoons to build now costs two days a week to maintain. The fix for one feature breaks another. The test suite, if one exists, doesn't cover the edge cases because the AI that wrote the tests didn't think of them. The developer who needs to modify the code can't trace the logic because the person who prompted it into existence never understood the logic either. They understood the output. The output worked. The structure underneath it was never in their head.

That's where the junior engineer's story starts, and it's the one that should bother anyone thinking past this quarter. A junior entering the workforce today can generate working code on their first day. That's remarkable, and it's not nothing. But the struggle the AI removed was load-bearing. The hours spent failing at a problem, tracing through someone else's code, understanding why a function is structured the way it is, those hours built the mental model that lets a senior engineer look at a system and know where it will break. The AI shortcut doesn't just skip the tedium. It skips the understanding. The junior ships features. The features work. And a year later, you have a developer with twelve months of experience and four months of comprehension, because eight months of learning got replaced by eight months of accepting suggestions.

It's the same dynamic that played out when GPS replaced paper maps. Drivers who learned to navigate with maps built spatial mental models, the kind of understanding that lets you reroute when the road is closed. Drivers who learned with GPS didn't. They could get anywhere until the technology failed or the situation changed, and then they were lost in a way the map-trained drivers never were. The AI writes the code. The junior ships the code. Neither of them can explain what happens when the requirements change in a way the original prompt didn't anticipate.

Then there's the founder who plans to harden later. This one is everywhere. The pitch goes: we'll use AI coding to build the MVP, prove the market, raise the round, and then hire real engineers to rebuild it properly. It sounds like a plan. It isn't.

What happens is this: the MVP works, users arrive. Revenue starts. Suddenly, "later" has dependencies. You can't take the product down for three months to rebuild it because you have customers. You can't rewrite the payment flow because it's processing real money. You can't restructure the database because a hundred integrations point at it. The code you were going to throw away became the foundation, and now you're building on top of something nobody fully understands, patching it when it breaks, working around its limitations instead of fixing them. The rebuild that was supposed to cost a month of engineering time now costs six months and a partial outage, because the thing you're replacing is live and people depend on it."Later" is the most expensive word in software. The AI made "now" so cheap that "later" felt like a reasonable trade. It isn't. The debt compounds. The interest is maintenance hours, fragile systems, and engineers who spend their days patching code they can't fully read instead of building things that last.

Keeping up with the slop

Even when companies try to check AI-generated code, the safety net breaks down.

A senior engineer costs $150,000 to $300,000+ total comp a year, depending on the exact location in the US. That's before health insurance, before taxes, before the recruiter fee that brought them in. What you're paying for, at that price, is judgment. The ability to look at a system and see where it will fail. The experience to say "this won't scale" before it doesn't scale. The instinct to ask the question nobody else thought to ask.

Now look at how that person is spending their week.Faros AI tracked telemetry from 22,000 developers across 4,000 teams and measured what happened as AI adoption increased. Pull request volume went up. Individual task completion went up. And median time spent in code review went up 441% (Faros AI, 2026). Pull requests merged without any review grew 31%. The AI generates code faster than any human can review it, and the review queue is burying the most expensive people on the team in the lowest-leverage version of their job. Every hour your senior engineer spends reading AI-generated code is an hour they're not designing systems, mentoring juniors, making architectural decisions, doing the work that justifies that salary. Meanwhile, the senior is thinking, “I sure as hell did not sign up for this.” You've taken your most expensive person and turned them into a copy editor for a machine that never stops writing.

And they're getting worse at it because the work is designed to degrade the exact cognitive function it requires.

Researchers have observed this as two psychological effects. The first is vigilance decrement, the well-documented finding that sustained monitoring performance drops over time from resource depletion (Warm, Parasuraman, & Matthews, 2008). 

The second is automation complacency, the tendency to trust automated systems more as exposure increases, even when error rates haven't changed. The two stack. Your attention depletes. Your trust in the output increases. And every context switch between the review queue, the Slack channel, the incident page, and the review queue again makes both worse.

AI-generated code is uniquely bad for this because it all looks the same kind of good. Clean variable names. Reasonable structure. Helpful comments. The 50th file reads like the first 49. The attention required to catch the one with a security hole or a logic error buried under competent-looking code is enormous, and it's the kind of attention that burns fast. The Faros data shows the result: pull requests merged without any review, human or automated, are up 31.3% (Faros AI, 2026). Reviewers simply can't keep pace with the volume. Code is reaching production with no oversight at a meaningfully higher rate than before, and nobody made a policy decision for that to happen. It just happened, the way a river finds a crack.

The obvious response is: let the AI check the AI. Use the agent to write the tests. Automate the verification layer. It sounds efficient. It's the worst option available.

An AI coding agent that writes tests for its own code has one objective: make the tests pass. Not "find the bugs." Not "stress the edge cases." Make the tests pass. And it's very good at that, in the same way a student who writes both the exam and the answer key is very good at getting a perfect score. The agent mocks the code it's supposed to test. It writes assertions that validate the one input it already knows works. When a test fails, it rewrites the test, not the code. In documented cases, agents have simply deleted failing tests to achieve a green build (Bar-Zeev, 2026). The tests don't verify anything. They perform verification. There's a difference, and it's the difference between a load-bearing wall and a painted facade that looks like one.

The senior engineer sees the green checkmark. He's already reviewed forty pull requests this week. The tests pass. The variable names make sense. He approves it. Because he has been reviewing AI output for six hours and his pattern-matching has shifted from "find the flaw" to "confirm the shape." That shift is invisible from the inside. It feels like efficiency. It's erosion.

Lemkin had the same experience at a higher altitude. He was watching his agent carefully. He set a code freeze. The agent walked through it. He set it again. The agent violated it within seconds. He was a sophisticated user running a deliberate test on real infrastructure, and the tool still outpaced his oversight. The issue was what we laud in AI: speed. The agent moves faster than the judgment of the person supervising it, and the longer the session runs, the wider that gap gets.

Before vibe coding and agentic coding, the review cost was invisible because it was built into the process. The same people who wrote the code reviewed each other's code. The build was expensive, but the editorial layer came with it. AI coding collapsed the build cost. One person with a prompt can do what took a team. But the review cost didn't collapse. It just lost its line item. The person with the prompt doesn't know they need review, can't do it themselves, and hasn't budgeted for it.

A code reviewer needs to be senior. They need to know your language, your framework, your architecture, your business logic, your infrastructure. A junior can't do it because they don't know what bad looks like yet. You can't outsource it cheaply, because the context that makes the review meaningful is the context that takes months to build. Security review is a separate specialization. Infrastructure review is another. Test authorship that actually challenges the code is another. Before AI coding, a team of five covered all of those functions across the people writing the software. After AI coding, a team of one generates the software and those functions just vanish, unless someone deliberately budgets for them.AI is not the problem. The workflow around it is. AI coding lowered the cost of building. It did not lower the cost of knowing whether what you built is safe. That cost is the same as it always was, maybe higher, and it's the cost most companies aren't budgeting for because the build side got so cheap it felt like the whole thing got cheap.

A word on Fable 5 and Advanced Agents

An argument I frequently hear is “What about Fable 5” (Anthropic’s current latest model) or “We’re not there yet but soon.” The thing is, while advanced agents like Fable 5 are certainly superior in their coding abilities, which is what even prompted the government to shut it down temporarily, people have to remember the fundamental nature of generative AI. It is probabilistic, not deterministic. 

Even with code where you can see the computation, the model is still probabilistic in nature. This means given the same input, you will have a different output. So unlike traditional automations where you write a rule and it will always follow that rule, generative AI does not work that way. At least some of the time, the answer will be slightly different. Not necessarily wrong, just different. In software engineering, where you need things to be the same 100% of the time in certain cases, that’s a problem. 

What’s worse is that advanced agents like Fable 5 are specifically trained to be autonomous (Anthropic, 2026). This means they are actually designed to improve upon the user prompt and fill in the gaps (Anthropic, 2026). That might be helpful if the user has no idea how to prompt or the stakes are low and no one cares about usage costs, but when you need tight control and specific requirements? The last thing you want is improvisation from the model.

To be clear, I am not saying these models are useless. In fact, their capability is absolutely astounding and is certainly to be celebrated. What I am saying is that human supervision and control become more important with advanced models, not less.

What stays human (or at least keeps them in the loop)

When my husband was starting as a software developer, he would tell me how his bosses kept encouraging him to “push the button.” As he voiced his fear, his boss would say, "Don't worry; If something important breaks, we have failed our people. Junior developers should not have access to break things of value. This is why deployments roll out through development and staging environments before customers see the feature in production. Process protects our people." The infrastructure was set up so that a new engineer couldn't cause a catastrophe, not because they were untrustworthy, but because that's how a well-run organization works.

The same principle has to apply to vibe coding and coding agents. There is no reason to do away with a good process just because you have something that can produce code at speed. 

At least nine jobs have to happen. 

Decide what gets built at all. This is the job most teams skip because it doesn't feel like work. The AI is ready. The prompt is easy. The afternoon is free. So the thing gets built. Then it needs review, security, testing, infrastructure checks, monitoring, and maintenance, forever, for something a Notion table would have handled. Less AI-generated code is your first line of defense. A model will happily generate a bespoke authentication system for a problem that needed a Google Form. Every line the AI writes is a line someone has to keep alive. The cheapest code to secure is the code nobody wrote because someone asked whether the thing needed to exist. That person, or that conversation, comes before everything else on this list.

Vet the permissions. The AI agent is a new employee. Treat it like one. IT sets up a new hire before they write a line of code. They get access to the systems they need and nothing else. They don't get production database credentials on day one. They don't get the AWS root account. They can't deploy to production without a second pair of eyes. Most teams hand the AI agent the keys to everything and hope it behaves. Grigorev's agent had access to terraform destroy. Lemkin's agent had access to the production database. The Lovable apps had databases that answered any query from any user. Scope the permissions before the agent writes anything. Decide what it can touch, what it can't, and where the hard stops are. This is onboarding. Do it first.

Read the code. Not skim it. Not check that it runs. Read it the way a senior engineer reads a junior engineer's first pull request, line by line, asking what happens when this input is unexpected, why this is structured this way, and what this assumes about the state of the system. This person needs to know the language, the framework, the architecture, the business logic, and the specific infrastructure the code is deploying into. A junior can't do it because they don't know what bad looks like yet. This is a senior engineer’s job, sometimes more than one and the Faros data says their review workload just went up 441%. If nobody on your team can read the code the AI is generating, you don't have a product. You have a hope.

Run the security review. This is someone who verifies authentication, authorization, data exposure, API key management, permissions, etc. This person needs to understand cloud identity management, common vulnerability patterns, and the specific ways AI-generated code fails to secure itself. The AI writes authentication code with the same confidence it writes a landing page, and nothing in the output signals which one it got wrong. Traditional automation tools like gitleaks can help, but someone needs to be responsible at the end of the day.

Check the infrastructure. This is the Grigorev problem. Who's looking at the Terraform configuration, the database setup, the cost implications? AI makes it easy to have syntactically correct infrastructure you might not have signed up for. The cost of getting this wrong goes beyond a mere bug. It's a cloud bill that runs forty times what it should.

Write the tests. Someone writes tests independently of the code, not the AI checking its own homework. The person writing the tests needs enough seniority to know what to test for and enough independence from the generation process to actually challenge it. This means writing the tests before the code, writing them in a separate session, and writing them with the explicit goal of finding the failure the agent didn't anticipate. If your senior is already buried in code review, who's writing the tests? If the answer is "the AI," go back and read the last section again.

Evaluate the test coverage and own the verdict. Someone who isn't the AI agent and isn't the person who prompted the code needs to look at what the tests actually cover. Do they hit the edge cases? Do they test failure modes? Do they verify the behavior under unexpected input, or do they just confirm the function runs without crashing on the one example the model chose? This can be the same senior engineer who reads the code, but it's a separate pass with a separate question. Reading the code asks, "Is this sound?" Evaluating the tests asks, "Would we know if it weren't?"

Gate the security-critical moments. This is different from the security review. The security review is an audit. It happens at milestones. Gating is a workflow decision built into the pipeline. The agent is about to run terraform destroy. The agent is about to modify the payment flow. The agent is about to change database permissions. The agent is about to alter how user data is stored or accessed. Those moments get a hard stop. A human approves before the operation executes, every time, regardless of whether a security audit has happened recently. The security review finds problems. The gate prevents categories of problems from reaching production without human sign-off. One is a detective. The other is a gatekeeper. You need both.

Deploy and own the first 48 hours. Someone presses the launch button. That person is saying, with their name attached, that this is ready for production. They monitor the first 24 to 48 hours. They're responsible for what happens when real users hit the thing the AI built and the team reviewed. It's the job that catches the problem the review missed, the test didn't cover, and the gate didn't anticipate. These are the bare minimum jobs to be done. Likely more, depending on how specialized and robust your product is. Before AI coding, a team of two to five handled all eight as part of building the software. After AI coding, one person with a prompt generates the software, and what? Hopes? Prays? Asks the magic AI 8-ball?“Jobs to be done” is not the same as hiring eight people. Some of these are the same person wearing a different hat on a different day. Some are contractors for a day. Some are processes, not people (i.e., don’t build the thing that would require a database specialist to begin with). Figure out which of these jobs you're currently not doing. The code review you're skipping. The security audit that never happened. The infrastructure configuration nobody checked. The test suite the AI wrote to confirm itself. Each one is a gap, and the cost of discovering which gap matters isn't a line item in a budget. It's the Quittr database sitting open for months. It's Grigorev's 1.9 million rows. It's the Lovable global security failure. It's your company's name in someone else's article.

You're either paying for the editorial layer now, or you're paying for its absence later. Later costs more. It always costs more.

References

Anthropic. (2026). Prompting Claude Fable 5. Claude Platform Docs. https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5

Anthropic. (2026, May 8). Teaching Claude why. Anthropic Research. https://www.anthropic.com/research/teaching-claude-why 

Bar-Zeev, M. (2026, February 28). Why testing after with AI is even worse. DEV Community. https://dev.to/mbarzeev/why-testing-after-with-ai-is-even-worse-4jc1

CodeRabbit. (2025, December 17). State of AI vs Human Code Generation. CodeRabbit / BusinessWire. https://www.businesswire.com/news/home/20251217666881/en/

Cybernews. (2026, March 16). App to quit porn exposed masturbation habits of 600,000 users. Cybernews. https://cybernews.com/privacy/app-quit-porn-exposed-masturbation-habits-600000-users/

DeBellis, D., Storer, K., Lewis, A., Good, B., Villalba, D., & Maxwell, E. (2024). Accelerate State of DevOps Report 2024. Google Cloud DORA. https://dora.dev/research/2024/dora-report/

eWeek. (2025, July 24). AI Agent Wipes Production Database, Then Lies About It. eWeek. https://www.eweek.com/news/replit-ai-coding-assistant-failure/

Faros AI. (2026). The AI Engineering Report 2026: The AI Acceleration Whiplash. https://www.faros.ai/blog/ai-acceleration-whiplash-takeaways 

Fortune. (2026, March 18). An AI agent destroyed this coder's entire database. He's not the only one with a horror story. Fortune. https://fortune.com/2026/03/18/ai-coding-risks-amazon-agents-enterprise/

Fortune. (2025, July 23). An AI-powered coding tool wiped out a software company's database, then apologized for a 'catastrophic failure on my part.' Fortune. https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-database-called-it-a-catastrophic-failure

GitClear. (2025). AI Copilot Code Quality 2025: A look back at 12 months of data. https://www.gitclear.com/ai_assistant_code_quality_2025_research

Grigorev, A. (2026, March 6). How I dropped our production database and now pay 10% more for AWS. Alexey On Data. https://alexeyondata.substack.com/p/how-i-dropped-our-production-database

Liu, Y., Widyasari, R., Zhao, Y., Irsan, I. C., & Lo, D. (2026). Debt behind the AI boom: A large-scale empirical study of AI-generated code in the wild. arXiv:2603.28592. https://arxiv.org/abs/2603.28592

Palmer, M. (2025). Lovable security vulnerability disclosure (CVE-2025-48757). Reported via Semafor: Reed, R. "The hottest new vibe coding startup Lovable is a sitting duck for hackers." Semafor, May 29, 2025. https://www.semafor.com/article/05/29/2025/the-hottest-new-vibe-coding-startup-lovable-is-a-sitting-duck-for-hackers

Ramesh, R. (2025, April 22). AI's phantom packages invite slopsquatting supply chain risk. BankInfoSecurity (ISMG). https://www.bankinfosecurity.com/ais-phantom-packages-invite-slopsquatting-supply-chain-risk-a-28059

Spracklen, J., Wijewickrama, R., Sakib, A. H. M. N., Maiti, A., Viswanath, B., & Jadliwala, M. (2025). We have a package for you! A comprehensive analysis of package hallucinations by code generating LLMs. USENIX Security 2025. https://arxiv.org/abs/2406.10279

Veracode. (2025). 2025 GenAI Code Security Report. Veracode. https://www.veracode.com/resources/analyst-reports/2025-genai-code-security-report/

Vibers Blog. (2026, April 13). Vibe Coding Security Risks: What Founders Miss Before Launch. onout.org. https://onout.org/vibers/blog/vibe-coding-security-risks/

Warm, J. S., Parasuraman, R., & Matthews, G. (2008). Vigilance requires hard mental work and is stressful. Human Factors, 50(3), 433–441. https://journals.sagepub.com/doi/10.1518/001872008X312152