AI-written patches are becoming attack maps for hackers

Picture for this story, with the CyberUnscripted cat hidden in it
Staged picture. The blue one is ours.

Weeks after the maintainers of vm2, a widely used JavaScript sandbox, shipped fixes for 34 escape flaws, a researcher pointed an AI agent at one advisory and asked for a way around the patch.

The agent delivered.

Nineteen of those fixes were co-written by Anthropic's Claude. Rubrik's lead product security engineer said the same bugs kept being rediscovered in later test runs despite AI-assisted fixes.

Around half of 6,080 AI-generated patch candidates for six known flaws left at least one attack path open, 1Password researchers found. In another benchmark, an AI attacker found a new way to trigger the same flaw in 41 of 101 cases after patching.

Anthropic's own tests found an AI model produced a working exploit within an hour of a Firefox fix landing, using only public patch information.

A patch that leaves another route in is not simply a failed repair. It tells attackers where to dig, and AI can dig at machine speed.

Discuss on TelegramAll stories

Based on reporting by CSO Online.