mcpField
H
hunt-regressions

hunt-regressions

github.com/trailofbitsTesting & quality7.9k163 installsUpdated today
Repository

About hunt-regressions

A regression-discovery skill for reviewing a frozen software change and recording candidate defects. It is intended for security or code reviewers; confirmation and proof are handled separately.

Key features

  1. 01Review frozen changes and context
  2. 02Trace changed behavior to interfaces
  3. 03Document leads and false-positive checks
  4. 04Reserve candidate IDs and seal records

Use cases

  1. 01Screen a change for possible regressions
  2. 02Track findings across a retry
  3. 03Record coverage gaps when blocked

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/trailofbits/skills --skill hunt-regressions

After installing, type/hunt-regressionsin Claude Code to confirm it loaded.

Details

From the project README

Discover candidates

When to Use

Input: sealed preparation, frozen S0/S1, change context and registry assignment. On retry, include this assignment's prior candidate-ID mapping. The caller supplies these, including for independent use. Follow project guidance before target work.

When NOT to Use

Proving a known candidate; use reproduction. Discovery cannot confirm findings.

Hunt

  1. Read the standard and file contract. Verify preparation; read frozen change messages, PR discussion and security documentation for intent and supported use.
  2. Review the entire diff; trace changed behavior through callers to real interfaces. Use frozen sources and supplied context, not later fixes, advisories or other reviews.
  3. Record each lead's changed code, previously supported behavior, reachable trigger, proposed new defect, false-positive checks and required proof. Retain supplied leads suggesting old bugs or incomplete fixes for adjudication. Leave PoC construction to reproduction.
  4. Reserve each lead's ID through registry.py candidate using its stable hypothesis key and assigned agent handle. Reuse the key on retry. Write candidate files and hunt.json with IDs, file mappings, coverage and limitations. An empty list is valid. If blocked, record partial coverage and uninspected areas. Seal the package.

Report Back

Keep detailed evidence in the sealed package. Return only:

  • Status: complete or blocked, matching the record.
  • Record: sealed hunt.json path, or why none was produced.
  • Result: candidate count and material coverage gaps.
  • Blocker: missing prerequisite or required caller action, if blocked.

Rationalizations to Reject

  • “A helper fails on invented input”: show a supported interface that reaches it.

Comments

Markdown supported