Science & Tech · Cybersecurity · 1 hr ago

AI security patches often stop crashes but fail maintainers’ tests

AI security patches often stop crashes but fail maintainers’ tests

Researchers at Northwestern University tested AI coding agents on 112 security bugs from 84 open-source projects.

They compared whether patches stopped the bug from causing a crash with whether they passed tests written by the projects’ maintainers.

A patch can stop a crash by blocking a program from handling certain inputs, while leaving the underlying problem unresolved or breaking expected behavior.

The newest Claude model tested stopped crashes about 90% of the time but passed maintainers’ tests about 61% of the time.

The researchers also found that some test setups exposed the original fix to the agents or incorrectly marked a correct patch as a failure.

They reviewed 13 AI patching benchmarks and found that each of the five designed for AI agents missed at least one potential problem.

The findings suggest that developers evaluating AI security tools should check more than whether a crash stops, and should examine how the tools and tests are set up.

Sources

Related news