Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/DouglasRao/Claude-Pentest-Skillsnpx agentmods add skills/douglasrao/claude-pentest-skills/web-exploitationWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/douglasrao/claude-pentest-skills/web-exploitation)<a href="https://agentmods.dev/skills/douglasrao/claude-pentest-skills/web-exploitation"><img src="https://agentmods.dev/badge/skills/douglasrao/claude-pentest-skills/web-exploitation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/douglasrao/claude-pentest-skills/web-exploitation"><img src="https://agentmods.dev/badge/skills/douglasrao/claude-pentest-skills/web-exploitation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00124 | $0.07667 |
| Opus 5 | $0.00062 | $0.03834 |
| Sonnet 5 | $0.00025 | $0.01533 |
| Haiku 4.5 | $0.00012 | $0.00767 |
Grade E, and why
web-exploitation scanned grade E with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Harvests environment variableshighData exfiltration
Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.
[For SQLi → dump db schema, extract credentials if authorized] Cloud metadata endpointhighServer-side request forgery
One request to 169.254.169.254 can return temporary IAM credentials.
curl -sk "https://target.com/api/fetch?url=http://169.254.169.254/latest/meta-data/" How it starts
The opening of the file, as written. The whole thing — 749 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web Exploitation — Offensive Kill Chain
Architecture
scripts/
├── common_web.sh # Shared functions (logging, has_tool, phase_done, emit_summary)
└── web_exploit.sh # PHASES 1-8: injection, XSS, file attacks, auth, logic, RCE
Each script:
- Accepts
<TARGET_URL> <OUT> [RECON_OUT]as args RECON_OUTis the output directory from a prior web-recon run (optional but preferred)- Uses checkpoints (
.phase_X.done) to avoid repeating completed phases - Emits a JSON summary via
---EXPLOIT_SUMMARY_JSON---markers for Claude to parse
Initial Setup — Variables and Context
TARGET="https://target.com" # base URL (with scheme)
DOMAIN="target.com" # bare domain
# If web-recon was run previously, point to its output:
RECON_OUT="$(pwd)/target" # adjust to actual path; leave empty if no prior recon
PROJECT=$(echo "$DOMAIN" \
| sed -E 's/\.(com\.br|org\.br|net\.br|gov\.br|com|org|net|io|br|co\.uk|co|uk|fr|de|jp|au|us|ca)$//' \
| sed 's/\./-/g' | tr '[:upper:]' '[:lower:]')
OUT="$(pwd)/${PROJECT}-exploit"
SCRIPTS="$HOME/.claude/skills/web-exploitation/scripts"
mkdir -p "$OUT"/{sqli,xss,lfi,ssrf,xxe,upload,auth,logic,rce,findings}
Create progress tasks with TaskCreate:
"PHASE 1 — Recon Triage (load prior recon or gather baseline)"
"PHASE 2 — Injection Attacks (SQLi, NoSQLi, SSTI, LDAP)"
"PHASE 3 — XSS (Reflected, Stored, DOM)"
"PHASE 4 — File & Path Attacks (LFI, RFI, Upload Bypass)"
"PHASE 5 — Server-Side Attacks (SSRF, XXE, XSLT)"
"PHASE 6 — Authentication & Session Attacks (JWT, OAuth, Broken Auth)"
"PHASE 7 — Logic & Client-Side Attacks (IDOR, CSRF, Race Condition, Deserialization)"
"PHASE 8 — RCE Confirmation & Report"
Mark each task in_progress when starting, completed when done.
Tool Priority
1. CLI — always first
sqlmap — automated SQL injection (use -m for URL list from recon)
dalfox — XSS detection and exploitation
curl — manual requests (always available as fallback)
ffuf — parameter fuzzing, content discovery for exploitation
gf — filter URLs by vulnerability pattern (sqli, xss, lfi, ssrf, redirect)
qsreplace — inject payloads into URL parameters
httpx (Go) — probe response codes, headers for confirmation
nuclei — targeted exploitation templates
jwt_tool — JWT attacks (algorithm confusion, key injection, weak secret)
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 749 lines · 124 tokens per session scan F 495926b81924
web-exploitation is a skill published in the GitHub repository DouglasRao/Claude-Pentest-Skills (11 stars, last pushed 5mo ago), licensed MIT. It adds 124 tokens to every session and 7,667 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it E with 2 findings (harvests environment variables, cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
implementing-runtime-application-self-protection
Deploy Runtime Application Self-Protection (RASP) agents to detect and block attacks from within application runtime, covering OpenRASP integration, attack pattern detection, and security policy configuration for Java and Python web applications.
dotnet-auth-audit
A security-audit workflow for authentication and authorization in .NET applications. Authentication checks who a user is; authorization checks what that user is allowed to do.
xmlrpc-exploitation
Exploit XMLRPC multicall, pingback for brute force and SSRF.
hunt-prototype-pollution
Hunt client-side and server-side prototype pollution for XSS, auth bypass, and RCE.
exploiting-api-injection-vulnerabilities
Tests APIs for injection vulnerabilities including SQL injection, NoSQL injection, OS command injection, LDAP injection, and Server-Side Request Forgery (SSRF) through API parameters, headers, and request bodies. The tester crafts malicious payloads targeting different backend technologies and injection contexts to…
Web Application Security Testing
OWASP Top 10 testing, injection vulnerability detection, API security assessment, authentication testing, and web vulnerability reporting for authorized assessments.