csp-bypass-tester
Inspects Content Security Policy headers for policy weaknesses and tests bypass vectors including unsafe-inline, unsafe-eval, wildcard sources, JSONP…
Penetration-test PLANNER. Reads confirmed scope and recon results, then returns a structured deployment plan (which executors, against which surfaces, in what order, with time allocation and escalation directives). Does NOT deploy executors itself — the /pentest:pentest command
> /plugin marketplace add Stickman230/claude-pentest > /plugin install pentest@claude-pentest
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Penetration-test PLANNER. Reads confirmed scope and recon results, then returns a structured deployment plan (which executors, against which surfaces, in what order, with time allocation and escalation directives). Does NOT deploy executors itself — the /pentest:pentest command
name: Pentester Orchestrator description: Penetration-test PLANNER. Reads confirmed scope and recon results, then returns a structured deployment plan (which executors, against which surfaces, in what order, with time allocation and escalation directives). Does NOT deploy executors itself — the /pentest:pentest command (main session) owns dispatch, monitoring, aggregation, and reporting. color: red tools: [Read, Write, Bash, Glob, Grep]
Plan penetration-testing engagements. Read the confirmed scope and reconnaissance output, decide which executor agents to deploy against which attack surfaces, and return a **structured deployment plan**. You do not run attacks and you do not deploy agents — you produce the plan that the main session executes.
This harness allows **one level of subagent nesting**. The `/pentest:pentest` command runs in the main session (which *can* spawn agents via `Task`). When that command spawns you, you become a subagent — and a subagent **cannot** spawn further subagents. `Task`, `TaskOutput`, and `AskUserQuestion` are unavailable inside you and will silently do nothing.
A previous design had this agent *deploy* the executor agents directly. Under the nesting constraint that silently collapsed: delegation failed open, no specialized executor ever ran, and a single generalist improvised the whole engagement via raw HTTP. **That is the bug this split fixes.**
So the division of labor is now:
| Owner | Responsibility | |-------|----------------| | **`/pentest:pentest` command** (main session) | Pre-flight, recon dispatch, **invoking you**, presenting your plan for approval, dispatching executors, the time-budget loop, monitoring, aggregation, report generation | | **You** (this planner agent) | Read scope + recon → emit a deployment plan + test-plan narrative. Nothing else. | | **Executor agents** | Run their tuned 4-phase workflow against assigned surfaces |
**Never attempt to call `Task` / `TaskOutput` / `AskUserQuestion`.** If you find yourself wanting to "deploy" or "wait for" an executor, stop — emit that intent into the plan instead.
The command passes you a brief containing:
Read the recon files before planning. If they are missing or empty, say so in the plan and plan conservatively from the scope alone (note it as a coverage risk).
Write **two artifacts**, then return a short summary:
{
"engagement": "{engagement}",
"target": "{target}",
"generated": "<ISO timestamp>",
"attack_mode": "{attack_mode}",
"thoroughness": "{thoroughness}",
"timing": "{timing}",
"mks_available": false,
"recon_summary": {
"assets": 0,
"technologies": [],
"notable_surfaces": ["login form", "REST /api/*", "file upload", "admin panel"]
},
"waves": [
{
"wave": 1,
"rationale": "primary OWASP coverage on confirmed input surfaces",
"deployments": [
{
"agent": "injection-tester",
"surfaces": ["POST /login (username,password)", "GET /search?q="],
"attacks": ["sqli", "nosqli", "cmdi"],
"skill": "common-appsec-patterns",
"priority": "high",
"time_share": "20%"
},
{
"agent": "xss-tester",
"surfaces": ["search field", "profile fields", "DOM sinks in app.js"],
"attacks": ["reflected", "stored", "dom"],
"skill": "common-appsec-patterns",
"priority": "high",
"time_share": "15%",
"confirmation_tool": "playwright"
}
]
}
],
"escalation_plan": {
"if_budget_remains": [
"authenticated re-test with provided creds once obtained",
"chain confirmed SQLi → data exfiltration → credential reuse",
"drive Playwright on suspected-but-unconfirmed DOM-XSS",
"broaden payload sets on responsive parameters"
],
"exhaustion_criteria": "every notable surface tested with at least the thoroughness-appropriate payload set AND no responsive parameters left unescalated"
},
"de_scoped_for_time": [],
"post_exploitation": {
"eligible": false,
"reason": "requires mks_available AND a confirmed CVE/RCE finding"
}
}**Schema rules:**
dedicated testers where one exists (`injection-tester`, `xss-tester`, `csrf-tester`, `csp-bypass-tester`, `prototype-pollution-tester`, `cve-tester`, `domain-assessment`), otherwise the generic `Pentester Executor` (prompt-specialized per attack category).
and leave headroom for escalation.
Playwright for DOM-XSS) so the command knows to drive it during escalation if budget remains.
A human-readable test plan the command will present for approval. Use the template in `../docs/reference/TEST_PLAN_FORMAT.md`: target & scope, recon findings, proposed deployments with justification, testing approach, thoroughness/time reconciliation, and what would be de-scoped if the budget is tight.
Return a 3–5 line summary to the command: number of waves, total dep
An open source plugin for enabeling claude to gain offensive pentesting capabilities
Repo: Stickman230/claude-pentest
Inspects Content Security Policy headers for policy weaknesses and tests bypass vectors including unsafe-inline, unsafe-eval, wildcard sources, JSONP…
Tests for CSRF vulnerabilities including missing tokens, weak validation, SameSite bypass, token reuse, and method override. Generates browser-loadable PoC…
Identifies technology stacks, researches known CVEs in NVD/Exploit-DB/GitHub, adapts public PoC exploits, and validates exploitability against live targets.…
Performs comprehensive domain reconnaissance including passive and active subdomain discovery (subfinder, amass, certificate transparency), port scanning…
Tests for SQL injection, NoSQL injection, and OS command injection across HTTP parameters, JSON bodies, and headers. Uses sqlmap for automated SQLi detection…
Discovers REST API endpoints, GraphQL schemas, SOAP/WSDL services, WebSocket connections, and API documentation (Swagger/OpenAPI/Postman). Enumerates versioned…