Trail of Bits: two agent plugins that prove a patch and hunt regressions
Trail of Bits published two agent plugins that refuse to report a finding without a live proof of concept.
· Trail of Bits · Research by Anish Naik, Marcelo Morales

Trail of Bits released patching-bugs and regression-hunt, two open-source agent plugins that demand a live proof for every claim: one proves a fix against original, patched and reverted code, the other hunts regressions.
- blog.trailofbits.comTrail of Bits Write-Up
- github.compatching-bugs Plugin
- github.comregression-hunt Plugin
01What happened
Trail of Bits published patching-bugs and regression-hunt on October 21, 2026, in a post by Anish Naik and Marcelo Morales. Both plugins live in the trailofbits/skills repository under a CC-BY-SA-4.0 license, and both landed there on October 20. The write-up reports that reviewing more than 130 merged upstream pull requests surfaced 21 confirmed regressions: 16 functional, one performance and four build or test.
02How it works
patching-bugs reproduces a reported bug, develops a scoped fix, and then runs what Trail of Bits calls a three-arm proof: the same reproduction must fail on the original code, pass on the patched code, and fail again on a full revert. regression-hunt traces a diff through callers to real interfaces, reproduces candidate regressions on a live deployment, replays the proof of concept with a fresh-context agent, and puts an adjudication step between evidence and verdict. A step that cannot produce a live proof returns an inconclusive result rather than a finding.
03Who is affected
Teams that let coding agents write security patches are the audience. The plugins read a THREAT_MODEL.md defining assets, trust boundaries and supported configurations, plus a PATCHING_GUIDELINES.md or AGENTS.md covering build and test commands, fix size and fix placement. The post describes use inside Codex sessions and names no other supported agent.
04What to do
Install both plugins together, since patching-bugs requires regression-hunt for its final regression check, and add the threat model and patching guideline files the skills read at every step. The authors report that in preliminary tests against the 21 known regressions, regression-hunt produced 25% fewer false-positive findings than a baseline Codex prompt, with a 95% confidence interval of 14% to 38%.
Sources 3 links, all fetched
- 1blog.trailofbits.comTrail of Bits Write-Up
- 2github.compatching-bugs Plugin
- 3github.comregression-hunt Plugin