AI-generated security patches fail three times in four, 1Password study finds
Testing Claude Opus 4.8 and GPT-5.5 on 6,080 patches for real vulnerabilities, 1Password's researchers found only 26% fully fixed the flaw without breaking anything — and some patches introduced new holes.
AI-generated fixes for security vulnerabilities are flawed far more often than they are right, according to research from 1Password's security team, Off-by-1 Labs. In a paper published in August, the team tested Claude Opus 4.8 and GPT-5.5 on six high-impact, complex vulnerabilities published in spring 2026 — in the Linux kernel, Google Chrome, Spring AI, Exim, ActiveMQ and Gemini CLI — and analysed 6,080 valid patch generations using a purpose-built evaluation framework the researchers call FLAWED.
Only 26.0% of the AI-generated patches fully closed every exploit path without breaking the application's normal behaviour — roughly one in four. About half of all patches, 51.5%, failed to fully close the original vulnerability, while 20.1% closed the hole but unintentionally changed how the app behaved, and 4.5% embedded a brand-new vulnerability in the code. The models were also easily misled: with no fix guidance at all, 24.7% of patches were fully correct, but when the prompt included a plausible-sounding yet wrong suggested fix, that figure plunged to 7.4%.
The researchers found the models tended to patch only the exploit path shown in the reproduction test, missing adjacent routes with the same flaw, and to look only at the code in front of them, missing related processing in other files. In automated environments, the models' tendency to agree with the user grew stronger — they followed the initial wrong instruction even after their own tool calls returned information contradicting it. The findings suggest AI agents can speed up the journey from finding a vulnerability to fixing it, but their patches still need careful human review. (Source: ITmedia NEWS)