Skip to main content
BuildReviewed Nov 27, 2026

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.

v1.0.0New

Unsigned, install at your own risk

Unverified

This 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-hunting
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/claude-bughunter-regression-hunting/SKILL.md

Setup guide →
0Save

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

  1. Run recon as normal: /recon target.com or cbh recon target.com — this
    refreshes manifest.json regardless of whether you've hunted this target before.
  2. Diff against history: /diff target.com (or cbh diff target.com from a
    terminal). Read recon/<target>/REGRESSION.md.
  3. 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's TECH_SKILL table 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.com to rank them, then
      hunt P1.
  4. If the diff shows zero signal (cbh diff reports "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 /diff on 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 /hunt next.
  • 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 → /validate pipeline
    before it becomes a report.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
hunt-idorHunting skill for idor vulnerabilities. Built from 26 public bug bounty reports. Use when hunting idor on any target.2 installshunt-llm-aiHunt LLM/AI feature bugs — prompt injection, indirect injection, exfiltration via tool-use/markdown, ASCII smuggling, agentic AI security (OWASP Agentic Apps 2026, ASI01-ASI10). Patterns: direct injection ('ignore previous instructions'), indirect injection via documents/web pages/email the model reads, ASCII smuggling (Unicode Tags block U+E0000-U+E007F, invisible to humans, decoded by the model), tool-use exfiltration (model has fetch/browse tool, attacker injects OOB URL, model exfils chat history/secrets), markdown-image zero-click exfil, system-prompt extraction, IDOR-via-AI (cross-tenant data). Targets: chatbots, RAG, summarizers, agentic copilots, MCP tools. Detection: any LLM-backed endpoint, doc upload triggering AI processing, autonomous agent with tools. Validate: OOB/Collaborator callback for exfil, verbatim-reproducible system-prompt leak (run twice), verifiable cross-tenant leak or RCE. Confabulation is NOT a finding. Use when hunting AI features, chatbots, RAG, agentic s2 installsbug-bountyGuide a bug bounty task from recon and HackerOne scope through research, vulnerability testing, finding validation, and reporting. Use for subdomain and asset discovery, fingerprinting, disclosed report research, threat modeling, source code audit, web and API bugs (IDOR, SSRF, XSS, SQLi, OAuth, request smuggling), LLM and AI security testing, bug chaining, proof-of-concept validation, CVSS, or preparing a submission. For local tool and wordlist paths, use bb-local-toolkit. 中文触发词:漏洞赏金、安全测试、渗透测试、漏洞挖掘、信息收集、子域名枚举、XSS测试、SQL注入、SSRF、安全审计、漏洞报告2 installshunt-nextjsHunt Next.js specific vulnerabilities — Server Actions arbitrary function execution, Middleware auth bypass via static asset paths, ISR cache poisoning, Image Optimization SSRF (/_next/image), RSC payload leakage, getServerSideProps injection, source map exposure, debug endpoint leakage. Use when target runs Next.js 13/14/15 or any React SSR framework.2 installshunt-brute-forceHunt Missing/Weak Rate Limiting — login brute force, OTP/2FA brute force (10^6 keyspace), password-reset-token brute, credential stuffing, username/email enumeration via error-string / status-code / timing differences, weak password policy, missing CAPTCHA (CAPTCHA token replay / single-use / concurrency-window bypass specifics → hunt-captcha-bypass), IP-based rate-limit bypass via X-Forwarded-For and friends, ReDoS. Distinguishes hard lockout vs soft IP-throttle vs CAPTCHA-injection vs silent shadow-throttling (avoids false-negative 'no rate limit' conclusions). Medium to Critical depending on what the brute reaches (OTP→ATO = Critical).2 installshunt-sessionHunt Session Management vulnerabilities — session fixation (no regeneration on login), insufficient invalidation on logout / password-change / email-change, predictable or low-entropy session IDs, JWT-as-session with no exp/revocation, refresh-token rotation/reuse-detection gaps, OAuth/SSO session linkage, device-bound-session (DBSC) downgrade, and cookie attribute issues (Secure/HttpOnly/SameSite/__Host-). Validate with TWO real sessions (attacker A + victim B), body-diff every 200, and OOB confirmation for theft chains. Medium to Critical (fixation→admin hijack, no-invalidation→persistent ATO).2 installs

More from Claude-BugHunter

View source →
hunt-captcha-bypassHunt CAPTCHA Bypass — 6 distinct patterns: (1) CAPTCHA field simply omitted from the request (server-side validation absent), (2) CAPTCHA token replayed from a solved challenge (no single-use enforcement), (3) CAPTCHA response accepted on a different endpoint than it was solved on (no binding to action/session), (4) static or predictable CAPTCHA values accepted (e.g. '0', 'null', empty string), (5) audio/accessibility CAPTCHA trivially solvable programmatically, (6) CAPTCHA only enforced after N failures (first N requests bypass it). Detection: intercept a successful form submission, remove the CAPTCHA field entirely, replay — if it still succeeds, server-side validation is absent. Medium severity standalone; High when it removes the only rate-limit gate protecting a login, registration, or payment endpoint.22 installshunt-csrfHunting skill for csrf vulnerabilities. Built from 15 public bug bounty reports including modern variants — SameSite=Lax sibling-subdomain bypass (Argo CD CVE-2024-22424), GraphQL mutations-via-GET (GitLab $3,370), framework-wide CSRF middleware disabled (Stripe Dashboard $5,000), path-traversal CSRF-token bypass (GitHub Enterprise CVE-2022-23732 $10k), Origin-omission bypass (TikTok $2,500), OAuth-state null-byte (Streamlabs), WebSocket CSRF / CSWSH (Coda), default-SameSite email-change → ATO (YoYo Games $400), social-account-link CSRF (HackerOne), JSON-CSRF via text/plain on email-change (TikTok $500). Use when hunting modern CSRF — heavy emphasis on chain-to-ATO patterns.4 installshunt-rceHunting skill for rce vulnerabilities. Built from 67 public bug bounty reports. Use when hunting rce on any target.3 installshunt-oauthHunting skill for oauth vulnerabilities. Built from 19 public bug bounty reports. Use when hunting oauth on any target.3 installsios-redteam-pipelineEnd-to-end iOS red-team pipeline — IPA acquisition (App Store extraction, TestFlight, enterprise/ad-hoc sideload), class-dump/Hopper/Ghidra static analysis, Info.plist + entitlements + Keychain secret extraction, App Transport Security (ATS) misconfig + certificate-pinning bypass (frida-ios-dump, objection, SSL Kill Switch 2), URL-scheme / Universal Link hijack, exported-service enumeration, Frida runtime instrumentation. Companion to apk-redteam-pipeline for the iOS side of a mobile app catalogue. Use when target has an iOS app (App Store listing, TestFlight link, enterprise MDM distribution), when an IPA URL is found hosted on a web server, or when post-recon mentions "iOS app" / "mobile app" in scope alongside an Apple developer account.3 installshunt-rag-vectorHunt vector-store / embedding-layer weaknesses in RAG pipelines (OWASP LLM08 Vector and Embedding Weaknesses) — persistent corpus poisoning that survives across sessions and users (distinct from one-shot indirect prompt injection, which is owned by hunt-llm-ai), cross-tenant vector-database IDOR (unauthenticated or unscoped queries against Pinecone/Weaviate/Chroma/Milvus/Qdrant/pgvector), source-text/metadata leakage in similarity-search results, and retrieval-hijack via adversarial embedding proximity ('SEO poisoning' for RAG). Targets: any app with a shared knowledge base, document upload feeding a chatbot, or a directly reachable vector-DB port. Validate: a second, clean session/account must inherit a poisoned result, or a cross-tenant artifact must be independently verifiable — confabulation is not a finding, same bar as hunt-llm-ai. Use when target is RAG-backed, exposes a vector-DB port, or lets users upload documents that other users' queries later retrieve.3 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.645 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.548 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.357 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.254 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.181 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions146 installs

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.