跪拜 Guibai
← All articles
前端 · 后端 · JavaScript

Claude-BugHunter turns a bug bounty hunter's judgment into a reusable security filter for indie devs

By ikoala ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Indie developers rarely have a security specialist on hand, and pre-launch products almost never get checked from an attacker's perspective. This pack turns accumulated bug bounty judgment into an executable workflow, so a first-time user can run a meaningful external black-box check and sort real risks from noise before shipping.

Summary

Asking a general LLM to find vulnerabilities usually yields either a generic OWASP Top 10 list or a pile of technically-true-but-unreportable "findings" like missing CSP headers, enabled GraphQL introspection, or a working `alert(1)`. Bug bounty platforms mostly reject those as N/A or Informative, and flooding them drags a researcher's standing down.

Claude-BugHunter, from Sachin Sharma, bundles that judgment directly into the model's runtime. It ships 85 skills, 16 slash commands, and a Python CLI (`cbh`) derived from 681 public HackerOne reports, with 433 patterns individually annotated back to source reports. The centerpiece is a 7-question validation gate that every candidate finding must pass before it becomes a report: a real exploit request has to be written out, the impact has to be in an accepted category, the root cause has to sit on an in-scope asset, no impossible privileges can be required, the behavior can't be already known, and true impact must be demonstrated. A 24-item "never submit" list handles the rest, with a combination table showing when low-value findings chain into serious ones.

The same gate doubles as a prioritization tool for solo developers: fix things that pass Q1 and Q6 first. It also filters incoming bug-bounty-style emails from strangers. Indie devs get a black-box scan only; the skill doesn't read source code or check dependencies, so a full pre-launch audit still needs code review and `npm audit` on top.

Takeaways
— Claude-BugHunter is a Claude Code skill pack plus a Python CLI (`cbh`), built from 681 HackerOne public reports, covering 24 core vulnerability categories across 85 skills and 16 slash commands.
— The 7-question validation gate (triage-validation) requires a candidate finding to have a writeable exploit request, in-scope root cause, no impossible privileges, non-documented behavior, and demonstrable real impact before it can be reported.
— Four dispositions exist: PASS, KILL, DOWNGRADE, and CHAIN REQUIRED. A killed finding is abandoned individually but the overall test continues.
— A 24-item "never submit" list marks issues like missing HSTS/CSP headers, standalone GraphQL introspection, self-XSS, and single open redirect as non-reportable on their own.
— A combination table maps low-value items to serious chains, e.g., open redirect plus OAuth redirect_uri theft yields account takeover; GraphQL introspection plus an auth-bypassed mutation yields high severity.
— For indie developers, the gate doubles as a fix-priority filter: issues passing Q1 (exploit request writable) and Q6 (real impact proven) get fixed first.
— The skill performs black-box validation only; it never reads source code or checks dependencies. A complete pre-launch check also requires code review and `npm audit` / Dependabot.
— First-time users should practice on OWASP Juice Shop or DVWA before testing their own product, and should always test staging rather than production to avoid polluting data or tripping cloud/CDN rate limits.
— Anthropic models restrict offensive security requests by default; the README recommends authorized users apply for Cyber Verification Program rather than disguising attack tasks as defensive review.
Conclusions

The skill's value lies not in attack techniques but in encoding "what not to report," which is the part most security tooling leaves to human judgment.

The 7-question gate is a transferable triage protocol: an indie dev can apply the same standard to unsolicited vulnerability emails from strangers, not just to their own test output.

Treating the "never submit" list as context rather than noise, via the combination table, reflects how real vulnerabilities actually get discovered better than most template-driven scanners.

The explicit split between deterministic scripts and LLM judgment, and the insistence on not letting the model fake missing report fields, show a deliberate effort to keep the model honest where reliability matters.

Concepts & terms
7-question validation gate
A checklist a candidate vulnerability must pass before being reported: it must be step-by-step exploitable with a real HTTP request, in scope, affecting a target-controlled asset, requiring no impossible privileges, not already known, and with demonstrable real impact. Failure means KILL, DOWNGRADE, or CHAIN REQUIRED.
"Never submit" list
A checklist of 24 issue types that, alone, are considered non-reportable on bug bounty platforms, such as missing security headers, self-XSS, or standalone open redirect. It teaches models not to generate noise reports while acknowledging the issues can matter in combination.
CHAIN REQUIRED
A disposition in the validation gate meaning a single finding isn't valid on its own but could be combined with other issues to form a critical vulnerability; the chain must be end-to-end verified before reporting.
bounty-targets-data
A public dataset of bug bounty program scopes used by the `cbh` CLI to import a target's in-scope and out-of-scope assets into `scope.md`, with ambiguous entries quarantined for manual approval.
Cyber Verification Program
An Anthropic program that authorizes users to conduct approved offensive AI security testing without the default safety restrictions on attack-related requests.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗