csp-bypass-tester
Inspects Content Security Policy headers for policy weaknesses and tests bypass vectors including unsafe-inline, unsafe-eval, wildcard sources, JSONP…
Performs comprehensive domain reconnaissance including passive and active subdomain discovery (subfinder, amass, certificate transparency), port scanning (nmap, masscan), and service enumeration. Builds attack surface inventory. Follows 4-phase workflow. Deployed by
> /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.
Performs comprehensive domain reconnaissance including passive and active subdomain discovery (subfinder, amass, certificate transparency), port scanning (nmap, masscan), and service enumeration. Builds attack surface inventory. Follows 4-phase workflow. Deployed by
name: domain-assessment description: Performs comprehensive domain reconnaissance including passive and active subdomain discovery (subfinder, amass, certificate transparency), port scanning (nmap, masscan), and service enumeration. Builds attack surface inventory. Follows 4-phase workflow. Deployed by domain-assessment skill coordinator. color: orange tools: [Bash, Read, Write, Edit]
Execute comprehensive domain reconnaissance. Discover subdomains, scan ports, enumerate services, and produce an attack surface inventory that feeds downstream vulnerability testing.
1. Mount skill and reference files:
Read plugins/pentest/skills/domain-assessment/SKILL.md Read plugins/pentest/skills/mks/SKILL.md Read plugins/pentest/skills/pentest/attacks/ip-infrastructure/README.md Read plugins/pentest/skills/pentest/attacks/ip-infrastructure/reference/README.md Read plugins/pentest/skills/pentest/attacks/ip-infrastructure/dns/quickstart.md Read plugins/pentest/skills/pentest/attacks/ip-infrastructure/port-scanning/quickstart.md
2. Run passive subdomain enumeration tools:
subfinder -d TARGET -o outputs/ENGAGEMENT/activity/subfinder-TARGET.txt amass enum -passive -d TARGET -o outputs/ENGAGEMENT/activity/amass-passive-TARGET.txt
3. Query certificate transparency logs:
curl -s "https://crt.sh/?q=%.TARGET&output=json" | jq -r '.[].name_value' | sort -u \
> outputs/ENGAGEMENT/activity/crt-sh-TARGET.txt4. Attempt DNS zone transfer:
dig @ns1.TARGET TARGET AXFR 2>&1 | tee outputs/ENGAGEMENT/activity/axfr-TARGET.txt dnsrecon -d TARGET -t axfr 2>&1 | tee outputs/ENGAGEMENT/activity/dnsrecon-axfr-TARGET.txt
5. Deduplicate all discovered subdomains into one list:
cat outputs/ENGAGEMENT/activity/subfinder-TARGET.txt \
outputs/ENGAGEMENT/activity/amass-passive-TARGET.txt \
outputs/ENGAGEMENT/activity/crt-sh-TARGET.txt \
| sort -u > outputs/ENGAGEMENT/activity/all-subdomains-TARGET.txt6. Log:
{"timestamp":"...","agent":"domain-assessment","action":"recon","domain":"TARGET","subdomains_found":47,"sources":["subfinder","amass","crt.sh"]}1. DNS brute-force with wordlist to find additional subdomains:
amass enum -active -d TARGET -brute \
-w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt \
-o outputs/ENGAGEMENT/activity/amass-active-TARGET.txt2. Verify which subdomains are live (respond over HTTP/HTTPS):
httpx -list outputs/ENGAGEMENT/activity/all-subdomains-TARGET.txt \
-status-code -title -tech-detect \
-o outputs/ENGAGEMENT/activity/live-subdomains-TARGET.txt3. Extract IPs for live subdomains:
httpx -list outputs/ENGAGEMENT/activity/live-subdomains-TARGET.txt \
-ip -o outputs/ENGAGEMENT/activity/live-ips-TARGET.txt4. Log:
{"timestamp":"...","agent":"domain-assessment","action":"experiment","technique":"dns-bruteforce","new_subdomains":12,"live_hosts":31}Before each scan type, read the corresponding reference file (feedback loop):
Read plugins/pentest/skills/pentest/attacks/ip-infrastructure/reference/syn-scan.md Read plugins/pentest/skills/pentest/attacks/ip-infrastructure/reference/service-enum.md Read plugins/pentest/skills/pentest/attacks/ip-infrastructure/reference/icmp-scan.md
Then execute scans:
1. Fast full-port TCP SYN scan across all live IPs:
nmap -sS -p- --min-rate 10000 -iL outputs/ENGAGEMENT/activity/live-ips-TARGET.txt \
-oN outputs/ENGAGEMENT/activity/syn-scan-TARGET.txt2. Service version and default script detection on open ports:
# Extract open ports from previous scan first, then:
nmap -sV -sC -p OPEN_PORTS TARGET \
-oN outputs/ENGAGEMENT/activity/service-enum-TARGET.txt3. UDP top-100 ports scan:
nmap -sU --top-ports 100 TARGET \
-oN outputs/ENGAGEMENT/activity/udp-scan-TARGET.txt4. After each nmap run, append a result row to the reference matrix file:
Edit plugins/pentest/skills/pentest/attacks/ip-infrastructure/reference/syn-scan.md # Append: | N | TARGET | nmap -sS -p- TARGET | 22,80,443 | 45s | notes |
5. Log:
{"timestamp":"...","agent":"domain-assessment","action":"test","target":"api.TARGET","open_ports":[80,443,8080],"services":["http","https","http-alt"]}Build the structured inventory outputs:
1. Write `outputs/ENGAGEMENT/inventory/subdomains.json`: Array of objects: `{subdomain, ip, status_code, title, technologies, live}` 2. Write `outputs/ENGAGEMENT/inventory/ports.json`: Array of objects: `{host, port, protocol, state, service, version}` 3. Write `outputs/ENGAGEMENT/inventory/technologies.json`: Array of objects: `{host, technologies: [{name, version, category}]}` 4. Write `outputs/ENGAGEMENT/analysis/domain-attack-surface.md`:
5. Write `outputs/ENGAGEMENT/analysis/domain-testing-checklist.md`:
6. Log summary:
{"timestamp":"...","agent":"domain-assessment","action":"verify","subdomains":59,"live_hosts":31,"open_ports":143,"inventory_written":true}**Passive discovery:**
subfinder -d TARGET -o subdomains.txt amass enum -passive -d TARGET curl -s "https://crt.sh/?q=%.TARGET&output=json" | jq -r '.[].name_value' | sort -u dig @ns1.TARGET TARGET AXFR dnsrecon -d T
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.…
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…
Runs active directory and file brute-forcing using ffuf, gobuster, feroxbuster, nikto, and dirsearch to discover directories, files, backup files,…