/cybersec:web-pentestfrom cybersec
Run a full web application penetration test — recon, authentication, session, injection, access control, business logic — mapped to OWASP WSTG. Use to structure an authorized engagement end to end.
Ships in cybersec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Do not use against web applications without written authorization, against production systems during peak traffic hours without explicit approval, or for denial-of-service testing of web infrastructure.
Map the entire attack surface of the web application:
X-Powered-By, Server), cookies (JSESSIONID = Java, PHPSESSID = PHP, ASP.NET_SessionId = .NET), and page extensionsffuf -w /usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt -u https://target.com/FUZZ -mc 200,301,302,403LinkFinder.pyTest authentication mechanisms for weaknesses:
Verify that access controls are properly enforced:
X-HTTP-Method-Override: DELETE)/api/users/123/../456/profile) to bypass path-based authorization checksTest all input points for injection vulnerabilities:
' OR 1=1--, ' UNION SELECT NULL,NULL--, and time-based blind payloads ('; WAITFOR DELAY '0:0:5'--) into every parameter. Use sqlmap for automated detection and exploitation of confirmed injection points.<script>alert(document.domain)</script>, "><img src=x onerror=alert(1)>, and event handlers. Test in all contexts: HTML body, attributes, JavaScript, and URLs.http://169.254.169.254/latest/meta-data/, http://127.0.0.1:6379/) in parameters that fetch external resources (webhooks, image URLs, import functions);, |, &&, `) followed by commands (id, whoami, ping -c 3 collaborator.net) in parameters processed by the server<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]>) in XML upload or API endpoints{{7*7}}, ${7*7}, <%= 7*7 %> in parameters rendered by template enginesEvaluate the security of session handling:
Secure, HttpOnly, and SameSite flags are set on session cookies. Missing HttpOnly enables XSS-based session theft. Missing SameSite enables CSRF.Test application-specific logic flaws that automated scanners cannot detect:
Compile all findings into a structured report:
| Term | Definition |
|---|---|
| OWASP WSTG | The Web Security Testing Guide; a comprehensive open-source guide to testing web application security organized by test category (authentication, authorization, input validation, etc.) |
| IDOR | Insecure Direct Object Reference; a vulnerability where the application exposes internal object identifiers and fails to verify the requesting user is authorized to access that object |
| CSRF | Cross-Site Request Forgery; an attack that forces an authenticated user's browser to send a forged request to a vulnerable web application |
| Session Fixation | An attack where the attacker sets a user's session ID to a known value before the user authenticates, then hijacks the session after login |
| Forced Browsing | Attempting to access application resources by directly requesting URLs not linked from the visible application, bypassing intended access controls |
| SSTI | Server-Side Template Injection; injecting template directives into server-side template engines to achieve remote code execution |
Context: A retail company is launching a new e-commerce platform built on Node.js with a React frontend and PostgreSQL database. The application handles credit card payments through Stripe integration and stores customer PII. Testing scope includes the staging environment with full API access.
Approach:
/api/orders/{orderId}) where any authenticated user can view any order by iterating order IDsPitfalls:
## Finding: Insecure Direct Object Reference in Order API
**ID**: WEB-003
**Severity**: High (CVSS 7.5)
**Affected URL**: GET /api/v1/orders/{orderId}
**Parameter**: orderId (path parameter)
**Description**:
The order retrieval endpoint does not verify that the authenticated user owns
the requested order. Any authenticated user can access any order's details
including customer name, shipping address, email, phone number, and order
items by incrementing the orderId path parameter.
**Reproduction Steps**:
1. Authenticate as user A ([email protected])
2. Note user A's order ID: 10451
3. Send GET /api/v1/orders/10452 with user A's session token
4. Observe that user B's order details are returned with full PII
**HTTP Request**:
GET /api/v1/orders/10452 HTTP/1.1
Host: staging.example.com
Authorization: Bearer eyJhbGc....[User A's token]
**HTTP Response** (truncated):
HTTP/1.1 200 OK
{"orderId":10452,"customerName":"Jane Smith","email":"jane@...","address":"123 Main St"}
**Impact**:
An attacker can enumerate all customer orders and extract PII (names, emails,
addresses, phone numbers) for an estimated 25,000 customers.
**Remediation**:
Add authorization middleware that verifies the authenticated user's ID matches
the order's userId field before returning order data. Implement UUIDs instead
of sequential integers for order identifiers to prevent enumeration.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ferr079/claude-code-cybersec-skills --plugin cybersec31 skills in this plugin
/aide-fimSet up file integrity monitoring with AIDE: database initialization, rule tuning, scheduled checks, change review. Use when adding FIM to a Linux host./binary-exploitAnalyze ELF binaries for memory corruption — protections, fuzzing, ROP chains, exploit development. Use on an authorized target or a CTF binary./bloodhoundMap Active Directory attack paths with BloodHound — collection, Cypher queries, shortest path to Domain Admin. Use during an authorized AD assessment./cis-linux-hardeningHarden a Linux endpoint against the CIS Benchmark: audit, remediation and verification of the controls that matter. Use when securing a Debian, Ubuntu or RHEL host./credential-dump-detectDetect credential dumping: LSASS access, SAM and registry hive theft, and the telemetry that catches them. Use when hunting or building detections for credential theft./deserializationExploit insecure deserialization in Java, PHP, Python and .NET, including gadget-chain selection with ysoserial. Use during an authorized test when the target processes serialized data.