playbook-webapp

playbook-webapp is a skill for Claude Code, Codex from s0ld13rr/pentestcode. It costs 78 tokens per session (1,088 once invoked), scanned A, original, MIT.

A method and routing guide for testing web applications and HTTP APIs, which are web interfaces used by programs. It lays out the order from discovery and mapping to testing each vulnerability type, proving impact, and reporting.

In plain words
What is it for?
Use it to identify the technology stack, APIs, content, parameters, authentication paths, and client-side endpoints, then choose focused tests for issues such as SQL injection, server-side request forgery, or template injection.
Why use it?
It prevents random testing and points the tester to a more specific guide based on the web surface or behavior found.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to identify the technology stack, APIs, content, parameters, authentication paths, and client-side endpoints, then choose focused tests for issues such as SQL injection, server-side request forgery, or template injection.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s0ld13rr/pentestcode/webapp
About the project

PentestCode is a terminal-based autonomous penetration-testing system in which multiple agents run security tools, interpret results, track engagement state, and choose subsequent attack steps. It is for authorized security assessments and capture-the-flag work that require coordinated scanning, enumeration, exploitation, and evidence tracking. The catalogue skills and instructions support the project's agent-led penetration-testing workflow.

s0ld13rr/pentestcode · 1,278 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add s0ld13rr/pentestcode --skill webapp
Clone the repo
git clone --depth 1 https://github.com/s0ld13rr/pentestcode

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for playbook-webapp

README.md
[![agentmods](https://agentmods.dev/badge/skills/s0ld13rr/pentestcode/webapp/github.svg)](https://agentmods.dev/skills/s0ld13rr/pentestcode/webapp)
Your own site
<a href="https://agentmods.dev/skills/s0ld13rr/pentestcode/webapp"><img src="https://agentmods.dev/badge/skills/s0ld13rr/pentestcode/webapp/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.

agentmods 80×15 button for playbook-webapp

Your own site · 80×15
<a href="https://agentmods.dev/skills/s0ld13rr/pentestcode/webapp"><img src="https://agentmods.dev/badge/skills/s0ld13rr/pentestcode/webapp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.01088
Opus 5.5 $0.00031 $0.00435
Sonnet 5.5 $0.00016 $0.00218
Haiku 4.5 $0.00008 $0.00109

Measured today against content hash 4726b7ab7ace, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

playbook-webapp scanned grade A with 0 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 today.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/playbooks/webapp/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web App Pentest — methodology + skill router

This is the ORDER of operations and the map to the deep skills. Each vuln CLASS has a dedicated web-<class> skill with exact payloads + detect→exploit→PROVE — load the one matching the surface; don't test from this index.

1. Recon + active scan FIRST

Fingerprint stack+version (whatweb/httpx, headers), CMS (wpscan/etc.), APIs (/swagger, /graphql, /.well-known). Then a content-matched nuclei -u <t> pass BEFORE exhaustive dir-fuzz (framework-runtime RCEs don't appear as routes) → nuclei_parse. Version + a known CVE → fetch & vet a public PoC (shared exploitation methodology).

2. Map (hidden surface, AFTER the scan)

ffuf/gobuster (→ gobuster_parse), vhosts (ffuf -H Host:FUZZ), params (arjun), auth endpoints (login/register/reset/OAuth), API routes. Review client-side JS for endpoints/secrets.

3. Test by class → load the matching skill

Signal / surface Load
param → DB query, SQL error/differential web-sqli
input renders in a server template ({{7*7}}) web-ssti
server fetches a URL you control (webhook/proxy/import) web-ssrf
file param / download / ../ reflection web-lfi-traversal
file upload sink web-upload-rce
XML/SOAP/SAML/DOCX/SVG parsing web-xxe
serialized blob (rO0/O:/VIEWSTATE/pickle) web-deserialization
object IDs, roles, JWT, admin funcs web-auth-bypass-idor
known framework+version CVE shared exploitation methodology + searchsploit/nuclei
Also-check (no dedicated skill yet): XSS (dalfox, xss_detect), command injection (;id/$(id)), CSRF, CORS/security-headers, crypto/secrets-in-JS, business-logic/race conditions, prototype pollution (__proto__/constructor), GraphQL introspection abuse, WebSocket hijacking.

2024-2026 web vuln class additions

  • Prototype Pollution (JS): ?__proto__[key]=value in query/body → RCE in Node via require gadget or XSS via client-side merge. Tools: prototype-pollution-scanner, pwnose/gadget chains.
  • GraphQL: Batched query abuse, field suggestions for schema leak, @skip/@include bypass, cost-analysis DoS. graphql-cop / inQL / graphw00f.
  • WebSocket: Missing origin check → CSWSH; unauthenticated ws:// endpoints. Test with wsrecon / wsfuzzer.
  • HTTP/2 Rapid Reset (CVE-2023-44487): Affects all major servers. Check with h2load / nuclei -tags http2. Mitigation: upgrade, limit concurrent streams.
  • HTTP Request Smuggling (CL.TE/TE.CL): smuggler / HTTP Request Smuggler Burp / nuclei -tags smuggling. Modern variants: header injection via Transfer-Encoding ambiguity.
  • Dependency Confusion / Supply Chain: Internal package names in package.json/requirements.txt/pom.xml → squat on public registries. confuser / depcheck / npm audit --registry.
  • SAML/SSO bypass: XML Signature Wrapping (XSW), XPath injection in SAMLResponse. SAMLRaider / saml-mapper.
  • OAuth/OIDC: redirect_uri validation bypass (path traversal, open redirect chain), PKCE downgrade, implicit flow token leak. oauth2-proxy / oidc-recon.

Read the full file on GitHub · 43 lines

Changes

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.

  1. today Changed · +10 lines 4726b7ab7ace
  2. 3mo ago First seen · 33 lines · 78 tokens per session scan A 3ae0659e1511

Subscribe to this mod's changes

playbook-webapp is a skill published in the GitHub repository s0ld13rr/pentestcode (1,278 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 1,088 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

playbook-webapp compared with skills from other repositories

playbook-webapp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
playbook-webapps0ld13rr/pentestcodeSkill1.3ktodayMITA78Claude Code, Codex
lictor-security-checkRaffa-jarrl/Lictor-AISkill194mo agoApache-2.0A135Claude Code
lictor-rotateRaffa-jarrl/Lictor-AISkill194mo agoApache-2.0A80Claude Code
lictor-explainRaffa-jarrl/Lictor-AISkill194mo agoApache-2.0A56Claude Code
openai-patternschandrudp29/skillhubSkill145mo agoMITA31Claude Code, Codex
lictor-fix-itRaffa-jarrl/Lictor-AISkill194mo agoApache-2.0B75Claude Code
hunt-api-misconfigelementalsouls/Claude-BugHunterSkill28kyesterdayMITA207Claude Code