Skip to content

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.

  1. Clone the repository:

    Terminal window
    git clone https://github.com/tanweai/wooyun-legacy.git
  2. Add to Claude Code: Follow the standard Claude Code skill configuration to point to the SKILL.md file within the repository.

  3. Permissions: Ensure Claude has permission to use Read, Grep, Glob, and Bash tools 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:

  1. Input Source: Where does the data originate? (GET, POST, Headers, etc.)
  2. Data Flow: How does the data travel through validation, processing, and storage?
  3. Trust Boundaries: Where is the data implicitly trusted? (Frontend vs. Backend)
  4. Processing Logic: Is the data filtered, escaped, or executed?
  5. 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:

CategoryDescriptionReference File
SQL InjectionDatabase boundary confusion and bypassesknowledge/sql-injection.md
XSSTrust boundary breaches in the browserknowledge/xss.md
RCETransitioning from data to system instructionsknowledge/command-execution.md
Logic FlawsDeviations in business assumptions and workflowsknowledge/logic-flaws.md
Unauthorized AccessMissing access controls and IDOR patternsknowledge/unauthorized-access.md
File UploadExecuting attacker-controlled code on the serverknowledge/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.