A model-agnostic, multi-agent security hunting harness. You run it with your own coding agent and your own models. One method, three jobs: bug bounty hunting, authorized offensive penetration testing, and defensive verification.
Nullhawk is a portable skill pack plus a small orchestration engine. It hosts nothing, it signs you up for nothing, and it locks you to no single model. You bring the agent and the models. Nullhawk brings the method: recon, reproduce, adversarial verify, proof, report, and harden, with every finding validated in an isolated sandbox before it is ever written up.
Short on time? QUICKSTART.md gets you from clone to a first lane in about a minute.
Editable diagram source (Mermaid, rendered natively by GitHub)
%%{init: {"theme":"base","themeVariables":{"fontFamily":"ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif","fontSize":"14px","lineColor":"#94A3B8","primaryColor":"#FFFFFF","primaryBorderColor":"#CBD5E1","primaryTextColor":"#0F172A","edgeLabelBackground":"#FFFFFF","clusterBorder":"#CBD5E1","clusterBkg":"#FBFCFE"},"flowchart":{"curve":"basis","nodeSpacing":34,"rankSpacing":40,"htmlLabels":true,"padding":12}}}%%
flowchart TD
subgraph OP["Operator plane · bring your own agent"]
direction LR
AGENT["<b>You and your coding agent</b><br/><small>Claude Code · Codex · OpenCode · any MCP agent</small>"]
ADAPTER["<b>Adapter</b><br/><small>load-skill · spawn-worker · spawn-reviewer · read-slice</small>"]
AGENT --> ADAPTER
end
subgraph CTRL["Control plane · orchestrator backbone"]
direction LR
DISP["<b>Dispatcher</b><br/><small>dispatch.sh</small>"]
SCOPE{{"<b>Scope gate</b><br/><small>scope.py reads scope.yml</small>"}}
ROUTER["<b>Model router</b><br/><small>reads registry/models.yml, by tier and cost</small>"]
GUARD{{"<b>Finder-model guard</b><br/><small>verify model not equal finder model</small>"}}
MASK{{"<b>Masker</b><br/><small>mask.py, every boundary write</small>"}}
DISP --> SCOPE --> ROUTER --> GUARD --> MASK
end
subgraph FAB["Model fabric · any provider, hosted or local"]
direction LR
T1["<b>Orchestrator</b><br/><small>plans, reads receipts</small>"]
T2["<b>Long-horizon</b><br/><small>recon, multi-step, verify</small>"]
T3["<b>Code</b><br/><small>exploit-lab, proof</small>"]
T4["<b>Cheap-bulk</b><br/><small>greps, triage, fan-out</small>"]
BROWSER["<b>Browser-driven worker · no API key</b><br/><small>provider web UI when the API refuses an authorized scoped task</small>"]
end
subgraph VM["Sandbox · isolated, network-constrained Linux VM"]
direction LR
RECON["<b>Recon</b>"] --> REPRO["<b>Reproduce</b>"] --> VERIFY["<b>Verify</b><br/><small>adversarial, second model</small>"]
VERIFY --> GATE{{"<b>Validate before report</b>"}}
GATE --> PROOF["<b>Proof</b><br/><small>baseline fails, then confirmed</small>"]
PROOF --> REPORT["<b>Report</b><br/><small>masked, per mode</small>"]
REPORT --> HARDEN["<b>Harden</b><br/><small>fix closes the hole</small>"]
DOCTOR["<b>Doctor health lane</b><br/><small>proves the pipeline is alive</small>"]
end
subgraph STATE["State and feedback · survives between runs"]
direction LR
TRACK["<b>Trackers · track.py</b><br/><small>findings, progress, payouts, session</small>"]
MEM["<b>Cross-run memory</b><br/><small>resume at zero context cost</small>"]
EVOLVE["<b>Evolve loop · evolve.sh</b><br/><small>propose, probe, compose, gated</small>"]
end
ADAPTER -->|dispatch| DISP
ROUTER -->|route by tier| FAB
GUARD -.->|API refuses| BROWSER
GUARD -.->|verify on a different model| VERIFY
FAB -->|run tools in the VM| RECON
BROWSER -.-> VERIFY
REPORT -->|receipts and findings| STATE
EVOLVE -.->|learned deltas| DISP
classDef gate fill:#FFF1EC,stroke:#E06A43,stroke-width:1.5px,color:#9A3412;
classDef browser fill:#EEF4FE,stroke:#2563EB,stroke-width:1.5px,color:#1E3A8A;
classDef store fill:#F8FAFC,stroke:#94A3B8,color:#334155;
class SCOPE,GUARD,MASK,GATE gate;
class BROWSER browser;
class TRACK,MEM,EVOLVE store;
style OP fill:#EEF1F6,stroke:#C5CBD6;
style CTRL fill:#EDEAFB,stroke:#C4B5FD;
style FAB fill:#E8F5F0,stroke:#9FD9C8;
style VM fill:#FEF7ED,stroke:#F2C480,stroke-dasharray:6 4;
style STATE fill:#E9F1FB,stroke:#AFCDF4;
Scanners that fire one tool exist. Single-agent pentest bots exist. A bridge of 150 tools behind an MCP server exists. What did not exist is the glue that ties a swarm of agents into one disciplined operator across the whole lifecycle.
Nullhawk owns only that glue, and composes mature open-source tools for the rest:
- A model-agnostic orchestrator that splits work into lanes and dispatches workers across whatever models you plugged in.
- Memory that survives between runs, so a fresh session resumes with zero context cost.
- A validate-before-report gate, so nothing reaches a draft report until a second pass has reproduced it in a sandbox.
- A scope gate that is on by default, so work stays on authorized targets.
- A rulebook that mutates on every miss, so the harness gets sharper the more you run it.
It is distilled from a real solo campaign that ran recon to paid across dozens of confirmed disclosures spanning fintech, dating, government, AI, and mobile. The harness is the discipline that made that repeatable, not a demo.
One pipeline, three framings. The mode you declare changes what a finding has to prove and what deliverable comes out the end.
| Mode | You are | What a finding must show | What comes out |
|---|---|---|---|
| Bounty | Hunting a program in scope | A real, reproduced impact inside the program rules | A program or vendor report with the reward ask |
| Offensive | Testing under a signed engagement | Exploitation on authorized targets, end to end | A client engagement deliverable |
| Defensive | Securing your own systems | The original proof now fails against the patched system | A fix-verification record |
Three planes, read top to bottom in the diagram above.
- The skill pack is what you drop into your agent. It is the portable method, one procedure per file under
skills/. The core never names a model or a CLI. - The control plane is the orchestrator backbone. It plans, routes work across your models, and verifies. A scope gate keeps work on authorized targets. A model router picks a model per task by skill, cost, and context length.
- The work plane is a swarm of parallel lanes (recon, reproduce, verify, proof, report, harden, plus a doctor health lane). Lanes run their tools inside an isolated sandbox VM, and results are validated before anything is reported.
Underneath, memory and a tracker move every finding from lead to paid, and an evolve loop feeds what it learned back into the orchestrator.
git clone https://github.com/anzal1/nullhawk.git && cd nullhawk && ./install.sh
# Add your own model keys, and declare your scope (a bounty program's assets, an engagement,
# your own box, or a CTF). install.sh created both files from the examples.
$EDITOR registry/models.yml scope.yml
# Check the harness is wired up
bin/nullhawk doctor
# Run a lane
bin/nullhawk hunt recon "Map the public surface of app.example.com" --target app.example.comNo keys or VM yet? bin/nullhawk doctor --offline --no-sandbox tests the plumbing with a built-in mock model. bin/nullhawk help lists everything. The scripts under scripts/ still work directly if you prefer them, and the Makefile has init, doctor, and hunt shortcuts.
Your agent reads SKILL.md, follows the procedures in skills/, and the orchestrator fans the work across the models in your registry. One adapter per host (claude-code, openai-codex, opencode, mcp-generic): see QUICKSTART.md for the lines per agent.
The method lives in skills/. Adapters are thin glue that map four abstract operations to a specific host, and hold no method logic.
| Adapter | Host | Workers are |
|---|---|---|
adapters/claude-code |
Claude Code | skills as plugin files, workers and reviewer as sub-agents |
adapters/openai-codex |
Codex CLI | Codex threads, one per ongoing job |
adapters/opencode |
OpenCode | OpenCode runs against a chosen model |
adapters/mcp-generic |
any agent | the lowest common denominator: run a shell command, read a file |
The four operations an adapter implements: load a skill, spawn a worker, spawn a reviewer, read a slice of a large file. That is the entire contract. See adapters/README.md.
The router reads a registry of models tagged by tier and calls whatever endpoints you configure, hosted or local. Nothing is hard-coded.
- Orchestrator: a stable, reliable model that runs the loop.
- Long-horizon: a large-context model for recon and multi-step work.
- Code: a strong coding model for reproduction and proof.
- Cheap bulk: a fast model for wide, mechanical fan-out.
You decide which model fills each tier. See registry/models.example.yml.
Every finding walks the same path, and most of the value is in the gates between the steps.
- Recon. Map the attack surface and find the right contact or recipient.
- Reproduce. Fire the bug end to end, or exploit it on an authorized target. No theoretical reports.
- Verify. A second model runs an adversarial pass: deduplicate, check preconditions, and floor the severity. This is the gate that keeps false positives out.
- Proof. Produce a self-contained, runnable proof: a baseline that must fail, then the confirmed result.
- Report. Draft the deliverable for the mode, from a template, with secrets masked.
- Harden. Confirm a fix actually closes the hole, and run blue-team checks.
Nullhawk runs only against targets you are authorized to test: a bounty program's in-scope assets, a signed engagement, your own infrastructure, or a CTF. The scope gate enforces this and defaults to read-only on anything that is not yours.
This is operational, not a lecture. Staying in scope is how you get paid and how you avoid a ban. It reads like firewall rules, not a code of conduct. See SCOPE-AND-AUTHORIZATION.md.
Active tools run inside a disposable, network-constrained Linux VM, so your host machine stays clean and every run is reproducible. The sandbox has an egress allow-list for in-scope hosts, your model endpoints, and package sources. See sandbox/.
The components under harness/ are plain text that the evolve loop tunes. After a run, the loop proposes deltas (what to add to the rulebook, which routing to change, which check to add), probes them, and composes the ones that hold. Improvements never auto-apply without a gate. Over time the harness encodes your hard-won lessons so you do not relearn them.
nullhawk/
SKILL.md Core entrypoint: modes, lifecycle, receipts, masking.
SCOPE-AND-AUTHORIZATION.md The scope mechanic, written like firewall rules.
skills/ The portable method, one procedure per file.
adapters/ Thin per-agent glue, four ops, no method logic.
bin/nullhawk One friendly entrypoint over the scripts. install.sh sets up a fresh clone.
scripts/ Portable orchestration: dispatch, runner, scope, mask, doctor, track, evolve.
harness/ The editable components the evolve loop tunes.
sandbox/ The disposable Linux VM where work runs.
registry/ Your model registry.
templates/ Fill-in deliverables and the scope file.
trackers/ On-disk state: findings, progress, payouts, session.
lanes/ Lane scripts: recon, surface audit, patch gap, supply chain, artifact secrets, exploit lab, harden verify.
examples/ End-to-end walkthroughs on CTF, own infrastructure, and open-source libraries.
docs/ Methodology, architecture, modes, and the OSS landscape.
Add a lane, an adapter, or a model by following the receipt and masking contracts in CONTRIBUTING.md. The core skills stay host-neutral and model-neutral; anything host-specific lives in an adapter.
MIT. See LICENSE.