# Trail of Bits' AI patches introduced 21 regressions across 130 merged PRs

Original title: AI agent fixed the bug, but what else did it change?

> Hacker News story 50183253 · language: en · submitted 2026-10-21
> Web version: https://zeli.app/story/50183253
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 53 · by [tob_scott_a](<https://news.ycombinator.com/user?id=tob_scott_a>) · 💬 6
[original](<https://blog.trailofbits.com/2026/10/21/your-ai-agent-fixed-the-bug-but-what-else-did-it-change/>) · [HN discussion](<https://news.ycombinator.com/item?id=50183253>)

## Summary

Trail of Bits reviewed every Patch the Planet patch its engineers authored and maintainers merged upstream and found 21 regressions across more than 130 PRs — 16 functional, one performance, four build/test, none breaking a security protection. The firm is releasing two plugins: patching-bugs, which reproduces bugs, writes fixes, and proves them with a three-arm test, and regression-hunt, which traces diffs to real interfaces and replays proof-of-concepts on live deployments. In preliminary tests, regression-hunt cut false positives 25% versus a baseline Codex review prompt.

## Key quote

> The review confirmed 21 regressions from over 130 PRs merged: 16 functional, one performance, and four build/test. None broke a security protection.

## HN discussion (6 comments)

### [polyterative](<https://news.ycombinator.com/item?id=50185742>)

> Trying to make AI do what you want just with instructions didn't work for me. In a new system I am designing, I've implemented a set of algorithmic checks to make sure that every to-do affects only the area it needs to and does not create deltas which are unintended. I developed a system of fingerprinting pieces of code to not do the checks every time as well for performance reasons. It's working great so far and I'm building more and more layers of algorithmic checks and the model is beginning to work extremely well with it. I am now able to fill out a limited to-do list and be absolutely certain that only the pieces that I wanted were changed and nothing was broken. Maybe it's nothing new for most of you, but it added so much more confidence in my results in this new system, which will be a hundred percent AI generated. I was very tired with the old way of doing this by relying only on a set of loops and instructions. In it was never giving me this feeling of confidence that I have in this new system I'm developing. I could write about it if there is interest

### [dguido](<https://news.ycombinator.com/item?id=50183475>)

> We're staring down the vulnpocalypse we predicted earlier this year. What matters now is how fast you can react to it. Trail of Bits has developed these capabilities to dramatically increase how fast fixes can go out.
>
> Coordinated disclosure serves little purpose now. It used to require effort to go from vulnerability to exploit, but now we have nearly unlimited, capable expertise on tap with AI. As a product owner, you need to ramp your dev speed to make patches instantaneously after external reports.
>
> Please use our patching-bugs and regression-hunt skills to ship fixes faster!

---

## Cite

- Page: https://zeli.app/story/50183253
- Date: 2026-10-21
- Source: blog.trailofbits.com (https://blog.trailofbits.com/2026/10/21/your-ai-agent-fixed-the-bug-but-what-else-did-it-change/)
- Hacker News: https://news.ycombinator.com/item?id=50183253

## Other languages

- zh: https://zeli.app/zh/story/50183253 · markdown: https://zeli.app/zh/story/50183253.md
- ja: https://zeli.app/ja/story/50183253 · markdown: https://zeli.app/ja/story/50183253.md
- ko: https://zeli.app/ko/story/50183253 · markdown: https://zeli.app/ko/story/50183253.md
- de: https://zeli.app/de/story/50183253 · markdown: https://zeli.app/de/story/50183253.md
- es: https://zeli.app/es/story/50183253 · markdown: https://zeli.app/es/story/50183253.md
- ru: https://zeli.app/ru/story/50183253 · markdown: https://zeli.app/ru/story/50183253.md
