A program of EffectiveSC

How We Use AI

As of December 4, 2026

AnalysisHow much will companies spend checking AI agents' work? →

Blog /

Is building your own software with AI making companies less secure?

Security

AI-written code now almost always runs, yet about 44% of tasks in Veracode's 2026 tests produced a known vulnerability. Buying is no shelter either: a third party was involved in 48% of the breaches Verizon studied. On the evidence so far, building with AI probably adds risk in the near term, most for small teams with no one checking security.

Code written by AI now almost always runs. In Veracode's 2026 benchmark, the models it tested wrote syntactically correct code nearly 100% of the time, yet in about 44% of coding tasks the code carried a known security vulnerability. The average security pass rate was 56%, against 55% in Veracode's first report. Buying software instead is no clean escape. In Verizon's 2026 breach report, a third party was involved in 48% of breaches, up from 30% the year before. No study yet compares breaches in software companies build for themselves with breaches in software they buy. The evidence there is leans one way: building with AI probably adds security risk in the near term.

More companies are trying it. In Stack Overflow's opt-in 2026 developer survey, 18.6% of respondents said they build in-house software to replace paid vendors, and 54.4% of those build it with AI. That is what developers build, not what companies cancel. In an October 2026 survey of 100 security chiefs at companies with more than 1,000 employees, Andreessen Horowitz found 83% reporting coding assistants or agents in broad or limited production, and 34% reporting autonomous agents with tool access or write permissions. Andreessen Horowitz led Armadin's Series B and invested in Neo, both named in its write-up.

The case that it adds risk: the code

Veracode's results by type of flaw show where the models are weakest. Pass rates were 87% on cryptographic algorithms and 83% on SQL injection, but 15% on cross-site scripting and 12% on log injection. That is a lab benchmark scored by a company that sells application security testing, not a count of flaws in shipped software. An earlier, independent evaluation points the same way. Georgetown's Center for Security and Emerging Technology gave five models prompts written to draw out common bugs, and about 48% of the C code snippets compiled but failed a formal verifier's checks. About 30% compiled and passed. The models were from 2024, and the prompts were designed to find trouble.

The people using the tools matter as much as the tools. In a Stanford study published in 2023, participants with an AI assistant wrote insecure solutions more often than those without one on four of five tasks, and were more likely to believe their code was secure. On an encryption task, 21% of those with the assistant wrote a correct, secure solution, against 43% of those without. The study had 47 participants, most of them students, and used a model several generations old.

The case that it adds risk: the process

Writing code faster puts more weight on the checks that follow. Google Cloud's 2025 DORA report, from nearly 5,000 technology professionals, found that AI adoption now goes with higher delivery throughput but still with less stable delivery. Google sells AI development tools, and the report measures relationships, not causes. GitClear, which sells code-quality analytics, found across 623 million code changes that duplicated code blocks rose 81% from 2023, while moved code, its sign of refactoring, fell from 21% of changed lines in 2022 to 3.8% in 2026 so far. Those are signs of code that is harder to maintain, not security flaws. GitClear's point is that a change to one copy of a duplicated block has to be found and made in every other copy.

Unapproved use adds code and data no one is reviewing. In IBM's Cost of a Data Breach Report 2026, research by Ponemon Institute on 602 breached organizations, 43% of security incidents involved shadow AI, workers' use of AI their employer had not approved, up from 20% the year before. Those incidents averaged $5.39 million in breach costs, against $4.63 million the year before. IBM sells security products, and the base is organizations that were breached, not all companies. In the UK, 31% of generative AI users in Deloitte's survey of 25,000 working adults use it without their employer knowing. Deloitte sells AI consulting. Verizon counts 45% of employees as regular AI users on their corporate devices, up from 15% a year earlier.

The case that it lowers risk: fewer vendors

Every vendor is another way in. Verizon's third-party measure counts breaches that came through a flaw in or compromise of a vendor's product, a partner's environment, or data held in a vendor's environment, and it reached 48% of breaches. The report describes a campaign in which tokens taken from the Salesloft Drift application were used to steal customers' data from the Salesforce platform. Software a company builds for itself is not shared with other customers, so a flaw or a stolen key in it does not reach every company that runs the same product. But exploiting vulnerabilities was the most common way in, at 31% of breaches, and a vulnerability is a vulnerability whoever wrote the code.

This site's reading

On this evidence, companies building their own software with AI probably add security risk in the near term. Our confidence in that is medium, because it rests on indirect evidence. The code still carries known flaws at high rates in lab tests, people writing it with an assistant can grow overconfident, delivery is less stable, and much of the use is unapproved. Building does take a company out of some shared vendor risk, but only if someone catches what the AI gets wrong. Georgetown's authors expect the risk to fall unevenly, with larger, better-resourced organizations at an advantage over those short of money and staff. Large companies with security teams that review, test and scan what AI writes can probably contain it. Small teams putting AI-built apps into production with no one checking security are the most exposed.

What nobody has measured

No study compares breach rates for software companies built themselves, with or without AI, against software they bought. The code benchmarks are lab tests, not counts of flaws in production. Veracode, GitClear, IBM, Verizon and Google all sell products related to what they measured. The Stanford study is small and used an older model, and the Georgetown prompts were written to draw out bugs. IBM's base is breached organizations, and Verizon's third-party measure covers more than bought software. Nobody publishes how much AI-written code ships without a security review.

The figures are on Use cases by job function, What people use AI for, AI added to products you already use, and Who uses AI.

New figures daily on X and LinkedIn, with longer reads on Medium.

More from the blog

When a company becomes AI-dependent

Companies

Anthropic says the list-price value of its own Claude use passed its payroll in April. That is a company leaning hard on AI. It is not yet one that could not run without it.

Memory goes wrong in the rewrite

Memory

Agent memory mostly fails when it is edited: compacted, merged or consolidated. In one benchmark, tasks that had already been solved averaged 56.7% after the history was summarized. The setups that held up kept the original and recorded what changed instead of overwriting it.

Agent context is working memory only

Agents

Working memory without broader context is like asking two completely different people to get you a drink. They have never met you, and they have no idea who you are.

The same persona, a different model

Agents

Three models got the same persona and the same three memories. Swapping GLM and Gemma moved compliance by 3.3 points. Swapping GLM and DeepSeek moved it by 0.7 points, inside the variation of reloading the same model.

AI keeping us honest

Abstract

Sounding like a professional writer is a small fib. The larger ones are invented experience on one side, and jobs that are not as advertised on the other. AI makes both cheaper to write. It will not detect every lie, but it will do the homework and pick up cues from both sides.

Passing the steps is not finishing the job

Agents

Replit asked nine models to build a product, feature by feature. The strongest passed up to 98% of the individual tests and still delivered a working product in at most 65% of builds.

Throttle by friction

Abstract

Friction used to set how much work a company had to do. AI made asking, note-taking, and rewriting cheap for a person, and left the company with someone still signing the result. For most companies the new work is larger than the work removed. Tokens and that checking are the tax. The early gain lasts when it is spent on automation that clears ordinary work. A buyback, a dividend, or a project that fails to clear work leaves the human throttle where it was.

Who sells it, and for how much

List prices and the commercial result each company has published. Seats, a run rate, and a price per resolution stay in that company's unit.

The AI at Work Benchmark

Measure how your people actually use AI

Score your organization's practices, measure your people with an anonymous pulse, and see both against the published evidence.