whitehat-harness
A Claude Code plugin for authorised security work: an engagement scope guard, an edit-time security gate, and audit and pentest skills that produce evidence-backed findings.
whitehat-harness turns Claude Code into a disciplined assistant for code audits and pentests of systems you are allowed to test. It is used in the security courses on HackyJS Courses.
It does three things. A scope guard hook denies shell, web and MCP calls aimed at hosts outside the engagement scope and logs every network action. An edit gate runs Semgrep and gitleaks on every file the agent writes and feeds the findings straight back. And seven skills turn a review into repeatable steps that write files you can diff and report on, instead of chat history.
The core rule is that model output is not evidence. A finding moves from candidate to confirmed only when a skeptic subagent fails to disprove it and backs it with a failing test or an in-scope request; otherwise it is rejected or needs-validation.
Key features
- Scope guard: denies out-of-scope hosts and keeps an audit log of network actions
- Edit gate: Semgrep and gitleaks on every write, with a Stop hook that asks for fixes or explanations
- Skills: scope, recon, taint tracing, SAST triage, skeptic verification, pentest recon, one-command audit and reporting
- Evidence-backed findings: only verification with a test or request can confirm a finding
- Reports: a narrative report, technical report, issue-tracker TSV and executive summary from
findings.json