Regression Hunting
Use when re-testing a target you've hunted before, on a retainer/continuous-scope program, or any time the question is "what changed since last time?" rather than "what's here?". Diff-based hunting against the deterministic `cbh diff` engine — surfaces new assets, new ranked endpoints, tech-stack drift, status-code flips, and newly flagged secrets since the last recon snapshot, so re-runs find fresh surface instead of re-reading surface already cleared.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install claude-bughunter-regression-huntingManual setup by platform
Claude Code
~/.claude/skills/claude-bughunter-regression-hunting/SKILL.md
Instructions
Regression Hunting: Diff-Based Re-Testing
Programs redeploy constantly. A fresh cbh recon on a target you tested last month
re-surfaces hundreds of hosts/endpoints you already cleared, burning tokens and time
re-reading dead surface. This skill flips the question from "what's here?" (first-run
recon) to "what changed?" (every re-run after that) — and the changed set is exactly
where undiscovered bugs concentrate, because it's the surface nobody (including you) has
tested yet.
Why This Matters
- New subdomain/endpoint = genuinely untested surface, not re-covered ground.
- Tech-stack drift (nginx → nginx+php, React SPA gains a new API client) = the
tech-specific skills that didn't apply last time might apply now. - Status-code flip (403 → 200 on the same path) = a fix regressed, an auth gate was
removed, or a feature flag flipped on. This is one of the highest-signal events in
continuous bug hunting — it means something a human decided should be blocked is now
open. - New flagged secret = time-sensitive; verify and report immediately, don't batch it
with the rest of the hunt. - Removed asset = decommission signal, not an attack lead — note it, don't chase it.
Deterministic Backing
The diff itself is not LLM judgment — it's a pure function over two JSON manifests
(engine/diff.py, unit-tested in engine/test_diff.py), the same trust model as
engine/scope.py. The LLM layer only decides what to do with the diff, never whether
something changed.
cbh diff target.com # compare current recon/<target>/manifest.json against
# the latest snapshot in recon/<target>/.snapshots/,
# write recon/<target>/REGRESSION.md, save a new snapshot
cbh diff target.com --no-save # dry run — diff without advancing the baseline
First run on a target: there's no prior snapshot, so everything is the baseline (not a
finding) — cbh diff says so explicitly and just stores the snapshot. Signal starts
appearing from the second run onward.
Workflow
- Run recon as normal:
/recon target.comorcbh recon target.com— this
refreshesmanifest.jsonregardless of whether you've hunted this target before. - Diff against history:
/diff target.com(orcbh diff target.comfrom a
terminal). Readrecon/<target>/REGRESSION.md. - Triage the diff, cheapest-signal first:
- New flagged secrets → verify now, before anything else (time-sensitive).
- Status-code flips (esp. 403/401 → 200) → re-test that exact path immediately; this
is a regression in someone else's fix, often a quick, high-confidence report. - New ranked-surface entries → feed straight into
/hunt target.com --vuln-class <bug_classes from the diff>instead of re-running the full surface. - Tech-stack drift → check
engine/skill_map.py'sTECH_SKILLtable for a
newly-applicable tech-specific skill (e.g. target added Next.js → load
hunt-nextjs). - New hosts with no ranked surface yet → run
/surface target.comto rank them, then
hunt P1.
- If the diff shows zero signal (
cbh diffreports "No change since the last
snapshot"): the target hasn't moved. Don't re-run the full hunt — either move to a
different target or widen recon (new subdomain sources, new crawl depth) before the
next snapshot.
Cadence
- Continuous-scope / retainer programs: run
/diffon a schedule (daily/weekly) —
this is the single highest-value recurring action on a program you've already cleared
once, because it's nearly free (one recon run) and only ever surfaces genuinely new
attack surface. - One-off bounty targets: run it before a second hunting session on the same target,
even a few days later — programs redeploy faster than most hunters re-test. - After a disclosed fix: if a program patches a reported bug, diff right after to see
if the patch introduced a status-code flip elsewhere (patches regress siblings more
often than operators expect — see the A→B signal table in/chain: "IDOR on/v2/" →
"same IDOR on/v1/(missing fix)" is exactly this pattern, caught automatically here).
Snapshot Hygiene
Snapshots live in recon/<target>/.snapshots/*.json, one per cbh diff run that didn't
pass --no-save. They're just copies of manifest.json at a point in time — safe to
delete individually (you lose that comparison point, nothing else) or prune by age. They
contain the same data as manifest.json itself (hosts, tech, ranked surface, secrets
metadata) — treat them with the same handling care as recon output (never commit a real
engagement's recon/ directory to a public repo).
What This Skill Does NOT Do
- It does not re-test anything itself — it tells you where to point
/huntnext. - It does not replace
/surface— new hosts still need ranking; the diff just tells you
which hosts are new. - It is not a vulnerability scanner — a status-code flip or tech change is a lead,
not a finding. Still run it through the normal hunt →/chain→/validatepipeline
before it becomes a report.
Security
Reviews (0)
Related skills
Browse all →More from Claude-BugHunter
View source →More Build skills
Browse category →Frequently asked questions about regression-hunting
What does the regression-hunting skill do?
Use when re-testing a target you've hunted before, on a retainer/continuous-scope program, or any time the question is "what changed since last time?" rather than "what's here?". Diff-based hunting against the deterministic `cbh diff` engine — surfaces new assets, new ranked endpoints, tech-stack drift, status-code flips, and newly flagged secrets since the last recon snapshot, so re-runs find fresh surface instead of re-reading surface already cleared. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the regression-hunting skill?
Run `npx @skills-hub-ai/cli install claude-bughunter-regression-hunting` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claude-bughunter-regression-hunting/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does regression-hunting work with?
regression-hunting runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the regression-hunting skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use regression-hunting after installing it?
In Claude Code, type `/claude-bughunter-regression-hunting` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the regression-hunting skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.