WooYun Legacy Vulnerability Analysis Expert
Introduction
The WooYun Legacy Vulnerability Analysis Expert is a specialized skill for Claude Code designed to transform your AI assistant into a high-tier security researcher. Built upon a massive archive of 88,636 historical vulnerability cases (2010-2016) from the legendary WooYun platform, this skill provides a structured methodology for discovering and exploiting security flaws.
This system goes beyond simple pattern matching by offering a Meta-thinking Framework that helps developers and security professionals understand the “why” behind vulnerabilities. Whether you are performing a security audit, conducting a penetration test, or reviewing source code, this tool provides real-world context, bypass techniques, and remediation strategies across 15 different categories.
Key Features:
- Massive Knowledge Base: Access to 86MB of structured data encompassing nearly 90,000 real-world attack scenarios.
- Comprehensive Coverage: Deep insights into SQL Injection, XSS, Command Execution, Logic Flaws, File Uploads, Unauthorized Access, and more.
- Methodological Approach: Employs the “Vulnerability Essence Formula” to analyze data flows, trust boundaries, and developer assumptions.
- Advanced Bypass Techniques: Includes specialized payloads and techniques for bypassing WAFs and filters.
Installation
To integrate the WooYun Legacy expert system into your Claude Code environment, you can configure it as a local skill.
-
Clone the repository:
Terminal window git clone https://github.com/tanweai/wooyun-legacy.git -
Add to Claude Code: Follow the standard Claude Code skill configuration to point to the
SKILL.mdfile within the repository. -
Permissions: Ensure Claude has permission to use
Read,Grep,Glob, andBashtools to navigate the extensive knowledge base.
Usage
Once activated, the skill is triggered whenever you perform tasks related to vulnerability hunting, security auditing, or code analysis. You can interact with it using natural language prompts.
Example Prompts:
- “Analyze this PHP function for potential SQL injection vulnerabilities using the WooYun meta-thinking framework.”
- “I’m testing a file upload feature. Based on WooYun’s historical cases, what are the most common bypasses for image-only filters?”
- “Show me the testing flow for identifying horizontal privilege escalation in a REST API.”
- “Search the knowledge base for common misconfigurations in Redis that lead to unauthorized access.”
Core Methodology: The Meta-thinking Framework
The skill operates on a core formula to identify security gaps:
Vulnerability = Expected Behavior - Actual Behavior
It guides the analysis through five critical questions:
- Input Source: Where does the data originate? (GET, POST, Headers, etc.)
- Data Flow: How does the data travel through validation, processing, and storage?
- Trust Boundaries: Where is the data implicitly trusted? (Frontend vs. Backend)
- Processing Logic: Is the data filtered, escaped, or executed?
- Output Point: Where does the processed data end up? (HTML, SQL Query, Shell Command)
Knowledge Base Index
The system provides detailed documentation for various vulnerability types:
| Category | Description | Reference File |
|---|---|---|
| SQL Injection | Database boundary confusion and bypasses | knowledge/sql-injection.md |
| XSS | Trust boundary breaches in the browser | knowledge/xss.md |
| RCE | Transitioning from data to system instructions | knowledge/command-execution.md |
| Logic Flaws | Deviations in business assumptions and workflows | knowledge/logic-flaws.md |
| Unauthorized Access | Missing access controls and IDOR patterns | knowledge/unauthorized-access.md |
| File Upload | Executing attacker-controlled code on the server | knowledge/file-upload.md |
Note: The
categories/directory contains the full raw data of 88,636 vulnerabilities, allowing for deep-dive searches into specific historical exploits and CMS-specific bugs.
Defensive Perspective
While primarily used for discovery, the skill provides robust Remediation Guidance for every vulnerability type, including:
- Parameterized Queries for SQLi prevention.
- Context-aware Output Encoding for XSS mitigation.
- Whitelisting for file uploads and command execution.
- Server-side Validation for business logic.