2 Sources
[1]
AI failed to properly patch software flaws 74% of the time, 1Password's study warns
Follow ZDNET: Add us as a preferred source on Google. ZDNET's key takeaways * A new study shows the effectiveness of AI-generated patches. * Only 26% of the patches generated were actually usable. * AI isn't ready to patch the planet, but it can be used in cyberdefense. New research has revealed that artificial intelligence and large language models (LLMs) are not ready to take on the task of creating fixes and patching security vulnerabilities. Also: AI is finding bugs faster than humans can fix them: How enterprise security teams must adapt 1Password's new security research team, Off-By-1-Labs, published a new study on Thursday that explored what happens when you give LLMs free rein to generate fixes for new, complex vulnerabilities. AI discovers bugs at scale, but can it also patch them? The Off-By-1-Labs started with a hypothesis: frontier AI models would be able to produce "reasonably high patch success rates" -- perhaps around 67% success -- when they were tasked to develop patches for software, given the open hand of open source code and public disclosures likely included in training these models. However, researchers were probably left disappointed with the results, as they were "significantly lower and more uneven than we hypothesized." Also: Assume AI cybersecurity attacks are the future: 43% of companies have already experienced it The security team selected six recently disclosed vulnerabilities in open source software, which were unlikely to have been added to training set data, to test the capabilities of AI models. The team emphasized that the research paper, titled "Frontier Models' Vulnerability Patches are Often F.L.A.W.E.D. Fix-Like Artifacts With Embedded Defects: Common failure modes of LLM-generated security patches," was not designed to be a side-by-side LLM comparison. Rather, it is an overview of modern LLM capabilities. Still, Claude and an LLM based on OpenAI's coding agent, Codex, participated in the study. The vulnerabilities at the heart of the research are: * CVE-2026-31431: Linux privilege escalation (Copy Fail) * CVE-2026-34197: ActiveMQ Remote Code Execution * CVE-2026-8512: Use-after-free in Chrome's File System Access API on macOS * CVE-2026-45185: EXIM unauthenticated Remote Code Execution * CVE-2026-22738: SpringAI SpEL Remote Code Execution * GHSA-wpqr-6v78-jr5g: Gemini CLI Remote Code Execution The models were asked to generate patches for each vulnerability. In total, the LLMs generated 6,080 patch attempts -- around 3,040 each, divided up between each CVE -- with sets created under different environmental conditions and with nine crafted prompts per bug. Off-By-1-Labs' AI patch results * AI generated suitable patches only 26% of the time. * Patches that fix the bug but also "altered the application's behavior in the process" occurred in 21% of results. * An LLM failed to create a patch, added a new bug, or even both, 53.9% of the time. Why did the AI models fail? The main issue appears to be that regardless of the environmental conditions or prompts, when asked to produce patches, LLMs generated "Fix-Like Artifacts with Embedded Defects," which inspired the name behind the "FLAWED" research project. "FLAWED" patches, developed by AI, superficially appear to do the job -- but underneath, they don't fully resolve the vulnerability, include 'fragile' security mechanisms, and may even introduce new bugs altogether. In severe cases, these patches could even change an application's typical behavior. 1Password has released its tooling, FLAWED, on GitHub for researchers to conduct their own studies. "LLMs that excel at discovering a wide range of vulnerabilities today are only currently effective at patching a narrow subset of them," the researchers said. "Having said that, we have identified opportunities for further research that may yet yield more consistent and robust AI-generated patches." If AI isn't ready to handle patching, what can it do? Speaking to ZDNET, Keith Hoodlet, head of Off-by-1 Labs, said that human defenders and AI tooling should be focused on vulnerability and triage, which "can at least help defenders determine where the most impactful bugs exist in their codebase." Human oversight over the patch process is still paramount, and as Hoodlet said, companies need to be able to make informed decisions about what needs to be patched and when, and the business risks associated with each choice. "The tooling we are releasing today will help companies assess where today's AI-generated patches might produce better (or worse) outcomes," Hoodlet added. "This will at least help companies understand where human experts are most needed."
[2]
AI struggles to patch vulns without adult supervision
AI models may not be that good at fixing security flaws. Researchers at 1Password's Off-by-1 Labs analyzed security patches generated by two frontier models - ChatGPT 5.5 at "medium" effort and Claude Opus 4.8 at "high" effort - and found that autonomous patches cleanly fixed vulnerabilities only about a quarter of the time, while most of the remainder failed to fully remediate the flaw or introduced other problems. Keith Hoodlet, director of security research at 1Password, argues in a blog post that the results show LLM-driven security remediation still needs human review. "Across six recently disclosed CVEs, we produced 6,080 patches using two frontier, cyber-capable reasoning models," Hoodlet said. "The average success rate for generating a patch that fully resolved the vulnerability (without materially changing application behavior) was just 26.0 percent." Of the AI-generated patches, 20.1 percent fixed the original issue but altered application behavior (eg, changing "allow list" logic to "deny list" logic). Some 2.3 percent of the patches fixed the issue while introducing new security issues. 49.3 percent of the patches failed to fix at least one existing exploit path. And 2.2 percent both failed to fix the vulnerability while introducing a new exploit path. And among the patches in the first two categories (successful, clean; successful, changes app behavior), the researchers rated more than a third of the results fragile, meaning that while the adjusted code may have guarded against a particular vulnerability (eg, escaping particular input characters), the repair job didn't address the underlying problem. In their research paper [PDF], authors Axel Mierczuk, Spencer Michaels, and Keith Hoodlet propose the acronym FLAWED to represent automated LLM patches: Fix-Like Artifacts With Embedded Defects. Based on the generated patches, they conclude, "[T]he expected value of a fully LLM-generated, non-human-reviewed patch is a net-negative by a considerable margin." The value of LLM-generated patches depends upon initial patching guidance. The research team says that while both human developers and LLMs typically require some initial guidance to tackle a vulnerability, LLMs are more likely to be derailed when given incorrect advice. When LLMs get correct guidance, their fix-success rate hits 65.0 percent compared to 50.4 percent when they get no guidance. And incorrect guidance dooms LLMs, dropping their fix-success rate down to about 15.2 percent. Human devs, the authors argue, have a good chance of catching misleading information as they reason through vulnerable code. The authors have released a patch evaluation harness under the name FLAWED that organizations can use to evaluate the effectiveness of their security fixes. It's clear from the paper why AI-generated patches might be appealing - considered in isolation, they're inexpensive relative to human software engineers. The average successful, clean patch cost just $6.74 (a figure that includes the cost of failed attempts). Nonetheless, the authors argue that the cost-benefit analysis needs to assess how much expert supervision will be required to make LLM-assisted patching useful. "Based on our manual review of a representative sample of patches generated during our research, we suspect that, in a large number of cases, the cognitive load imposed by reviewing a mountain of mostly-incorrect, similar-yet-subtly-different LLM-generated vulnerability patches will likely result in engineers spending more effort than would be necessary to understand and patch vulnerabilities themselves using standard LLM-assisted coding techniques that keep the human operator in the driver's seat," the authors conclude. "The alternative, cognitive surrender to a process with a success rate of only about 1 in 4 poses significant long-term risks for any organization considering autonomous, LLM-driven patching." ®
Share
Copy Link
1Password's Off-By-1-Labs research shows AI-generated patches successfully fix software vulnerabilities only 26% of the time. The study tested frontier models Claude and Codex on six recent CVEs, generating 6,080 patch attempts. Results reveal AI struggles to patch vulns without human supervision, with 74% of patches either failing completely or introducing new security issues.
1Password's newly formed security research team, Off-By-1-Labs, released findings that challenge the notion of autonomous patching in cybersecurity
1
. The 1Password study tested frontier AI models on their ability to generate fixes for software vulnerabilities, revealing a stark reality: AI-generated patches successfully resolved security vulnerabilities only 26% of the time2
. Researchers initially hypothesized a 67% success rate, expecting AI patching to leverage vast open source code repositories and public disclosures from training data. The actual results proved significantly lower and more uneven than anticipated1
.
Source: ZDNet
The research team tested two frontier models—ChatGPT 5.5 at medium effort and Claude Opus 4.8 at high effort—against six recently disclosed vulnerabilities unlikely to exist in training datasets
2
. These included CVE-2026-31431 (Linux privilege escalation), CVE-2026-34197 (ActiveMQ Remote Code Execution), CVE-2026-8512 (use-after-free in Chrome's File System Access API), CVE-2026-45185 (EXIM unauthenticated Remote Code Execution), CVE-2026-22738 (SpringAI SpEL Remote Code Execution), and GHSA-wpqr-6v78-jr5g (Gemini CLI Remote Code Execution)1
. The models generated 6,080 patch attempts—approximately 3,040 each—using nine crafted prompts per bug under varying environmental conditions1
.The study coined the term FLAWED—Fix-Like Artifacts With Embedded Defects—to describe AI-generated patches that superficially appear functional but harbor critical problems
1
. While 26% of patches cleanly fixed vulnerabilities, 20.1% resolved the original issue but altered application behavior in unintended ways, such as converting allow list logic to deny list logic2
. Another 2.3% fixed the vulnerability while simultaneously introducing new security issues2
.The failure rate proves even more concerning: 49.3% of AI-generated patches failed to fix at least one existing exploit path, while 2.2% both failed to address the vulnerability and created new exploit paths
2
. Among patches categorized as successful, over a third were rated fragile—meaning they guarded against specific vulnerability instances without addressing underlying problems2
. This fragility in security remediation creates a false sense of protection while leaving systems exposed.
Source: The Register
The research demonstrates that AI struggles to patch vulns effectively without human supervision, particularly when initial guidance proves incorrect
2
. When provided correct guidance, AI models achieved a 65% fix-success rate compared to 50.4% with no guidance2
. However, incorrect guidance proved devastating, dropping success rates to just 15.2%2
. Human developers typically catch misleading information through reasoning, while AI models lack this critical judgment capability.Keith Hoodlet, director of security research at 1Password, emphasized that the expected value of fully LLM-generated, non-human-reviewed patches registers as net-negative by a considerable margin
2
. The cognitive load imposed by reviewing mountains of mostly-incorrect, similar-yet-subtly-different patches likely requires more effort than patching vulnerabilities using standard LLM-assisted coding techniques that keep humans in control2
. Cognitive surrender to a process with only 1 in 4 success rate poses significant long-term risks for organizations considering autonomous patching2
.Related Stories
Despite limitations in autonomous patching, AI demonstrates value in vulnerability triage and discovery
1
. Hoodlet told ZDNET that human defenders and AI tooling should focus on vulnerability identification and triage, helping defenders determine where the most impactful bugs exist in codebases1
. This approach enables companies to make informed decisions about what needs patching, when to patch software flaws, and the business risks associated with each choice1
.Off-By-1-Labs released its patch evaluation harness, also named FLAWED, on GitHub for organizations to assess their security fixes
1
2
. The average successful, clean patch cost just $6.74, including failed attempts2
. However, cost-benefit analysis must account for expert supervision required to make LLM-assisted patching useful. The research identified opportunities for further study that may yield more consistent and robust AI-generated patches, though current models excel at discovering vulnerabilities but remain effective at patching only a narrow subset1
.Summarized by
Navi
[2]
31 Jul 2026•Technology

10 Jun 2026•Technology

16 Jul 2026•Technology

1
Technology

2
Technology

3
Science and Research
