AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

AI-written patches are becoming attack maps for hackers

This summer, the maintainers of vm2, an open-source JavaScript sandboxing library with 1 million downloads per week, shipped fixes for 34 separate sandbox-escape vulnerabilities and Anthropic’s Claude co-wrote 19 of them. Weeks later, a security researcher pointed an AI agent at one of the advisories and asked for a way around the patch. The agent delivered. Shayaun Nejad, lead product security engineer at Rubrik, ran vulnerability variant analysis on the vm2 patch while preparing for a talk he held at the recent [un]prompted AI security conference in San Francisco. He wanted to highlight the challenges his development team faced when dealing with a flood of AI-discovered vulnerabilities, and noted that the same bugs kept being rediscovered later in new testing runs despite being fixed by AI-assisted pipelines. “Sometimes the [vulnerability] variant wouldn’t be caught until the model variation got better or the model used chaining analysis at a higher degree once it improved in order to find those variants,” he said. “Sometimes it was in the exact same spot, sometimes it was something that was related, that was a neighbor, but variant analysis is basically something that has been popping up, and it’s a context magnet, too.” With the rate of published CVEs higher than ever due to AI assistance, software developers are actually disclosing the types of vulnerabilities their platforms are susceptible to, and the patches for these flaws can serve as blueprints for attackers, Nejad warned. Sometimes it’s as simple as pointing an AI agent at a codebase with its historical vulnerabilities as context and telling it to go hunt for variants, he said. Rubrik’s experience reflects a broader asymmetry that other researchers have observed in recent months: AI models have become very good at offense — finding vulnerabilities and building exploits — while their defensive skills, such as writing secure code and correct patches, have lagged behind. Also at the [un]prompted conference, OpenAI security researcher Tim de Waal showed how an AI agent patched two vulnerabilities in the firmware of a network access point. For one issue, the agent rebuilt the vulnerable function without the stack canaries the original code had, silently removing a defensive protection. For the other, the generated patch filtered out double-quote characters in the attacker input but missed that using single quotes would have bypassed the fix. Controlled studies found the same issue at scale. When researchers at 1Password’s Off-by-1 Labs used AI agents to repeatedly generate patches for the same six known vulnerabilities in complex open-source projects, about half of the 6,080 resulting patch candidates left at least one attack path open, with agents sometimes missing identical instances of the same bug in other parts of the code. More recently, in a benchmark test called P2Patch, researchers pitted two AI agents against each other: one wrote exploits for 101 real vulnerabilities, and the other patched the code until the exploits stopped working. Then the first agent attacked the patched programs again, looking for a different way to trigger the same flaw. In 41 of the 101 cases, it succeeded, sometimes multiple times for subsequent patches. Of course, human-written patches are not infallible either. Security firm Trail of Bits reviewed the fixes developers submitted for 2,265 vulnerabilities found during its consulting assessments over several years and one in eight failed to fully resolve the reported issues. In one case the company documented, a human maintainer and an AI agent working as part of the Patch the Planet initiative separately wrote patches for the same memory-safety bug in the freenginx web server, and both patches introduced the same crash during request cleanup. Organizations turn to AI patching because humans can’t keep up The issue is not that AI always writes worse patches than humans, althoug

Reference details

Source category
research-report
First reported
Nov 16, 2026 08:25 UTC
Last reported
Nov 16, 2026 08:25 UTC
Catalog updated
Nov 20, 2026 23:02 UTC
Record ID
5f30a647c458744e5b61a84aea4ed49427a3fc0d164d70ce442fc8918c108c29

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_cdcffed32aa78fd61f

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Nov 16, 2026 08:25 UTC
Retrieved
Nov 20, 2026 23:02 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_cdcffed32aa78fd61fRecent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.