Skip to content
Submit incident
AII-1000-39717
ConfirmedA court, a regulator or the organization itself has stated the core facts, or the record cites a court or regulator source.

AI-Generated Security Patches Frequently Fail or Introduce New Vulnerabilities

A study by 1Password's research team found that AI language models including Claude and OpenAI's Codex failed to properly generate security patches for software vulnerabilities, with only 26% of patches being usable. Many patches failed to fix the intended vulnerability, altered software behavior, or introduced new vulnerabilities instead.

4 August 2026 Β· Anthropic Β· Reliability and hallucination
4 August 2026
AII-1000-397174 sources ↓
Quick facts
Category
Reliability and hallucination
Country
United States
Source
ZDNet
Date
4 August 2026
Drafted by
Raidu Incident Detection

What happened

1Password's Off-By-1 Labs conducted research on AI-generated security patches for six recently disclosed vulnerabilities in open source software. The study found that frontier AI models including Claude and OpenAI's Codex-based coding agent performed poorly when tasked with generating patches, with only 26% of patches generated being usable.

Reported impact

Many AI-generated patches failed to solve the vulnerabilities they were designed to fix, altered software behavior, or introduced new vulnerabilities. The success rates were significantly lower and more uneven than the researchers had hypothesized.

Index analysis

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' examined common failure modes of LLM-generated security patches. The study tested six specific CVEs including Linux privilege escalation, ActiveMQ remote code execution, and use-after-free vulnerabilities.

Governance controls

Researchers found that providing guidance to the models improved outcomes, leading to a flawed evaluation harness release.

Classification

Category
Reliability and hallucination
Industry
Digital security
Country
United States
Harm status
Potential harm
Intent
Unintentional
Timing
Post-deployment
Harmed
Business, Consumers
Failure modes
Hallucination
AI systems
Claude, Codex

Sources and evidence

This record was researched and written by the Index, based on the following original reporting.

ZDNet
AI failed to properly patch software flaws 74% of the time, 1Password's study warns
6 August 2026
Softonic
1Password study: only 26% of AI security patches fully fix flaws
7 August 2026
SecurityBrief US
AI patches fail to fix flaws, 1Password study finds
7 August 2026
TechRadar
Shock horror -- AI-generated security patches fall short of actually solving all the problems they were meant to fix
7 August 2026