web-pentest
Perform black-box / grey-box web application penetration testing on an authorized target — auth bypass, IDOR, session handling, business-logic flaws…
от briiirussell★ 541 звезда на GitHub
Установить web-pentest в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Web Pentest — Live Web Application Testing
Structured black-box / grey-box penetration testing of a live web application against an authorized target. Pairs with recon (which maps the surface) and complements owasp-audit (which reads the source). Use recon first; use this once you have a target list and credentials (or guest access).
Authorization Check
Before touching the target, confirm:
- Written authorization for this specific application (pentest engagement, bug bounty in-scope domain, CTF/lab, your own asset)
- The application is currently in scope and live (not deprecated, not under maintenance freeze)
- Test credentials provided (if grey-box), or guest access confirmed (if black-box). Credentials stay out of the model prompt (see "Supplying test credentials")
- Out-of-scope items documented — production user data, payment flows, social engineering, DoS
If anything is unclear, ask before proceeding. Never assume authorization.
Methodology
Follows the OWASP Web Security Testing Guide (WSTG) structure. Each phase produces evidence; document everything as you go.
Phase 1: Configuration & deployment
Goal: understand what's running and how it's exposed.
- HTTP headers — pull with
curl -Iandcurl -I -H "Origin: https://evil.com":Server,X-Powered-Byrevealing stack- HSTS, CSP, X-Frame-Options, X-Content-Type-Options presence and values
- CORS —
Access-Control-Allow-Originreflection without an allow-list,Allow-Credentials: truepaired with*
- TLS —
testssl.sh https://targetorsslyze --regular target - Backups / configs exposed —
/.git/,/.env,/backup.sql,/web.config,/server-status,/.aws/credentials - Default admin paths —
/admin,/administrator,/manage,/console,/actuator/,/_debug/,/swagger,/graphql,/.well-known/ - Robots.txt and sitemap.xml — often list non-indexed but accessible endpoints
- Subdomain & host header testing — does the app behave differently when sent
Host: internal.target.com?
Phase 2: Identity management
Goal: understand who can be created, how, and with what privileges.
- Registration — can you self-register? Does the role default to anything other than "user"?
- Username enumeration via differential responses on signup ("email already exists"), login ("user not found" vs "wrong password"), password reset ("we sent an email" vs "no such user")
- Account provisioning — does a verification email arrive? Can it be skipped? Does the reset link expire? Does the reset link tie to the original session?
- Account lockout vs rate-limit — does 100 failed logins lock the account (denial of service vector) or just slow down (good)?
Phase 3: Authentication
Goal: break in as someone you shouldn't be.
- Login form — is HTTPS enforced? Are credentials sent in URL params (logged everywhere)?
- Password policy — minimum length / complexity / breach-database check (haveibeenpwned API)
- MFA — required for admin / privileged users? Bypass paths (recovery code, "remember this device" cookie persistence, downgrade to SMS)?
- Session token — entropy looks high? Cookie has
HttpOnly,Secure,SameSite=LaxorStrict? - Session fixation — does the session ID rotate on login? Pre-auth session ID still valid post-auth?
- "Remember me" — long-lived token in a separate cookie; revocable on logout from all devices?
- Logout — does it actually invalidate the session server-side? (Test by replaying the cookie post-logout.)
- Password reset — token format, expiration, single-use, host-header poisoning (
Host: evil.comin the reset email link) - OAuth flow — PKCE used?
stateparameter validated?redirect_uristrictly matched (not prefix-matched)?
Phase 4: Authorization (the highest-yield phase)
Goal: access things you shouldn't.
Horizontal privilege escalation (IDOR / BOLA):
- Sign in as user A. Get a resource that belongs to user A. Note the ID.
- Sign in as user B. Try to access user A's resource by ID — direct fetch, in the body of an update, as a foreign key in another operation.
- Watch for response codes — 200 (bad), 403 (good), 404 (good if all unauthorized requests return 404; bad if your own 404 looks different)
- Try every endpoint that takes an ID —
GET /users/:id,POST /users/:id/...,DELETE /users/:id,GET /api/users/:id/orders, GraphQLuser(id: ...)
Vertical privilege escalation (BFLA):
- Identify admin-only routes (from
/admin/*exploration, from JS bundle strings, from Burp's site map) - Hit them as a regular user. 403 (good), 200 (very bad)
- Check for verb tampering —
DELETE /admin/users/xblocked, butPOST /admin/users/x/deleteworks - Mass assignment — registration endpoint that accepts
{ role: "admin" }because it doesUser.create(req.body)without filtering
Tenant isolation (multi-tenant SaaS):
- Create org A with user U1. Create org B with user U2.
- As U1, try every URL that includes the org/tenant ID and swap it to org B's. Expec
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Grep - 03
Glob - 04
WebSearch - 05
WebFetch
Вложенные файлы
- references/findings-format.md
- references/findings.schema.json
- references/severity-calibration.md
- references/to-sarif.mjs
- references/validate-findings.mjs
- references/verification.md
FAQ
Что делает скилл web-pentest?
Perform black-box / grey-box web application penetration testing on an authorized target — auth bypass, IDOR, session handling, business-logic flaws, parameter tampering, Burp Suite / OWASP ZAP workflows. Use when the user mentions 'web pentest,' 'web application penetration test,' 'pentesting,' 'bug bounty,' 'Burp Suite,' 'ZAP,' 'OWASP testing,' 'authentication testing,' 'session testing,' 'authorization testing,' 'web vulnerability testing,' 'redact the Burp transcript,' 'test accounts without pasting passwords into the prompt,' or has explicit authorization to test a live web application.
Как установить скилл web-pentest?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-pentest запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…