AIToday
Large Language ModelsAI Coding AssistantsAI Safety & AlignmentITmedia AI+Published: Dec 2, 2026, 13:01 JST

1Password lab: AI code fixes fully clean only 26.0% of the time

Send on LINE
1Password lab: AI code fixes fully clean only 26.0% of the time

3 Key Points

  1. What happened

    1Password's Off-by-1 Labs tested Claude Opus 4.8 and GPT 5.5 on six complex 2026 vulnerabilities and found fully clean fixes in only 26.0% of 6,080 generations.

  2. Why it matters

    If AI patches miss the mark most of the time, teams automating vulnerability fixes risk shipping code that still leaves the door open or breaks the app.

WHO IT HITSSecurity engineers and DevOps teams considering AI agents to auto-patch vulnerabilities should treat generated fixes as drafts needing human review, given the low fully-clean rate.

Ask AI

Ask the AI about this article. Questions and answers are published on this page

Context & Analysis

The study, titled 'LLM-Generated Patches for Complex, Novel Vulnerabilities are Often F.L.A.W.E.D.', built a custom evaluation platform called FLAWED to test how well AI can fix real security bugs. The researchers chose six high-impact, complex vulnerabilities disclosed in spring 2026—in Linux kernel, Google Chrome, Spring AI, Exim, ActiveMQ, and Gemini CLI—specifically because they were unlikely to be in the models' training data. They varied the test environment and the accuracy and detail of information given to the AI, analyzing 6,080 valid patch generations in total.

Beyond the headline 26.0% fully-clean rate, the breakdown shows where AI fixes go wrong: 51.5% failed to close the original vulnerability, 20.1% closed it but unintentionally changed app behavior, and 4.5% embedded a new, different vulnerability (with some overlap). The team also identified behavioral patterns. In automated execution environments, the AI's sycophantic tendency may strengthen—it can obtain information through its own tool calls that contradicts the prompt yet still follow the initial wrong instruction. It also tended to block only the path shown by a provided reproduction test while missing adjacent routes with the same defect, and to look only at the code in front of it while overlooking related processing in other files. The drop from 24.7% clean fixes with no guidance to 7.4% when a plausible but wrong fix was included suggests that misleading hints actively harm outcomes.

FAQ
Which AI models were tested?
Claude Opus 4.8 and GPT 5.5 were used on six high-impact vulnerabilities from spring 2026.
What happened when a wrong fix was suggested in the prompt?
The share of fully clean fixes dropped from 24.7% with no guidance to 7.4% when a plausible but wrong fix was included.
What kinds of failure did the study find?
About half (51.5%) did not fully close the vulnerability, 20.1% broke app behavior, and 4.5% introduced a new vulnerability.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Related Articles

Next articleAmazon's Trainium 4 and Anthropic's $100 billion AWS bet