Report · blog.trailofbits.com
AI agent fixed the bug, but what else did it change?

blog.trailofbits.com
Source published October 21, 2026
Summary: 2 min read
43/100
Summary
Trail of Bits has released patching-bugs and regression-hunt, two agent plugins developed through its Patch the Planet initiative with OpenAI. Patching-bugs reproduces reported defects, develops and tests fixes, and applies a three-part proof: the original code must fail, the patched code must pass, and a full revert must fail again. Regression-hunt traces changed code to real interfaces, reproduces suspected regressions on live deployments, replays evidence with a fresh-context agent, and requires adjudication before reporting a regression. Trail of Bits reviewed more than 130 upstream-merged Patch the Planet pull requests and confirmed 21 regressions: 16 functional, one performance-related, and four build or test regressions. None disabled a security protection. The 21 regressions came from 58 candidates in one run, or roughly 36% precision. In preliminary testing against those known cases, regression-hunt produced 25% fewer false positives than a baseline Codex agent asked to review a pull request for regressions, with a 95% confidence interval of 14% to 38%. Its stricter evidence requirements left some known regressions classified as borderline. The plugins use defined schemas for claims, revisions, checks, evidence, and open questions. They can incorporate a repository’s THREAT_MODEL.md and PATCHING_GUIDELINES.md or AGENTS.md files to define security assumptions, supported behavior, patch requirements, build and test procedures, and acceptable evidence.
Key Takeaways
- Trail of Bits released patching-bugs and regression-hunt to automate parts of bug fixing and regression checking while leaving engineers to direct and review the work.
- Regression-hunt requires live proof-of-concept evidence and checks whether a suspected issue is a genuine new regression rather than a false positive, incomplete fix, latent bug, or pre-existing defect.
- Trail of Bits confirmed 21 regressions among more than 130 merged Patch the Planet pull requests, including 16 functional regressions, one performance regression, and four build or test regressions.
- In preliminary evaluations, regression-hunt generated 25% fewer false-positive findings than a baseline Codex agent prompted to review pull requests for regressions.
- Patching-bugs uses original-code failure, patched-code success, and post-revert failure to show that a patch caused the fix.
Coverage & discussions
Hacker News · blog.trailofbits.com
Community discussions
Reported comments: 6 · 2 saved in sample
Too few usable comments or discussion unavailable
Related Articles

Anthropic's open-source framework for AI-powered vulnerability discovery
Jun 4, 2026

Build your own vulnerability harness
Jul 10, 2026

How We Broke Top AI Agent Benchmarks: And What Comes Next
Apr 11, 2026

There are now 5 inference providers for abliterated DeepSeek
Oct 27, 2026

How OpenAI turned its coding tools into dots, an always-on personal assistant
Oct 27, 2026