# wooyun-legacy

wooyun-legacy guides web vulnerability reviews using attack patterns from the WooYun archive. Built for authorized penetration testing, source code audits, and flaw research.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 540 repo stars
- Author: tanweai / wooyun-legacy contributors
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/trailofbits/skills-curated/tree/HEAD/plugins/wooyun-legacy/skills/wooyun-legacy/SKILL.md
- Updated: 2026-07-14
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/wooyun-legacy

## What it does

The skill outfits the agent with testing methodology derived from 88,636 real vulnerability reports submitted to the WooYun portal between 2010 and 2016. It maps out application surfaces by tracing incoming inputs, trust boundaries, processing steps, and terminal output sinks.

Coverage spans common web flaws including SQL injection, cross-site scripting, OS command execution, and file upload validation bypasses. The agent relies on `Read`, `Grep`, `Glob`, and `Bash` to examine repositories for unsafe patterns. It deliberately counters bad assumptions, such as treating WAF rules or front-end checks as complete protection.

All workflows require explicit written consent against target assets. The methodology targets web applications directly, so it will fail to help with cloud IAM reviews, network hardware testing, or compiled binary reverse engineering.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add trailofbits/skills-curated
```
In the agent chat (not a shell):
```text
/plugin install wooyun-legacy@skills-curated
```
This installs the whole wooyun-legacy plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills-curated --skill wooyun-legacy -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/wooyun-legacy/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/wooyun-legacy/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills-curated --skill wooyun-legacy -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/wooyun-legacy/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills-curated --skill wooyun-legacy -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/wooyun-legacy/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install trailofbits/skills-curated plugins/wooyun-legacy/skills/wooyun-legacy
```

2. **Manually: put the files in place**
- File: `.github/skills/wooyun-legacy/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills-curated --skill wooyun-legacy -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/trailofbits/skills-curated --path plugins/wooyun-legacy/skills/wooyun-legacy
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/wooyun-legacy/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/trailofbits/skills-curated/tree/HEAD/plugins/wooyun-legacy/skills/wooyun-legacy/SKILL.md

## When to use it
- trace untrusted parameters to spot hidden SQL injection sinks
- audit file upload endpoints against extension and content-type bypasses
- inspect template rendering routines for unescaped XSS reflections
- build structured penetration testing checklists for web APIs

## Example prompts
- Review the authentication flow in `auth.py` for business logic bypasses using wooyun-legacy methodology
- Analyze search parameters across the codebase for SQL injection opportunities
- Generate a security review checklist for our file upload handler

## Similar
- [injection-checking](https://affpapa.org/en/nevibecode/skills/injection-checking.md) — skill · 4100 installs
- [waf-bypass-techniques](https://affpapa.org/en/nevibecode/skills/waf-bypass-techniques.md) — skill · 4200 installs
- [fix-security-vulnerabilities-with-strix](https://affpapa.org/en/nevibecode/skills/fix-security-vulnerabilities-with-strix.md) — skill · 20300 installs
- [security-fuzzing](https://affpapa.org/en/nevibecode/skills/security-fuzzing.md) — skill · 662 installs
- [shannon](https://affpapa.org/en/nevibecode/skills/shannon.md) — skill · 3000 installs
- [input-validation-sanitization-auditor](https://affpapa.org/en/nevibecode/skills/input-validation-sanitization-auditor.md) — skill · 292 installs

From the same set: [trailofbits/skills-curated](https://affpapa.org/en/nevibecode/by/trailofbits/skills-curated.md) — 51 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
