wstg-web-pentest

Executes a 12-phase OWASP WSTG-aligned web application penetration test with concrete commands and verification criteria.

1.2k|212|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/uphiago/recon-skills --skill wstg-web-pentest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wstg-web-pentest
Source: https://github.com/uphiago/recon-skills/tree/main/redteam/wstg-web-pentest
Command: npx skills add https://github.com/uphiago/recon-skills --skill wstg-web-pentest

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Web application penetration tests often lack structure, leading to missed vulnerability classes and inconsistent evidence. This Skill provides a complete OWASP WSTG-aligned methodology covering all 12 testing phases, from information gathering through API testing, with concrete commands, expected outputs, pitfalls, and verification criteria for each phase.

Core Features & Use Cases

  • Full WSTG Coverage: Maps every phase to WSTG categories (INFO, CONF, IDNT, ATHN, ATHZ, SESS, INPV, ERRH, CRYP, BUSL, CLNT, APIT) with ready-to-run commands using curl, subfinder, httpx, katana, nuclei, ffuf, and nmap.
  • Finding Classification: Classifies every observation as Signal, Exposed, Vulnerable, or Exploitable to separate leads from confirmed findings.
  • Verification Criteria: Each test includes pitfalls and proof requirements, such as confirming IDOR with two identities or validating SQL injection through actual data extraction.
  • Use Case: Given an authorized scope for example.com, run the phases sequentially to enumerate subdomains, fingerprint frameworks, test authentication and session controls, probe for injection flaws, and produce validated findings for a report.

Quick Start

Run a full WSTG-aligned pentest against the in-scope target example.com, starting with information gathering and proceeding through all 12 phases with evidence saved to the output directory.

Frequently Asked Questions about wstg-web-pentest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a WSTG-aligned web application pentest?

Set the TARGET and OUTPUT_DIR variables, then execute the 12 phases sequentially from information gathering through API testing. Each phase provides concrete commands using tools like subfinder, httpx, katana, and ffuf, with expected outputs and verification criteria.

What tools are required for OWASP WSTG testing?

The methodology requires curl, subfinder, dnsx, httpx, katana, nuclei, nmap, ffuf, jq, python3, openssl, tlsx, and wappalyzer or whatweb. A browser with an intercepting proxy and two test accounts are needed for authenticated and authorization testing.

How do I verify an IDOR vulnerability during authorization testing?

Use two distinct test identities and request User B's objects with User A's credentials. Confirmation requires comparing content, owner fields, or tenant identifiers, not just a 200 status code, to prove cross-account data access.

Does this methodology work for API security testing?

Yes, phase 12 covers API testing under WSTG-APIT, and earlier phases identify API candidates by filtering crawled URLs for patterns like /api/, /graphql, swagger, and openapi. OAuth weaknesses are covered under authorization testing.

What are the limitations of time-based SQL injection detection?

Time-based tests are noisy; a 5-second delay in a normally fast response is a strong signal, but sub-second variance is not. Confirmation requires actual data extraction through error-based, union-based, or blind channels, not just a single error message.

When should I avoid running lockout and default credential tests?

Never test lockout mechanisms or default credentials against production accounts, as they generate authentication failures and can lock out real users. Use dedicated synthetic test accounts to confirm the mechanism exists, then stop.