MCPInstall

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,' 'business logic testing,' 'web vulnerability testing,' or has explicit authorization to test a live web application.

Installs
553
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/briiirussell/cybersecurity-skills --skill web-pentest
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads web-pentest automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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:

  1. Written authorization for this specific application (pentest engagement, bug bounty in-scope domain, CTF/lab, your own asset)
  2. The application is currently in scope and live (not deprecated, not under maintenance freeze)
  3. Test credentials provided (if grey-box), or guest access confirmed (if black-box)
  4. 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 -I and curl -I -H "Origin: https://evil.com":
    • Server, X-Powered-By revealing stack
    • HSTS, CSP, X-Frame-Options, X-Content-Type-Options presence and values
    • CORS — Access-Control-Allow-Origin reflection without an allow-list, Allow-Credentials: true paired with *
  • TLS — testssl.sh https://target or sslyze --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=Lax or Strict?
  • 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.com in the reset email link)
  • OAuth flow — PKCE used? state parameter validated? redirect_uri strictly 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, GraphQL user(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/x blocked, but POST /admin/users/x/delete works
  • Mass assignment — registration endpoint that accepts { role: "admin" } because it does User.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. Expect 403 / 404 on every one. A 200 is a tenancy break.

Phase 5: Session management

  • Session token in URL? Anywhere logged → access logs leak it
  • Concurrent sessions allowed? Should be configurable / loggable
  • Token after password change — invalidated everywhere? (Test by changing password in browser 1 and replaying browser 2's cookie.)
  • CSRF protection — synchronizer token, SameSite cookie, custom request header? Test by forging a request from a different origin

Phase 6: Input validation

For each input — URL params, query strings, headers, JSON bodies, file uploads:

  • XSS — reflected (in error pages, search results, <title> injection), stored (in profile fields, comments, file names), DOM (look at JS sinks like innerHTML, eval, location)
    • Payload bank — see owasp-audit Verify Fixes XSS payloads
  • SQLi — ' OR 1=1 --, time-based blind ('; SELECT pg_sleep(5)--), error-based, UNION-based
    • Modern stacks usually use parameterized queries; look for the one endpoint that didn't get the memo
  • Command injection — anywhere file names, image processing, PDF generation, or shell-out happens
  • SSRF — webhook URLs, image-fetch, PDF render — see owasp-audit A10 bypass matrix
  • XXE — XML inputs in SOAP / SVG-upload / DOCX-import paths
  • Server-side template injection — {{7*7}} in a name field renders 49? You're in
  • Open redirect — see owasp-audit A01 with control-byte rejection
  • Insecure deserialization — base64-decode any opaque tokens and look for serialized format markers (O: for PHP, \xac\xed for Java, cos\nsystem for Python pickle)

Phase 7: Error handling

  • Stack traces visible in 500 responses
  • Database errors leak schema (table names, column names)
  • File paths leak server filesystem layout
  • Different errors for valid vs invalid usernames (enumeration)
  • /health / /status / /metrics / /actuator/* exposed

Phase 8: Business logic

The category most scanners can't touch. Look at what the app is supposed to do and ask "what if I do that, but wrong?"

  • Race conditions — submit the same coupon code 100× concurrently; can you redeem it more than once?
  • Negative numbers — can you transfer -100 and credit yourself?
  • Out-of-order workflows — can you complete step 4 before step 2?
  • Quota bypass — free tier limits enforced server-side or just in the UI?
  • Workflow approval — can you approve your own request by tampering with approver_id?
  • File upload — can you upload an .html and have the server serve it with Content-Type: text/html?

Phase 9: Client-side

  • JS bundle review — view-source: / DevTools, look for inline secrets, API keys, internal endpoint hints
  • CSP — try to inject a <script> and see if it's blocked
  • Browser storage — what's in localStorage / sessionStorage / IndexedDB? Tokens? PII?
  • Cross-origin — can postMessage from your origin reach the app's window without origin check?

Tooling

  • Burp Suite Community (free) — proxy, repeater, intruder (rate-limited), decoder
  • Burp Suite Pro — scanner, faster intruder, session handling rules
  • OWASP ZAP — free alternative, active scanner, fuzzer
  • ffuf / feroxbuster / gobuster — directory and parameter brute-forcing
  • sqlmap — SQLi exploitation (use carefully; can be noisy and destructive — --risk=1 --level=1 to start)
  • dalfox / XSStrike — XSS scanners (high false-positive; use as a starting point)
  • nuclei — template-driven vulnerability scanner; the templates themselves are excellent reading
  • curl / httpie — repeatable manual requests; everything you find should reduce to a curl command

Output Format

# Web Application Pentest Report
## Target: [target name and scope]
## Engagement window: [start - end]
## Methodology: OWASP WSTG
## Date: [date]

### Executive summary
[2-3 paragraphs — overall posture, top 3 critical findings, business impact]

### Findings
| ID | Severity | OWASP | CWE | Title |
|----|----------|-------|-----|-------|

### Per-finding detail
#### [SEVERITY] [Title]
**Endpoint:** `METHOD /path`
**OWASP / CWE:** WSTG-XXX / CWE-XXX

**Description:** [what + why it matters]

**Proof of concept:**
[curl / Burp request showing the issue, minimal viable repro]

**Observed response:**
[response excerpt showing the issue]

**Remediation:**
[concrete fix + reference to owasp-audit or api-audit if applicable]

**Risk rating:** [Critical / High / Medium / Low / Info — with rationale]

**Verification:** [what to re-test after fix]

### Out-of-scope / not tested
[Anything skipped, with reason]

### Recommendations
[Prioritized 30/60/90 day fixes]

Boundaries

  • Stay strictly within the authorized scope — never test adjacent systems, subdomains, or third-party services without explicit confirmation
  • Rate-limit your own testing — Burp Intruder at 100 req/s for hours is indistinguishable from a DoS attack
  • Never modify or destroy real user data — test on test accounts you own, or test data you created
  • If you find evidence of active compromise (someone else's webshell, exfiltration in progress), STOP testing and notify the user immediately
  • Refuse requests to test systems without authorization
  • Refuse to weaponize findings — proof-of-concept is the minimum viable demonstration, not a working exploit kit
  • For DoS / availability testing, get explicit written approval naming the maintenance window
  • For social engineering / phishing tests, scope must explicitly name this — it is not "in" pentest scope by default

References

  • OWASP Web Security Testing Guide (WSTG) — canonical methodology
  • OWASP Application Security Verification Standard (ASVS) — checklist version
  • PTES (Penetration Testing Execution Standard)
  • Bug Bounty Methodology (Jason Haddix / TBHM)
  • PortSwigger Web Security Academy — free training labs
  • HackTricks (book.hacktricks.xyz) — technique reference (verify against fresh sources; HackTricks aggregates community knowledge of varying quality)

FAQ

What does the web-pentest skill do?

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,' 'business logic testing,' 'web vulnerability testing,' or has explicit authorization to test a live web application.

How do I install web-pentest?

Run npx skills add https://github.com/briiirussell/cybersecurity-skills --skill web-pentest in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/web-pentest/ (personal) or .claude/skills/web-pentest/ (project).

Which AI agents can use web-pentest?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is web-pentest safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains web-pentest?

It is published by briiirussell in briiirussell/cybersecurity-skills. It has 553 recorded installs.

More from briiirussell/cybersecurity-skills

View all →

owasp-audit

briiirussell/cybersecurity-skills

Audit application source code against the OWASP Top 10 (2021) vulnerability categories — broken access control, cryptographic failures, injection, insecure design, security misconfiguration, vulnerable components, authentication failures, data integrity, logging failures, SSRF. Use when the user mentions 'OWASP,' 'OWASP Top 10,' 'security audit,' 'security review,' 'secure code review,' 'code security review,' 'vulnerability audit,' 'find vulnerabilities,' 'appsec review,' 'application security audit,' 'check for security issues,' 'broken access control,' 'IDOR,' 'SQL injection,' 'XSS,' 'SSRF,' or wants to check their codebase for common security weaknesses.

Security599 installs

api-audit

briiirussell/cybersecurity-skills

Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023). Use when the user mentions 'API security,' 'API audit,' 'BOLA,' 'broken object level authorization,' 'BFLA,' 'function-level authorization,' 'mass assignment,' 'API rate limiting,' 'GraphQL security,' 'REST security,' 'API authentication,' 'API authorization,' 'excessive data exposure,' or needs to review API endpoints for security weaknesses.

Backend & APIs490 installs

dependency-audit

briiirussell/cybersecurity-skills

Audit project dependencies, frameworks, languages, and dev tools for known vulnerabilities, CVEs, and security anti-patterns. Use when the user mentions 'dependency audit,' 'npm audit,' 'CVE,' 'vulnerable packages,' 'supply chain security,' 'outdated dependencies,' 'known vulnerabilities,' 'security advisory,' 'package security,' 'framework vulnerability,' 'is this package safe,' or needs to check whether their stack has known security issues.

Security478 installs

secrets-audit

briiirussell/cybersecurity-skills

Open the skill to read its SKILL.md instructions.

Security466 installs

threat-modeling

briiirussell/cybersecurity-skills

Open the skill to read its SKILL.md instructions.

Security420 installs

recon

briiirussell/cybersecurity-skills

Open the skill to read its SKILL.md instructions.

411 installs

Popular security skills

View category →

azure-compliance

microsoft/azure-skills

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

OfficialSecurity567K installs

minimal-run-and-audit

lllllllama/rigorpilot-skills

Rigor Run skill for README-first deep learning repo reproduction. Use when the task is specifically to capture or normalize evidence from the selected smoke test or documented inference or evaluation command and write standardized reprooutputs/ files, including patch notes when repository files changed. Do not use for training execution, initial repo intake, generic environment setup, paper lookup, target selection, hidden scientific-meaning changes, or end-to-end orchestration by itself.

Security477.4K installs

seo-audit

coreyhaines31/marketingskills

When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "stuck on page 2," "striking distance keywords," "title tag rewrite," "low CTR," "local SEO," "Google Business Profile," or "map pack." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.

Security238.7K installs

firebase-security-rules-auditor

firebase/agent-skills

Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.

OfficialSecurity139.1K installs

audit

pbakaus/impeccable

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.

Security81.9K installs

competitors

coreyhaines31/marketingskills

When the user wants to create competitor comparison or alternative pages for SEO and buyer-facing use. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'competitor teardown,' 'audit our competitor pages,' 'are our comparison pages out of date,' or 'competitive asset audit.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For auditing existing claims (not researching competitors from scratch, which is competitor-profiling; not technical SEO on these pages, which is seo-audit), use the asset audit here. For internal battle cards and sales-specific competitor docs, see sales-enablement.

Security79.3K installs