Summary
A Hunt is an investigation of one authorized target that your own coding agent plans and ShakerScan carries out. The agent (Codex, Claude Code, OpenCode or Pi) reads what is known about the target and proposes the next action. The server decides whether that action is allowed, runs it, and keeps the evidence. The agent can record leads and candidates. It cannot mark anything verified: that takes a deterministic proof, the same one a Scan uses.
This page describes the design as the repository documents it at 2.14.1. The rules quoted below are the project's stated design rules; where a control is covered by a test or a release note, that is said. The last two sections list what is not measured and what a Hunt can still do that you should know about.
Who does what
| Decides | Cannot do | |
|---|---|---|
| You | The target, the objective, which permissions and credentials a Hunt may use, the budget, and the final judgment on a finding | |
| Your coding agent | What is worth trying next | Change the target, raise its own permissions, see stored credentials, or mark a finding verified |
| ShakerScan | Whether an action is allowed; it then runs the action and records the result | Decide what matters to your business |
The README puts it in one sentence: "Hunt is planned by the coding agent you run (Codex, Claude Code, OpenCode, or Pi); ShakerScan keeps target binding, scope, policy, approval, budget, execution, evidence, and proof on the server."
One Hunt, step by step
- You register and authorize the target. "Active Hunt capabilities require explicit confirmation that the target is owned or authorized and a target-bound, expiring approval" (product model).
- You start your agent with
shakerscan agent claude(orcodex,opencode,pi) and ask for a Hunt. The agent's session does the reasoning, so Hunt needs no separate model API key. - The agent reads the target's state: known endpoints, earlier findings, open leads, what earlier Hunts already tried, and which authorization boundaries are untested (2.14.0).
- The agent proposes an action by calling a named capability, for example an HTTP request, a crawl, or a verifier.
- The server checks the call against the target binding, the Hunt's permissions, its approval and its remaining budget, then runs it on a worker and stores the result as evidence.
- The agent reads the result and records a lead, drops one, or asks for a proof.
- A verifier settles it. If the deterministic proof holds, the finding is Verified. If not, it stays a candidate for a person to review.
The Hunt's state lives on the server, not in the agent's context window, so an investigation can be resumed or handed to another agent session.
The rules the server keeps
These are quoted from the numbered rules in AGENTS.md, the project's policy for anyone, human or agent, who changes the code.
- No local shell. "Never expose local shell/argv. Remote
ssh.execrequires an explicit stored SSH command grant." The agent calls typed capabilities; it does not get a shell on the ShakerScan host. SSH to the target is covered below. - Every network action is bound to the target. "Every network action uses runtime target binding and scope/destination validation."
- One definition per capability. "Every executable capability has one canonical registry entry declaring risk, budgets, placement, parser/output schema, and evidence contract." Scan and Hunt call the same entries.
- Budget is reserved before an action runs. "Reserve multidimensional budget before execution and reconcile actual use afterward."
- AI output is not proof. "AI may create notes, observations, and evidence-backed candidates; only deterministic proof contracts may mark findings verified."
- Strategy is the agent's; safety is the server's. "Adaptive strategy belongs in Hunt skills or the external planner. Safety, protocol, evidence, and correctness stay server-side."
- A timeout keeps partial results. "Preserve trustworthy partial output on timeout. Cancellation is distinct and stops execution."
The README's security model adds the point that makes these rules matter: "scope, budgets, and approvals are enforced server-side, not by the UI or the agent."
Limits on every Hunt
"Every Hunt retains hard ceilings for capability calls, requests, active actions, wall time, ports, hosts, browser actions, device fragility, and candidates" (product model). A Hunt that needs more asks for a budget raise; it does not take one. A Hunt nobody drives ends after 72 idle hours (2.14.0).
Credentials and sign-in
Stored credentials stay on the server and are encrypted at rest. The agent refers to them by reference. A saved login lets the model sign in to the target "without ever seeing the credential: a person attaches an existing form or JSON login profile of the target to the Hunt, and the model sends the login by reference" (docs/hunt-saved-logins.md).
One exception is deliberate and opt-in: a person can start a Hunt with a flag that lets its secret-inspection answers carry values. Without that flag the agent does not see secret values.
State-changing requests and SSH
Two capabilities are stronger than reading pages, and each needs its own grant.
- Writes. POST, PUT, PATCH and DELETE need the Hunt's state-changing permission. From 2.12.0 the SQL injection and XSS verifiers can test request bodies under that permission, with a separate request ceiling.
- SSH to the target. "Remote commands over SSH (Hunt
ssh.exec, the live console, saved actions) need an explicit grant on the SSH credential and a pinned host key, saved by the operator or pinned on first contact when that is authorized" (README). So "no shell" means no shell on the machine running ShakerScan. With your grant, a Hunt can run commands on the target over SSH.
What counts as proof
AGENTS.md: "Confidence, AI judgment, labels, or successful HTTP status are not deterministic proof."
- SQL injection. "When sqlmap reports a vulnerable parameter the call named, the same action runs the Scan's deterministic SQL injection proof against the same request ... A proof that holds becomes a verified critical finding (CWE-89); sqlmap's report alone stays a candidate" (2.12.0).
- Cross-principal access (BOLA).
authz.verifycompares two managed sessions. "Role intent is never inferred from a successful response" (README), and it "needs two session references fromauth.session.establish" (2.11.0). - XSS.
xss.verifyproves execution in a pinned browser. - Exposed secrets. Only a narrow, screened set of secret formats is treated as self-evident. Anything else stays an observation.
What a Hunt may write is limited too: it "may create/update/delete only its own evidence-linked unverified findings, citing same-Hunt" evidence (AGENTS.md).
What you can review afterwards
- The Hunt record export holds each capability decision and the final debrief, "never hidden chain-of-thought" (
AGENTS.md). - HTTP transactions export separately and are redacted by default.
- The review projection "exposes allowlisted UUIDs, digests, and enums for authorization records, not arbitrary" graph attributes (
docs/hunt-review-integrity.md). - A CI job, "
Hunt record integrityruns the focused Python tests, a disposable real PostgreSQL locking" and rollback test, and the UI tests.
What is not measured
- The record-integrity checks "do not run an offensive workload or establish live worker, browser" workflow acceptance. They show the record is consistent, not that a Hunt finds things.
- How much a Hunt finds is small and is measured separately. The latest recorded figures, from the 2.14.0 release notes, are about 6% of known vulnerabilities proven and 12–13% raised as candidates across eight intentionally vulnerable applications. See what Hunt adds over Scan.
- There is no study of how much time a Hunt saves a penetration tester.
What to know before you rely on it
- The agent's model provider sees what the agent reads. ShakerScan stores no model key for Hunt, but prompts, target context and tool results reach the coding agent and the provider behind it. Secrets are redacted in normal responses; choose the provider accordingly.
- The open-source API has no login. "Anyone who can reach it can operate the engine, and the API can use the Docker socket, so keep it on loopback or a trusted network" (README). Hunt's limits protect the target from the agent. They do not protect an exposed ShakerScan from a stranger.
- Cross-principal proof needs two real sessions. Static header or cookie profiles "cannot yet serve as the two principals" (2.11.0).
- Active recon is Scan-only. Hunts do not have those capabilities yet (2.11.0).
- A Hunt is not coverage. It follows leads. Use Scan when you need the same checks every time.
- Budgets bound the Hunt's work, not the time you spend reviewing it, and a Hunt spends your agent provider's tokens.
Where the detail lives
The repository's own Hunt architecture document (docs/hunt-architecture.md) is a design and planning record. At 2.14.1 it still contains the September 2026 state and unfinished phase tables, so this page is the current summary and the release notes are the record of what shipped.