Skip to content
Ask for a Budget
NewsOctober 21, 20263 min readUpdated on November 10, 2026

An approved AI fix broke another part of the system: what to demand

You pay for a fix and inherit a new defect: across more than 130 approved AI-made fixes, there were 21 new defects. What to demand from your vendor.

An approved AI fix broke another part of the system: what to demand
Índice do artigo
faltam 2 min de leitura

You pay for a fix to your system and may inherit a new defect somewhere else in it. Trail of Bits, a US security company, published in October 2026 that it confirmed 21 new defects in things that already worked, across more than 130 AI-made fixes that had already been approved, and human review caught none of them. Anyone who pays for fixes needs to demand proof that nothing else broke.

The question to send to your vendor, internal or external: "does every fix you deliver come with an automated test that fails without the fix and passes with it?" That test is what proves it was that change that solved the problem. Also ask whether there is a separate environment for testing, a copy of the system, or whether the team works directly on the system your customers use. A vague answer counts as a no: without that environment, no test has anywhere to run.

What the company found

The fixes come from Patch the Planet, a Trail of Bits initiative with OpenAI in which, according to the company, it co-authored hundreds of security fixes for widely used open source projects, with engineers driving a coding agent (the AI that writes and changes code on its own). It went back to more than 130 change requests already accepted by those projects' maintainers and confirmed 21 regressions, that is, new defects in something that already worked; it did not say how many requests were affected.

None of them broke a security protection. Most, 16, changed a behavior that worked and was supported; the rest affected performance or the project's build and tests. By our count, that is at most one in every six fixes.

The number does not prove that AI makes more mistakes than people: nobody measured, with the same method, fixes made without an agent, and the company does not say how much of each fix came from the AI. The real takeaway is something else: the traditional filter, review by one person and acceptance by the maintainer, let these failures through.

How the failures surfaced

The 21 were found by another agent, with a strict rule: each suspicion only counts if it is proven with a test that runs before and after the change. In one round it raised 58 suspicions and only 21 were confirmed. Asking an AI to simply "review for problems" produces a long list of false alarms that someone has to check, and that time has a cost.

The company published two tools using this method in an open repository. One hunts for failures in fixes already made. The other writes fixes and only accepts them if they pass a triple check: the defect shows up in the original code, disappears in the fixed code and comes back when the fix is undone. That last step is what separates a fix from a coincidence: a green test after the change does not prove that the change is what solved it.

The limit for Brazilian companies

All of this assumes a system that can be built from scratch on a clean machine and runs in a disposable test environment. A lot of legacy systems in Brazil can only be built on one person's machine or only really exist in production. There, the first job is not installing a tool, it is making the system reproducible, the same prerequisite as any automated test.

The numbers come from the company itself about its own work, with no independent verification, and it did not publish the cost per round or a concrete example of a failure. The projects analyzed are networking and media tools; business systems usually have rules that only exist in the heads of the people who operate them, and no test catches what nobody wrote down.

What to demand on your next fix

Trail of Bits' cheapest recommendation does not depend on any tool: two short documents in the project itself, which guide both the team and any AI that touches the code. One describes what the system protects and who can access what. The other explains how to build and test the system, how big a fix can be and which test is mandatory.

In X-Apps' operations, an automation migration only goes to production after a regression suite that runs with no external effects, no real network and no writes. Without that separate environment, the suite would not exist.

A question you can answer today with your project's history: of the last 20 fixes that went in, how many come with a test that fails when the fix is undone?

Sources and method

The article "Your AI agent fixed the bug, but what else did it change?", by Anish Naik and Marcelo Morales, on the Trail of Bits blog on October 21, 2026, and the READMEs of patching-bugs and regression-hunt in the trailofbits/skills repository on GitHub. The ratio of at most one in six is our own calculation from the company's numbers.

Previous post
Meta puts fixed rules in charge of its AI and setup takes under 1 hour
Next post
PHP flaw opens servers to attackers: what to demand from your host
Newsletter

One email a month, no noise

What we learn shipping custom software and applied AI.

Related articles

An AI vendor took 84 days to report: what to put in the contract6 min · News
The US$ 500 ChatGPT for developers: cost and risk for client code5 min · News
AI that sorts tickets costs pennies: what else goes into the bill6 min · News
AI that reads very long documents can cost twice as much at OpenAI4 min · News
Your site may be out of ChatGPT search without anyone deciding it4 min · News

Accelerate your business with X-Apps

Ask for a Budget
X-Apps is an IT provider partner and advised by
Gartner
Receive our e-mails
News on software and applied AI.
Follow X-Apps