More than half of AI-generated patches are broken
New research found that AI models are more likely to create exploitable patches or new bugs than to fix vulnerabilities.
Overview
Researchers at 1Password tested the ability of two popular commercial models, OpenAI's ChatGPT 5.5 and Anthropic's Claude Opus 4.8, to fix security flaws in software. They examined six high-impact, high-complexity vulnerabilitiesA flaw in software or hardware that lets an attacker do something the maker did not intend, including a kernelThe core part of an operating system that manages memory, hardware, and every running program flaw that allows attackers to gain root accessThe highest administrator permission level on a system, with unrestricted control over all files and programs to Linux cloud environments. The overall success rate for fully patching these issues without creating new problems was less than a coin flip at 47 percent. The models often addressed only a subset of vulnerable code paths or added fragile guard code that satisfied tests while failing to address the root cause. A separate report from Veracode found that the average security pass rate for AI-generated code is around 56 percent, with newer models like GPT 5.5 pushing closer to 70 percent. This means that organizations relying on AI to secure their systems may still face a large number of broken or vulnerable code segments.
Terms in this story
- kernel
- The core part of an operating system that manages memory, hardware, and every running program. Because the kernel has complete control over the computer, a kernel vulnerability or malicious kernel driver lets an attacker bypass security software that runs at the normal program level.
- root access
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- security patch
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- attack surface
- All the places where an attacker could try to enter, probe, or extract data from a system. Every open network port, public website, cloud login page, and third-party plugin adds to an organization's attack surface, so defenders shut down services they do not need. Security+ objective 3.2 lists the term
- hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- large language models
- An AI system trained on huge amounts of text to generate, summarize, translate, or write code. Security news covers large language models both when defenders use them to review code and when attackers try to trick chatbots into leaking private company documents.
- generative AI
- Artificial intelligence models that create new text, code, images, audio, or video from a prompt. Security stories cover generative AI when scammers use it to write convincing phishing emails or clone a manager's voice, and when developers use it to write code.
- CVEs
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- remediation
- The steps taken to fix a security flaw or clean up a system after a breach. In incident reports, remediation includes installing patches, revoking stolen keys, removing backdoors, and changing configuration settings so the attacker cannot get back in.
- frontier models
- The largest, most capable generation of general-purpose artificial intelligence models. Researchers and governments test frontier AI systems before release to see whether they can discover software vulnerabilities on their own or help novices plan cyberattacks.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the CyberScoop website. Cite the article, not this page.
Read the full article on CyberScoop (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Researchers at 1Password tested the models ability to patch six "high-impact, high-complexity" CVEs..." Found by reading the article; these exact words are in it - Security+ 2.3 Explain various types of vulnerabilities.
"......likely to fail than fully fix a vulnerability. It might even introduce brand new..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......might even introduce brand new flaws to exploit along the way." Found in the opening sentences - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"Research finds your AI generated security patch is more likely to fail than fully..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......likely to fail than fully fix a vulnerability. It might even introduce brand new..." Found in the opening sentences - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"More than half of AI-generated patches are broken..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"More than half of AI-generated patches are broken..." Found in the headline
How a story is connected to the course, and every objective, week and job role