hunt
Test for a specific vulnerability class against target endpoints using curated payloads.
Define and authorize the target scope for a penetration testing engagement. This is the **mandatory first step** — all other commands refuse to run without an active scope.
$ npx -y skills add frendysanusi/claude-pentest-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/scopeContext preview
What this command does when you run it.
Define and authorize the target scope for a penetration testing engagement. This is the **mandatory first step** — all other commands refuse to run without an active scope.
Define and authorize the target scope for a penetration testing engagement. This is the **mandatory first step** — all other commands refuse to run without an active scope.
/scope example.com /scope https://app.example.com /scope 192.168.1.100:8080
Normalize the target identifier:
Prompt the user for the following information. Do not proceed until all required fields are provided:
**Required:** 1. **In-scope URLs/domains** — Exact URLs, domains, or IP ranges authorized for testing 2. **Out-of-scope exclusions** — Any URLs, domains, paths, or IP ranges explicitly excluded 3. **Authorization confirmation** — User must explicitly confirm: *"I confirm I have written authorization to test these targets"*
**Optional (ask but allow skipping):** 4. **Engagement name** — Descriptive name (defaults to target domain) 5. **Rate limits** — Maximum requests per second (default: no specific limit, use common sense) 6. **Restricted hours** — Time windows when testing is not allowed 7. **Sensitive endpoints** — Paths to handle with extra care (e.g., production payment flows) 8. **Test account credentials** — Any provided test accounts (store in scope.md, never in version control)
Create `engagements/<target>/` with the following files:
# Scope — <target> **Engagement:** <name> **Target:** <target> **Start Date:** <YYYY-MM-DD> **Authorization:** Confirmed by user ## In-Scope - <list of authorized URLs/domains/IPs> ## Out-of-Scope - <list of excluded URLs/domains/paths> ## Constraints - **Rate Limit:** <value or "None specified"> - **Restricted Hours:** <value or "None"> - **Sensitive Endpoints:** <list or "None"> ## Test Accounts - <credentials or "None provided"> ## Notes <any additional context>
# Findings — <target> | ID | Title | Severity | CVSS | Endpoint | Vuln Class | Status | Date | |----|-------|----------|------|----------|------------|--------|------| --- <!-- Detailed finding entries below -->
# Payload Testing Log — <target> | Timestamp | Endpoint | Vuln Class | Payload | Result | Notes | |-----------|----------|------------|---------|--------|-------|
# Test Coverage — <target> ## OWASP WSTG Coverage | Category | ID Range | Tested | Date | Notes | |----------|----------|--------|------|-------| | Information Gathering | WSTG-INFO-01 to 10 | No | | | | Configuration & Deploy | WSTG-CONF-01 to 11 | No | | | | Identity Management | WSTG-IDNT-01 to 05 | No | | | | Authentication | WSTG-ATHN-01 to 10 | No | | | | Authorization | WSTG-ATHZ-01 to 04 | No | | | | Session Management | WSTG-SESS-01 to 09 | No | | | | Input Validation | WSTG-INPV-01 to 19 | No | | | | Error Handling | WSTG-ERRH-01 to 02 | No | | | | Cryptography | WSTG-CRYP-01 to 04 | No | | | | Business Logic | WSTG-BUSL-01 to 09 | No | | | | Client-Side | WSTG-CLNT-01 to 13 | No | | | ## Endpoint Coverage | Endpoint | Vuln Classes Tested | Date | Status | |----------|-------------------|------|--------|
# Technology Stack — <target> ## Web Server _Not yet identified_ ## Application Framework _Not yet identified_ ## JavaScript Libraries _Not yet identified_ ## Database _Not yet identified_ ## CDN / WAF _Not yet identified_ ## Authentication Mechanism _Not yet identified_ ## Notable Headers _Not yet identified_ ## Additional Notes
# Engagement Notes — <target> **Started:** <YYYY-MM-DD> ---
Display a summary table of the scope and confirm readiness:
Scope defined for <target> In-scope: <count> targets Out-of-scope: <count> exclusions Constraints: <summary> Engagement directory: engagements/<target>/ Ready to proceed with /recon <target>
Other commands call this check before executing:
1. Read `engagements/<target>/scope.md` 2. Verify the request URL/domain is listed under "In-Scope" 3. Verify it is NOT listed under "Out-of-Scope" 4. If ambiguous → **STOP and ask the user** 5. If out-of-scope → **REFUSE the request, explain why**
AI-powered web application penetration testing skills with Claude Code
Repo: frendysanusi/claude-pentest-skills
Test for a specific vulnerability class against target endpoints using curated payloads.
Display the engagement progress dashboard. Read-only — does not modify any state files.