/penetration-tester:performing-penetration-testing [engagement-directory] [approved security job]from penetration-tester
Orchestrates approved penetration testing across 25 narrow operator skills with authorization/scope gates, evidence retention, and report inputs. Use when starting a pentest, auditing dependencies or source code, or checking an approved URL.
Ships in penetration-tester. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Route an approved engagement across 25 narrow operator skills plus this orchestrator. Each invoked CLI has its own arguments, evidence requirements and exit status.
Use Read for approved ROE and saved findings, Glob/Grep to select artifacts, and Write only for requested engagement outputs. These routing instructions depend on each CLI's own input and evidence checks; reports do not certify compliance.
Obtain the owner's authorization and approved targets before scanning. The structural authorization checker validates metadata, scope and time windows; a successful check does not verify signing identity or establish legal authority. Keep the approved ROE, target handoffs and requested local repository/environment paths with the engagement evidence. Do not install missing scanners automatically.
Match the requested job in the routing table. Select only the relevant operators; no full scan, write/proxy experiment, signing or service activation follows merely from a broad request to inspect a project. The HTTP-method operator defaults to OPTIONS; each active method has its separate ROE, opt-in and ledger contract.
Run confirming-pentest-authorization and defining-pentest-scope before any
cluster 1–4 operator, including ad-hoc work. Require both CLI exit codes to be 0.
A HIGH or CRITICAL governance finding, invalid ROE, unsupported target or any
other nonzero gate stops the dependent scan; severity filtering cannot grant
permission. Verify each network target with the authorization checker's
--check-target and use only successfully emitted scope handoffs.
The scope CLI covers supported network identities. Approval of exact local repository and Python-environment paths must be established separately; do not claim it validates arbitrary filesystem paths or that changing cwd selects a Python environment.
For narrow v3 operators, persist canonical Finding JSON/JSONL with the skill's
actual --output/--format arguments. Preserve the unfiltered gate alongside
its report. Exit 1 from a completed scan records security findings; it does not
invalidate the preceding authorization. Exit 2 or missing completion evidence
marks dependent conclusions incomplete. Other approved independent checks may
continue only without hiding that incomplete coverage.
The legacy routes retain separate v2 report shapes, with explicit completion and error metadata. Keep those reports separate from canonical Finding streams. Their CLI does not execute this orchestrator's ROE gate. Invoke them only after the governance steps; use narrow v3 operators when canonical report composition is required. The mapping table below describes related jobs, not schema parity.
Use verified canonical sources with mapping-findings-to-owasp-top10, then
composing-vulnerability-report, then generating-executive-summary. Inspect
the sources and each operational exit status; a later report writer returning 0
does not erase a source scan's finding or incomplete gate. The aggregate outcome
retains incomplete evidence before a known security-finding outcome before clean.
Label partial deliverables and unknown coverage explicitly.
Run recording-pentest-engagement for a checksum manifest. An archive is produced
only when --tar is supplied, outside the evidence tree. Signing is optional and
requires separately approved signer/key access; never create keys or infer
signing authorization. A hash manifest or optional signature is not a certified
chain of custody.
Every scan row requires the authorization and scope gates from Step 2.
| Intent | Required inputs/gates | Operators in order |
|---|---|---|
| Full engagement | Authorization + scope | Relevant cluster 1–4 operators, then evidence-backed reporting |
| Headers / URL | Authorization + scope | checking-http-security-headers, analyzing-tls-config, detecting-ssl-cert-issues |
| CORS | Authorization + scope | auditing-cors-policy |
| TLS / certificate | Authorization + scope | analyzing-tls-config, detecting-ssl-cert-issues |
| npm dependencies | Authorization + scope + approved project path | auditing-npm-dependencies |
| Python dependencies | Authorization + scope + declared requirements/environment | auditing-python-dependencies |
| Vulnerable dependency trace | Authorization + scope + saved advisory input | Dependency audit, then tracing-transitive-vulnerabilities |
| License review | Authorization + scope + approved project path | checking-license-compliance |
| Secret scan | Authorization + scope + approved source path | scanning-for-hardcoded-secrets |
| SQL / command injection | Authorization + scope + approved source path | The matching cluster 3 pattern operator |
| Static code audit | Authorization + scope + approved source path | Relevant cluster 3 operators |
| OWASP coverage | Verified canonical findings and declared tested coverage | mapping-findings-to-owasp-top10; coverage is not proof all risks were tested |
| ROE / scope review | Proposed engagement metadata | confirming-pentest-authorization, defining-pentest-scope |
| Reports / summary | Verified canonical source artifacts | composing-vulnerability-report, generating-executive-summary |
| Evidence archive | Reviewed evidence tree and explicit archive/signing choices | recording-pentest-engagement |
performing-penetration-testing — this skillanalyzing-tls-config — TLS protocol versions, cipher suites, HSTSdetecting-ssl-cert-issues — cert validity, expiry, chain integrityauditing-cors-policy — origin reflection, credential bypass, wildcardchecking-http-security-headers — CSP, HSTS, X-Frame-Options, etc.probing-dangerous-http-methods — method discovery and approved disposable-fixture experimentsdetecting-exposed-secrets-files — .env, .git, backup filesdetecting-debug-endpoints — /server-status, admin panelsfingerprinting-server-software — Server-header version exposuredetecting-directory-listing — Apache/nginx autoindexscanning-for-hardcoded-secrets — AWS / GitHub / Stripe / Slack / API keysdetecting-sql-injection-patterns — string-concat SQL, unsanitized inputdetecting-command-injection-patterns — shell exec with user inputdetecting-eval-exec-usage — eval/exec with dynamic contentdetecting-insecure-deserialization — pickle/yaml.load/Marshal usedetecting-weak-cryptography — MD5/SHA1/DES, hardcoded IVs, ECB modeauditing-npm-dependencies — npm audit wrapper with v1/v2 parsersauditing-python-dependencies — pip-audit wrapper with OSV scoringchecking-license-compliance — SPDX classification + copyleft contaminationtracing-transitive-vulnerabilities — dep-graph leverage analysisconfirming-pentest-authorization — Rules of Engagement validationdefining-pentest-scope — target enumeration + IP allowlistrecording-pentest-engagement — SHA-256 manifest + GPG signingcomposing-vulnerability-report — unified deliverable reportmapping-findings-to-owasp-top10 — A0X classification + coverage rollupgenerating-executive-summary — 0-100 risk score + top-3 prioritiesFor a typical engagement, the orchestrator routes through:
+----------------------------------+
| confirming-pentest-authorization |
+-------------+--------------------+
| (CRITICAL halts here)
v
+----------------------------------+
| defining-pentest-scope |
+-------------+--------------------+
|
v
+-------------+-------------+-------------+-------------+
| Cluster 1 | Cluster 2 | Cluster 3 | Cluster 4 |
| (5 skills) | (4 skills) | (6 skills) | (4 skills) |
+-------------+-------------+-------------+-------------+
|
v
+----------------------------------+
| mapping-findings-to-owasp-top10 |
+-------------+--------------------+
|
v
+----------------------------------+
| composing-vulnerability-report |
+-------------+--------------------+
|
v
+----------------------------------+
| generating-executive-summary |
+-------------+--------------------+
|
v
+----------------------------------+
| recording-pentest-engagement |
+----------------------------------+
Keep the three legacy paths and their existing flags for compatibility. Corrected failure behavior is deliberate: an unavailable/invalid selected scanner returns incomplete exit 2, even if old versions reported clean. Display filters do not change the unfiltered gate. Code matches are redacted; incomplete web checks have no numeric risk score. No scanner is installed automatically.
Python legacy auditing requires pinned requirements.txt, or an explicit
--python /approved/project/.venv/bin/python. Requirements mode disables pip
resolution and audits the supplied pins; it does not claim transitive closure.
Environment mode audits the designated interpreter and runs pip check there,
using isolated Python mode to exclude the project cwd, PYTHONPATH and user-site
module lookup. The auditor must already be installed in that environment.
It does not prove that environment matches a project's lockfile. Preserve the
venv's lexical interpreter path. An advisory without severity remains unknown
and requires triage; it is not assigned a fabricated moderate rating.
| Retained legacy job | Related narrow v3 operators |
|---|---|
| security_scanner.py --checks headers | checking-http-security-headers |
| security_scanner.py --checks ssl | analyzing-tls-config, detecting-ssl-cert-issues |
| security_scanner.py --checks cors | auditing-cors-policy |
| security_scanner.py --checks endpoints | detecting-exposed-secrets-files, detecting-debug-endpoints |
| security_scanner.py --checks methods | probing-dangerous-http-methods; advertisement alone is not exploitation |
| dependency_auditor.py --scanners npm | auditing-npm-dependencies |
| dependency_auditor.py --scanners pip | auditing-python-dependencies, with its own input contract |
| code_security_scanner.py | Relevant cluster 3 pattern operators |
python3 ${CLAUDE_PLUGIN_ROOT}/skills/confirming-pentest-authorization/scripts/check_authorization.py \
--roe engagement/roe.yaml --check-target https://fixture.example.test \
--format json --output engagement/authorization.json
Inspect exit 0 and the actual result before running scope validation:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/defining-pentest-scope/scripts/define_scope.py \
--roe engagement/roe.yaml --emit-allowlist engagement/approved-allowlist.txt \
--emit-targets engagement/approved-targets.json --format json
Run only the approved relevant operator after both gates pass. These are documentation examples, not authorization to scan that host.
python3 ${CLAUDE_PLUGIN_ROOT}/skills/performing-penetration-testing/scripts/dependency_auditor.py \
/approved/project --scanners pip --python /approved/project/.venv/bin/python \
--output engagement/legacy-python.json
Keep this v2 JSON report separate from canonical v3 Finding JSONL.
python3 ${CLAUDE_PLUGIN_ROOT}/skills/mapping-findings-to-owasp-top10/scripts/map_owasp.py \
engagement --source engagement/findings/scan.jsonl \
--enrich-output engagement/findings/all-with-owasp.jsonl \
--coverage-output engagement/reports/owasp-coverage.md
Then use compose_report.py engagement --source <canonical findings> --report-output <file> and exec_summary.py engagement --source <canonical findings> --coverage <coverage file> --summary-output <file>, through their
respective skill instructions. Verify the source and format expectations before
composition; do not relabel legacy JSON as JSONL.
A full engagement can produce enriched canonical findings, an OWASP coverage report, a vulnerability report, an executive summary and a checksum manifest. Archive/signature artifacts are conditional on explicit options. Preserve source reports, incomplete outcomes, approval/scope evidence and the provenance of each included result; report creation alone does not prove a completed assessment.
For each narrow operator, read its own SKILL.md and references. This routing update preserves the 25 narrow jobs and the existing compatibility entry points; it does not approve a wider skill, MCP, signing or release phase.
references/OWASP_TOP_10.md (opens in a new tab)references/REMEDIATION_PLAYBOOK.md (opens in a new tab)references/SECURITY_HEADERS.md (opens in a new tab)scripts/code_security_scanner.py (opens in a new tab)scripts/dependency_auditor.py (opens in a new tab)scripts/requirements.txt (opens in a new tab)scripts/security_scanner.py (opens in a new tab)scripts/setup_pentest_env.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/analyzing-tls-configAnalyze a target's TLS configuration — negotiated protocol version, cipher
suite, certificate chain, expiry, and downgrade vectors.
Use when: SOC2 auditor flagged your endpoint for "weak TLS" but you don't
know which control failed (TSC CC6.7 transmission integrity vs CC6.6
encryption) or which cipher is the problem.
Threshold: any negotiated TLSv1.0 or TLSv1.1, OR a cipher with RC4 / 3DES /
null / EXPORT, OR a cert with under 30 days to expiry, OR a chain that fails
hostname verification.
Trigger with: "audit tls", "check ssl config", "weak tls", "analyze tls".
/auditing-cors-policyAudit a target's CORS posture — Access-Control-Allow-Origin handling,
reflected-origin bypass, credentials+wildcard mismatch, preflight
OPTIONS behavior, Vary header correctness.
Use when: a third-party integration is failing CORS preflight and
someone proposes "just set Allow-Origin to *" as the fix, OR your
bug-bounty inbox has a credential-reuse exploit chain.
Threshold: any reflection of arbitrary Origin into Allow-Origin,
Allow-Credentials:true with wildcard origin (browser-rejected combo
but server config wrong), missing Vary:Origin on per-origin responses,
preflight cached over 86400s, OR Allow-Origin trust of attacker-
controlled subdomain pattern.
Trigger with: "audit cors", "check cors policy", "cors bypass",
"preflight check".
/auditing-npm-dependenciesAudit a Node.js project's installed npm dependency tree for known
CVEs by wrapping the npm audit JSON output and emitting findings in
the canonical penetration-tester schema. Detects direct AND transitive
vulnerabilities, normalizes npm's severity scale (info/low/moderate/
high/critical) to the shared Severity enum, and parses both v1 and
v2 audit output formats so the skill works against npm 6 and npm
7+ lockfiles.
Use when: pre-merge gate on a Node project, post-incident sweep
after a transitive package compromise (e.g. event-stream, ua-parser,
node-ipc, color.js), SOC2 vendor-management evidence collection,
or auditing an inherited or acquired Node codebase.
Threshold: any HIGH or CRITICAL CVE in the resolved dependency
tree. MODERATE / LOW reported informationally.
Trigger with: "audit npm deps", "npm vulnerability scan", "check
node packages for CVEs", "npm audit".
/auditing-python-dependenciesAudit a Python project's installed dependencies for known CVEs by
wrapping pip-audit (PyPA's official vulnerability auditor) and
emitting findings in the canonical penetration-tester schema.
Detects vulnerable direct AND transitive packages, normalizes
pip-audit's severity output via OSV severity bands, falls back to
pip list --outdated when pip-audit isn't installed, and supports
requirements.txt, pyproject.toml (PEP 621), Pipfile.lock, and
poetry.lock as input sources.
Use when: pre-merge gate on a Python project, post-incident sweep
after a PyPI compromise (e.g. ctx, request-toolbelt typosquats,
ultralytics 8.3.42 compromise), SOC2 evidence collection, or
inheriting an unfamiliar Python codebase.
Threshold: any HIGH or CRITICAL CVE in the resolved dependency
tree. MODERATE / LOW reported informationally.
Trigger with: "audit python deps", "pip vulnerability scan",
"check pypi packages for CVEs", "pip-audit run".
/checking-http-security-headersAudit a target's HTTP security headers — CSP, HSTS, X-Frame-Options,
X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and the
Cross-Origin trio (COOP, COEP, CORP).
Use when: SOC2 / PCI auditor flagged "missing security headers" or a
Mozilla Observatory grade is below B, OR you need HSTS preload
eligibility for chrome://net-internals.
Threshold: any missing required header on production HTML response,
HSTS max-age below 31536000s (preload requirement), CSP with
'unsafe-inline' or 'unsafe-eval', X-Frame-Options absent AND CSP
frame-ancestors absent (clickjacking), Cache-Control allowing public
cache on authenticated endpoint.
Trigger with: "audit security headers", "check csp", "hsts check",
"header posture".
/checking-license-complianceAudit a project's dependency licenses against an explicit policy
(allow-list / deny-list / review-required) and flag incompatibilities
before they ship to production. Reads SPDX license identifiers from
npm package manifests, Python METADATA / PKG-INFO files, and
pyproject.toml; classifies each license by family (permissive,
weak-copyleft, strong-copyleft, proprietary, unknown); detects
copyleft contamination and SPDX-incompatible license combinations.
Use when: pre-release legal review, M&A code-audit due diligence,
preparing an OSS attribution NOTICE file, or switching a project's
own license.
Threshold: any GPL-family license in a project declaring MIT or
Apache-2.0; any UNKNOWN-license package; any metadata-vs-source
license mismatch.
Trigger with: "check licenses", "license compliance audit",
"SPDX scan", "GPL contamination check".
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin penetration-testerOther plugins' skills for the same job