← Lab /Security & privacy

Regression-hunt plugin cuts false-positive regression reports by 25%

The regression-hunt plugin produces 25% fewer false-positive regression findings than a baseline Codex agent.

Security & privacy Trail of Bits 21 Oct 2026 Tooling Prototype evidence

Published as “Your AI agent fixed the bug, but what else did it change?”

Why it matters

Reducing false-positive regression reports can lower reviewer workload and speed up the patch-review process.

Summary

The authors built two plugins, patching-bugs and regression-hunt, to let AI agents generate fixes and check for regressions. They evaluated regression-hunt on 21 confirmed regressions drawn from over 130 merged PRs, comparing it to a baseline Codex agent that simply reviews PRs for regressions. Regression-hunt generated 25% fewer false-positive findings than the baseline, with a 95% confidence interval of 14% to 38%, but some true regressions remained borderline due to stricter evidence requirements. The evidence comes from real-world open-source projects and includes precision of about 36% (21/58 candidates).

What they found 2

  1. Regression-hunt produced 25% fewer false-positive regression findings than the baseline Codex agent.

    “Across those runs, regression-hunt produced 25% fewer false-positive findings than the baseline, with a 95% confidence interval of 14% to 38%.”

  2. The plugin identified 21 confirmed regressions among 58 candidate regressions, yielding ~36% precision.

    “The 21 confirmed regressions were identified among 58 candidates in a single run (~36% precision).”

Caveats 4

  • Fewer false positives came with a tradeoff: some known regressions were classified as borderline because the plugin could not gather enough evidence to confirm them.
  • Evaluation is based on a small set of 21 regressions, so results may not generalize.
  • Strict evidence requirements cause some true regressions to remain borderline and unreported.
  • Precision of 36% indicates many candidate regressions still require manual review.

What’s new here 4

  • Provides a structured, schema-driven workflow for AI-assisted patch generation and regression checking.
  • Regression-hunt reduces false-positive regression reports by 25% compared to a baseline Codex reviewer.
  • Enforces live proof-of-concept validation for every claimed regression or fix.
  • Integrates project-specific threat models and patching guidelines into the agent’s reasoning.

In the news