[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JJDQQJE9RZWEN0E3FKB5KF":3,"skill-same:01M6JJDQQJE9RZWEN0E3FKB5KF":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6JJDQQJE9RZWEN0E3FKB5KF","wooyun-legacy",null,"Provides web vulnerability testing methodology distilled from 88,636 real-world cases from the WooYun vulnerability database (2010-2016). Use when performing penetration testing, security audits, code reviews for security flaws, or vulnerability research. Covers SQL injection, XSS, command execution, file upload, path traversal, unauthorized access, information disclosure, and business logic flaws.","zernie\u002Fvigiles","zernie","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1765991?v=4","01M6JJ2Z99JQ4JRCMD45T5VJXZ","01M6JJ2ZDM1H6B9QVRBZFAN009",15,"MIT","https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles\u002Fblob\u002Fmain\u002Ftest\u002Fdogfood\u002Ftrailofbits-skills-curated@6d05be4\u002Fplugins\u002Fwooyun-legacy\u002Fskills\u002Fwooyun-legacy\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"wooyun legacy","Legacy","command","path","reviews","information","penetration","world","Performing Penetration Testing","read","testing","access","Bash","vulnerability","xss","injection","database","code","sql","security","2026-11-10 10:12:30",false,"---\nname: wooyun-legacy\ndescription: >-\n  Provides web vulnerability testing methodology distilled from 88,636\n  real-world cases from the WooYun vulnerability database (2010-2016). Use when\n  performing penetration testing, security audits, code reviews for security\n  flaws, or vulnerability research. Covers SQL injection, XSS, command\n  execution, file upload, path traversal, unauthorized access, information\n  disclosure, and business logic flaws.\nallowed-tools:\n  - Read\n  - Grep\n  - Glob\n  - Bash\n---\n\n# WooYun Vulnerability Analysis Knowledge Base\n\nMethodology and testing patterns extracted from 88,636 real-world\nvulnerability cases reported to the WooYun platform (2010-2016).\n\n---\n\n## When to Use\n\n> All testing described here must be performed only against systems you\n> have written authorization to test.\n\n- Penetration testing web applications\n- Security code review (server-side or client-side)\n- Vulnerability research against web targets you have explicit authorization to test\n- Building security test cases or checklists\n- Assessing web application attack surface\n- Reviewing remediation effectiveness\n- Training or education in authorized security testing contexts\n\n## When NOT to Use\n\n- Network infrastructure testing (firewalls, routers, switches)\n- Mobile application binary analysis\n- Malware analysis or reverse engineering\n- Compliance-only assessments (PCI-DSS, SOC2 checklists without testing)\n- Physical security assessments\n- Social engineering campaigns\n- Cloud infrastructure misconfigurations (IAM, S3 buckets) — these\n  require cloud-specific tooling, not web vuln patterns\n\n## Rationalizations to Reject\n\nThese shortcuts lead to missed findings. Reject them:\n\n- \"The WAF will catch it\" — WAFs are bypass-able; test the application\n  logic, not the middleware\n- \"It's an internal app, so auth doesn't matter\" — internal apps get\n  compromised via SSRF, lateral movement, and credential reuse\n- \"We already use parameterized queries everywhere\" — check for ORM\n  misuse, stored procedures with dynamic SQL, and second-order injection\n- \"The framework handles XSS\" — template engines have raw output modes,\n  JavaScript contexts bypass HTML encoding, and DOM XSS lives\n  entirely client-side\n- \"File uploads are safe because we check the extension\" — extension\n  checks are bypassed via null bytes, double extensions, parser\n  discrepancies, and race conditions\n- \"We validate on the frontend\" — client-side validation is a UX\n  feature, not a security control\n- \"Nobody would guess that URL\" — security through obscurity fails\n  against directory bruteforcing, referrer leaks, and JS source analysis\n- \"Low severity, not worth reporting\" — low-severity findings chain\n  into critical attack paths\n\n---\n\n## Core Mental Model\n\n```\nVulnerability = Expected Behavior - Actual Behavior\n             = Developer Assumptions + Attacker Input -> Unexpected State\n\nAnalysis chain:\n1. Where does data come from?  (Input sources)\n   -> GET\u002FPOST\u002FCookie\u002FHeader\u002FFile\u002FWebSocket\n2. Where does data flow?       (Data path)\n   -> Validation -> Processing -> Storage -> Output\n3. Where is data trusted?      (Trust boundaries)\n   -> Client \u002F Server \u002F Database \u002F OS \u002F External service\n4. How is data processed?      (Processing logic)\n   -> Filter \u002F Escape \u002F Validate \u002F Execute\n5. Where does data end up?     (Output sinks)\n   -> HTML \u002F SQL \u002F Shell \u002F Filesystem \u002F Log \u002F Email\n```\n\n---\n\n## Attack Surface Mapping\n\n```\n              +-------------------------------------------+\n              |         Application Attack Surface         |\n              +-------------------------------------------+\n                                  |\n          +-----------------------+-----------------------+\n          |                       |                       |\n     +----v----+            +-----v-----+           +-----v-----+\n     |  Input  |            | Processing|           |  Output   |\n     +---------+            +-----------+           +-----------+\n     | GET     |            | Input     |           | HTML page |\n     | POST    |    ->      | validation|    ->     | JSON resp |\n     | Cookie  |            | Biz logic |           | File DL   |\n     | Headers |            | DB query  |           | Error msg |\n     | File    |            | File op   |           | Log entry |\n     | Upload  |            | Sys call  |           | Email     |\n     +---------+            +-----------+           +-----------+\n```\n\n---\n\n## SQL Injection\n\n**Cases:** 27,732 | **Reference:** [sql-injection.md]({baseDir}\u002Freferences\u002Fsql-injection.md)\n| **Checklist:** [sql-injection-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fsql-injection-checklist.md)\n\nHigh-risk parameters: `id`, `sort_id`, `username`, `password`, `search`,\n`keyword`, `page`, `order`, `cat_id`\n\nInjection point detection:\n- String terminators: `'  \"  )  ')  \")  --  #  \u002F*`\n- DB fingerprint: `@@version` (MSSQL), `version()` (MySQL),\n  `v$version` (Oracle)\n\nBypass techniques:\n- Whitespace: `\u002F**\u002F  %09  %0a  ()`\n- Keywords: `SeLeCt  sel%00ect  \u002F*!select*\u002F`\n- Equals: `LIKE  REGEXP  BETWEEN  IN`\n- Quotes: `0x` hex, `char()`, `concat()`\n\nCore defense: parameterized queries (PreparedStatement \u002F ORM binding).\n\n---\n\n## Cross-Site Scripting (XSS)\n\n**Cases:** 7,532 | **Reference:** [xss.md]({baseDir}\u002Freferences\u002Fxss.md)\n| **Checklist:** [xss-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fxss-checklist.md)\n\nOutput points: user profile fields (nickname, bio), search reflections,\nfile metadata (filename, alt text), email content (subject, body)\n\nBypass techniques:\n- Tag mutation: `\u003CScRiPt>  \u003Cscript\u002Fx>  \u003Cscript\\n>`\n- Event handlers: `onerror  onload  onmouseover  onfocus`\n- Encoding: HTML entities, JS Unicode, URL encoding\n- Protocol handlers: `javascript:  data:  vbscript:`\n\nCore defense: context-aware output encoding + Content Security Policy.\n\n---\n\n## Command Execution\n\n**Cases:** 6,826 | **Reference:** [command-execution.md]({baseDir}\u002Freferences\u002Fcommand-execution.md)\n| **Checklist:** [command-execution-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fcommand-execution-checklist.md)\n\nEntry points: system command wrappers (ping, traceroute, nslookup),\nfile operations (compress, decompress, image processing), code eval\n(`eval`, `assert`, `preg_replace(\u002Fe)`), framework vulnerabilities\n(Struts2, WebLogic, JBoss)\n\nCommand chaining:\n- Linux: `;  |  ||  &&  \\`  $()`\n- Windows: `&  |  ||  &&`\n\nBypass techniques:\n- Whitespace: `${IFS}  $IFS$9  %09  \u003C  \u003C>`\n- Keywords: `ca\\t  ca''t  c$@at  \u002F???\u002F??t`\n- Encoding: `$(printf \"\\x63\\x61\\x74\")`,\n  `` `echo Y2F0|base64 -d` ``\n\nCore defense: avoid shell invocation; use `execFile` over `exec`,\nallowlist acceptable inputs.\n\n---\n\n## File Upload\n\n**Cases:** 2,711 | **Reference:** [file-upload.md]({baseDir}\u002Freferences\u002Ffile-upload.md)\n| **Checklist:** [file-upload-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Ffile-upload-checklist.md)\n\nBypass detection:\n- Client-side validation: modify JS or send request directly\n- Content-Type: `image\u002Fgif` header + PHP code body\n- Extension: `.php5  .phtml  .pht  .php.  .php::$DATA`\n- Content inspection: `GIF89a` + `\u003C?php` or image-based webshell\n- Parser discrepancy: `\u002Fupload\u002F1.asp;.jpg` (IIS 6.0)\n\nParser-specific vulnerabilities:\n- IIS 6.0: `\u002Ftest.asp\u002F1.jpg`, `test.asp;.jpg`\n- Apache: `.php.xxx` (unknown extension fallback)\n- Nginx: `\u002F1.jpg\u002F1.php` (`cgi.fix_pathinfo`)\n- Tomcat: `test.jsp%00.jpg`\n\nCore defense: allowlist extensions, rename uploads, store outside\nwebroot, validate content type server-side.\n\n---\n\n## Path Traversal\n\n**Cases:** 2,854 | **Reference:** [path-traversal.md]({baseDir}\u002Freferences\u002Fpath-traversal.md)\n| **Checklist:** [path-traversal-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fpath-traversal-checklist.md)\n\nHigh-risk parameters: `file`, `path`, `filename`, `url`, `dir`,\n`template`, `page`, `include`, `download`\n\nTraversal payloads:\n- Basic: `..\u002F..\u002F..\u002Fetc\u002Fpasswd`\n- Encoded: `%2e%2e%2f`, `..%252f`, `%c0%ae%c0%ae\u002F`\n- Null byte: `..\u002F..\u002F..\u002Fetc\u002Fpasswd%00.jpg`\n- Windows: `..\\..\\..\\windows\\win.ini`\n\nTarget files (Linux): `\u002Fetc\u002Fpasswd`, `\u002Fetc\u002Fshadow`,\n`\u002Fproc\u002Fself\u002Fenviron`, `\u002Fvar\u002Flog\u002Fapache2\u002Faccess.log`\n\nCore defense: resolve canonical paths, validate against allowlisted\ndirectories, never use user input in file paths directly.\n\n---\n\n## Unauthorized Access\n\n**Cases:** 14,377 | **Reference:** [unauthorized-access.md]({baseDir}\u002Freferences\u002Funauthorized-access.md)\n| **Checklist:** [unauthorized-access-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Funauthorized-access-checklist.md)\n\nAccess types:\n- Admin panel exposure: `\u002Fadmin`, `\u002Fmanager`, `\u002Fconsole`\n- API without authentication: missing token validation, predictable\n  tokens\n- Exposed services: Redis (6379), MongoDB (27017),\n  Elasticsearch (9200), Memcached (11211), Docker (2375)\n- IDOR: horizontal privilege escalation via ID enumeration\n\nCore defense: authentication + authorization on every endpoint,\nsession management, principle of least privilege.\n\n---\n\n## Information Disclosure\n\n**Cases:** 7,337 | **Reference:** [info-disclosure.md]({baseDir}\u002Freferences\u002Finfo-disclosure.md)\n| **Checklist:** [info-disclosure-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Finfo-disclosure-checklist.md)\n\nDisclosure sources: error messages with stack traces, exposed `.git`\nor `.svn` directories, backup files (`.bak`, `.sql`, `.tar.gz`),\nconfiguration files, debug endpoints, directory listings\n\nCore defense: custom error pages, disable directory listing, remove\ndebug endpoints in production, audit publicly accessible files.\n\n---\n\n## Business Logic Flaws\n\n**Cases:** 8,292 | **Reference:** [logic-flaws.md]({baseDir}\u002Freferences\u002Flogic-flaws.md)\n| **Checklist:** [logic-flaws-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Flogic-flaws-checklist.md)\n\nVulnerability patterns:\n- Password reset: verification code in response body, step skipping,\n  controllable reset tokens\n- Authorization bypass: horizontal (ID enumeration), vertical (role\n  escalation)\n- Payment logic: amount tampering, quantity manipulation, coupon\n  stacking\n- CAPTCHA: not refreshed, reusable, brute-forceable, client-side only\n\nTesting approach:\n1. Map the business flow -> draw state transition diagram\n2. Identify critical checks -> which parameters determine outcomes\n3. Attempt bypass -> modify parameters \u002F skip steps \u002F replay \u002F race\n4. Verify impact -> prove the scope of harm\n\nCore defense: server-side validation of all business-critical logic.\n\n---\n\n## Additional Categories\n\nThese categories are derived from case data without full reference\ndocuments. Each has a testing checklist extracted from real cases.\n\n| Category | Checklist |\n|----------|-----------|\n| CSRF | [csrf-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fcsrf-checklist.md) |\n| SSRF | [ssrf-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fssrf-checklist.md) |\n| Weak Passwords | [weak-password-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fweak-password-checklist.md) |\n| Misconfiguration | [misconfig-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fmisconfig-checklist.md) |\n| Remote Code Execution | [rce-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Frce-checklist.md) |\n| XML External Entity (XXE) | [xxe-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fxxe-checklist.md) |\n\n> **Note:** The RCE checklist covers deserialization, OGNL injection, and\n> framework-specific remote code execution — distinct from the OS command\n> injection focus of the Command Execution reference above.\n\n---\n\n## Methodology Case Studies\n\nReal-world penetration testing methodology examples (anonymized):\n\n| Case Study | Description |\n|------------|-------------|\n| [bank-penetration.md]({baseDir}\u002Freferences\u002Fbank-penetration.md) | Multi-stage attack chain against a financial institution |\n| [telecom-penetration.md]({baseDir}\u002Freferences\u002Ftelecom-penetration.md) | Infrastructure penetration of a telecom carrier |\n\nThese demonstrate how individual vulnerabilities chain together into\nfull compromise scenarios.\n\n---\n\n## Testing Priority Framework\n\n### High Priority (test first)\n\n1. **SQL Injection** — direct data access, highest case count (27,732)\n2. **Command Execution** — OS-level compromise\n3. **File Upload** — arbitrary code execution via webshell\n\n### Medium Priority\n\n4. **Unauthorized Access** — second-highest case count (14,377)\n5. **Business Logic Flaws** — application-specific, hard to automate\n6. **XSS** — session hijacking, phishing\n\n### Lower Priority (but still important)\n\n7. **Path Traversal** — file read, sometimes write\n8. **Information Disclosure** — reconnaissance value, enables chaining\n9. **CSRF\u002FSSRF\u002FXXE** — context-dependent severity\n\n---\n\n## Defense Quick Reference\n\n| Vulnerability | Core Defense | Implementation |\n|---------------|-------------|----------------|\n| SQL Injection | Parameterized queries | PreparedStatement \u002F ORM |\n| XSS | Output encoding | Context-aware escaping + CSP |\n| Command Execution | Avoid shell | `execFile` not `exec`, allowlist |\n| File Upload | Strict validation | Allowlist ext, rename, isolate |\n| Path Traversal | Canonical paths | Resolve + validate against allowlist |\n| Unauthorized Access | Access control | AuthN + AuthZ + session mgmt |\n| Logic Flaws | Server-side checks | Validate all business logic server-side |\n| Info Disclosure | Minimize exposure | Custom errors, no debug in prod |\n\n---\n\n## Key Insight\n\nAll 88,636 vulnerabilities in this database share a common root cause:\nthe gap between what developers assumed and what attackers actually\nprovided. Effective security testing means systematically challenging\nevery assumption at every trust boundary.\n\nFour principles from the data:\n1. **Boundary thinking** — all vulnerabilities occur at trust boundaries\n2. **Data flow tracing** — follow data from input to output completely\n3. **Assumption challenging** — question every \"obvious\" validation\n4. **Chain composition** — individual low-severity findings combine\n   into critical attack paths\n","# WooYun Vulnerability Analysis Knowledge Base\n\nMethodology and testing patterns extracted from 88,636 real-world\nvulnerability cases reported to the WooYun platform (2010-2016).\n\n---\n\n## When to Use\n\n> All testing described here must be performed only against systems you\n> have written authorization to test.\n\n- Penetration testing web applications\n- Security code review (server-side or client-side)\n- Vulnerability research against web targets you have explicit authorization to test\n- Building security test cases or checklists\n- Assessing web application attack surface\n- Reviewing remediation effectiveness\n- Training or education in authorized security testing contexts\n\n## When NOT to Use\n\n- Network infrastructure testing (firewalls, routers, switches)\n- Mobile application binary analysis\n- Malware analysis or reverse engineering\n- Compliance-only assessments (PCI-DSS, SOC2 checklists without testing)\n- Physical security assessments\n- Social engineering campaigns\n- Cloud infrastructure misconfigurations (IAM, S3 buckets) — these\n  require cloud-specific tooling, not web vuln patterns\n\n## Rationalizations to Reject\n\nThese shortcuts lead to missed findings. Reject them:\n\n- \"The WAF will catch it\" — WAFs are bypass-able; test the application\n  logic, not the middleware\n- \"It's an internal app, so auth doesn't matter\" — internal apps get\n  compromised via SSRF, lateral movement, and credential reuse\n- \"We already use parameterized queries everywhere\" — check for ORM\n  misuse, stored procedures with dynamic SQL, and second-order injection\n- \"The framework handles XSS\" — template engines have raw output modes,\n  JavaScript contexts bypass HTML encoding, and DOM XSS lives\n  entirely client-side\n- \"File uploads are safe because we check the extension\" — extension\n  checks are bypassed via null bytes, double extensions, parser\n  discrepancies, and race conditions\n- \"We validate on the frontend\" — client-side validation is a UX\n  feature, not a security control\n- \"Nobody would guess that URL\" — security through obscurity fails\n  against directory bruteforcing, referrer leaks, and JS source analysis\n- \"Low severity, not worth reporting\" — low-severity findings chain\n  into critical attack paths\n\n---\n\n## Core Mental Model\n\n```\nVulnerability = Expected Behavior - Actual Behavior\n             = Developer Assumptions + Attacker Input -> Unexpected State\n\nAnalysis chain:\n1. Where does data come from?  (Input sources)\n   -> GET\u002FPOST\u002FCookie\u002FHeader\u002FFile\u002FWebSocket\n2. Where does data flow?       (Data path)\n   -> Validation -> Processing -> Storage -> Output\n3. Where is data trusted?      (Trust boundaries)\n   -> Client \u002F Server \u002F Database \u002F OS \u002F External service\n4. How is data processed?      (Processing logic)\n   -> Filter \u002F Escape \u002F Validate \u002F Execute\n5. Where does data end up?     (Output sinks)\n   -> HTML \u002F SQL \u002F Shell \u002F Filesystem \u002F Log \u002F Email\n```\n\n---\n\n## Attack Surface Mapping\n\n```\n              +-------------------------------------------+\n              |         Application Attack Surface         |\n              +-------------------------------------------+\n                                  |\n          +-----------------------+-----------------------+\n          |                       |                       |\n     +----v----+            +-----v-----+           +-----v-----+\n     |  Input  |            | Processing|           |  Output   |\n     +---------+            +-----------+           +-----------+\n     | GET     |            | Input     |           | HTML page |\n     | POST    |    ->      | validation|    ->     | JSON resp |\n     | Cookie  |            | Biz logic |           | File DL   |\n     | Headers |            | DB query  |           | Error msg |\n     | File    |            | File op   |           | Log entry |\n     | Upload  |            | Sys call  |           | Email     |\n     +---------+            +-----------+           +-----------+\n```\n\n---\n\n## SQL Injection\n\n**Cases:** 27,732 | **Reference:** [sql-injection.md]({baseDir}\u002Freferences\u002Fsql-injection.md)\n| **Checklist:** [sql-injection-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fsql-injection-checklist.md)\n\nHigh-risk parameters: `id`, `sort_id`, `username`, `password`, `search`,\n`keyword`, `page`, `order`, `cat_id`\n\nInjection point detection:\n- String terminators: `'  \"  )  ')  \")  --  #  \u002F*`\n- DB fingerprint: `@@version` (MSSQL), `version()` (MySQL),\n  `v$version` (Oracle)\n\nBypass techniques:\n- Whitespace: `\u002F**\u002F  %09  %0a  ()`\n- Keywords: `SeLeCt  sel%00ect  \u002F*!select*\u002F`\n- Equals: `LIKE  REGEXP  BETWEEN  IN`\n- Quotes: `0x` hex, `char()`, `concat()`\n\nCore defense: parameterized queries (PreparedStatement \u002F ORM binding).\n\n---\n\n## Cross-Site Scripting (XSS)\n\n**Cases:** 7,532 | **Reference:** [xss.md]({baseDir}\u002Freferences\u002Fxss.md)\n| **Checklist:** [xss-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fxss-checklist.md)\n\nOutput points: user profile fields (nickname, bio), search reflections,\nfile metadata (filename, alt text), email content (subject, body)\n\nBypass techniques:\n- Tag mutation: `\u003CScRiPt>  \u003Cscript\u002Fx>  \u003Cscript\\n>`\n- Event handlers: `onerror  onload  onmouseover  onfocus`\n- Encoding: HTML entities, JS Unicode, URL encoding\n- Protocol handlers: `javascript:  data:  vbscript:`\n\nCore defense: context-aware output encoding + Content Security Policy.\n\n---\n\n## Command Execution\n\n**Cases:** 6,826 | **Reference:** [command-execution.md]({baseDir}\u002Freferences\u002Fcommand-execution.md)\n| **Checklist:** [command-execution-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fcommand-execution-checklist.md)\n\nEntry points: system command wrappers (ping, traceroute, nslookup),\nfile operations (compress, decompress, image processing), code eval\n(`eval`, `assert`, `preg_replace(\u002Fe)`), framework vulnerabilities\n(Struts2, WebLogic, JBoss)\n\nCommand chaining:\n- Linux: `;  |  ||  &&  \\`  $()`\n- Windows: `&  |  ||  &&`\n\nBypass techniques:\n- Whitespace: `${IFS}  $IFS$9  %09  \u003C  \u003C>`\n- Keywords: `ca\\t  ca''t  c$@at  \u002F???\u002F??t`\n- Encoding: `$(printf \"\\x63\\x61\\x74\")`,\n  `` `echo Y2F0|base64 -d` ``\n\nCore defense: avoid shell invocation; use `execFile` over `exec`,\nallowlist acceptable inputs.\n\n---\n\n## File Upload\n\n**Cases:** 2,711 | **Reference:** [file-upload.md]({baseDir}\u002Freferences\u002Ffile-upload.md)\n| **Checklist:** [file-upload-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Ffile-upload-checklist.md)\n\nBypass detection:\n- Client-side validation: modify JS or send request directly\n- Content-Type: `image\u002Fgif` header + PHP code body\n- Extension: `.php5  .phtml  .pht  .php.  .php::$DATA`\n- Content inspection: `GIF89a` + `\u003C?php` or image-based webshell\n- Parser discrepancy: `\u002Fupload\u002F1.asp;.jpg` (IIS 6.0)\n\nParser-specific vulnerabilities:\n- IIS 6.0: `\u002Ftest.asp\u002F1.jpg`, `test.asp;.jpg`\n- Apache: `.php.xxx` (unknown extension fallback)\n- Nginx: `\u002F1.jpg\u002F1.php` (`cgi.fix_pathinfo`)\n- Tomcat: `test.jsp%00.jpg`\n\nCore defense: allowlist extensions, rename uploads, store outside\nwebroot, validate content type server-side.\n\n---\n\n## Path Traversal\n\n**Cases:** 2,854 | **Reference:** [path-traversal.md]({baseDir}\u002Freferences\u002Fpath-traversal.md)\n| **Checklist:** [path-traversal-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fpath-traversal-checklist.md)\n\nHigh-risk parameters: `file`, `path`, `filename`, `url`, `dir`,\n`template`, `page`, `include`, `download`\n\nTraversal payloads:\n- Basic: `..\u002F..\u002F..\u002Fetc\u002Fpasswd`\n- Encoded: `%2e%2e%2f`, `..%252f`, `%c0%ae%c0%ae\u002F`\n- Null byte: `..\u002F..\u002F..\u002Fetc\u002Fpasswd%00.jpg`\n- Windows: `..\\..\\..\\windows\\win.ini`\n\nTarget files (Linux): `\u002Fetc\u002Fpasswd`, `\u002Fetc\u002Fshadow`,\n`\u002Fproc\u002Fself\u002Fenviron`, `\u002Fvar\u002Flog\u002Fapache2\u002Faccess.log`\n\nCore defense: resolve canonical paths, validate against allowlisted\ndirectories, never use user input in file paths directly.\n\n---\n\n## Unauthorized Access\n\n**Cases:** 14,377 | **Reference:** [unauthorized-access.md]({baseDir}\u002Freferences\u002Funauthorized-access.md)\n| **Checklist:** [unauthorized-access-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Funauthorized-access-checklist.md)\n\nAccess types:\n- Admin panel exposure: `\u002Fadmin`, `\u002Fmanager`, `\u002Fconsole`\n- API without authentication: missing token validation, predictable\n  tokens\n- Exposed services: Redis (6379), MongoDB (27017),\n  Elasticsearch (9200), Memcached (11211), Docker (2375)\n- IDOR: horizontal privilege escalation via ID enumeration\n\nCore defense: authentication + authorization on every endpoint,\nsession management, principle of least privilege.\n\n---\n\n## Information Disclosure\n\n**Cases:** 7,337 | **Reference:** [info-disclosure.md]({baseDir}\u002Freferences\u002Finfo-disclosure.md)\n| **Checklist:** [info-disclosure-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Finfo-disclosure-checklist.md)\n\nDisclosure sources: error messages with stack traces, exposed `.git`\nor `.svn` directories, backup files (`.bak`, `.sql`, `.tar.gz`),\nconfiguration files, debug endpoints, directory listings\n\nCore defense: custom error pages, disable directory listing, remove\ndebug endpoints in production, audit publicly accessible files.\n\n---\n\n## Business Logic Flaws\n\n**Cases:** 8,292 | **Reference:** [logic-flaws.md]({baseDir}\u002Freferences\u002Flogic-flaws.md)\n| **Checklist:** [logic-flaws-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Flogic-flaws-checklist.md)\n\nVulnerability patterns:\n- Password reset: verification code in response body, step skipping,\n  controllable reset tokens\n- Authorization bypass: horizontal (ID enumeration), vertical (role\n  escalation)\n- Payment logic: amount tampering, quantity manipulation, coupon\n  stacking\n- CAPTCHA: not refreshed, reusable, brute-forceable, client-side only\n\nTesting approach:\n1. Map the business flow -> draw state transition diagram\n2. Identify critical checks -> which parameters determine outcomes\n3. Attempt bypass -> modify parameters \u002F skip steps \u002F replay \u002F race\n4. Verify impact -> prove the scope of harm\n\nCore defense: server-side validation of all business-critical logic.\n\n---\n\n## Additional Categories\n\nThese categories are derived from case data without full reference\ndocuments. Each has a testing checklist extracted from real cases.\n\n| Category | Checklist |\n|----------|-----------|\n| CSRF | [csrf-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fcsrf-checklist.md) |\n| SSRF | [ssrf-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fssrf-checklist.md) |\n| Weak Passwords | [weak-password-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fweak-password-checklist.md) |\n| Misconfiguration | [misconfig-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fmisconfig-checklist.md) |\n| Remote Code Execution | [rce-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Frce-checklist.md) |\n| XML External Entity (XXE) | [xxe-checklist.md]({baseDir}\u002Freferences\u002Fchecklists\u002Fxxe-checklist.md) |\n\n> **Note:** The RCE checklist covers deserialization, OGNL injection, and\n> framework-specific remote code execution — distinct from the OS command\n> injection focus of the Command Execution reference above.\n\n---\n\n## Methodology Case Studies\n\nReal-world penetration testing methodology examples (anonymized):\n\n| Case Study | Description |\n|------------|-------------|\n| [bank-penetration.md]({baseDir}\u002Freferences\u002Fbank-penetration.md) | Multi-stage attack chain against a financial institution |\n| [telecom-penetration.md]({baseDir}\u002Freferences\u002Ftelecom-penetration.md) | Infrastructure penetration of a telecom carrier |\n\nThese demonstrate how individual vulnerabilities chain together into\nfull compromise scenarios.\n\n---\n\n## Testing Priority Framework\n\n### High Priority (test first)\n\n1. **SQL Injection** — direct data access, highest case count (27,732)\n2. **Command Execution** — OS-level compromise\n3. **File Upload** — arbitrary code execution via webshell\n\n### Medium Priority\n\n4. **Unauthorized Access** — second-highest case count (14,377)\n5. **Business Logic Flaws** — application-specific, hard to automate\n6. **XSS** — session hijacking, phishing\n\n### Lower Priority (but still important)\n\n7. **Path Traversal** — file read, sometimes write\n8. **Information Disclosure** — reconnaissance value, enables chaining\n9. **CSRF\u002FSSRF\u002FXXE** — context-dependent severity\n\n---\n\n## Defense Quick Reference\n\n| Vulnerability | Core Defense | Implementation |\n|---------------|-------------|----------------|\n| SQL Injection | Parameterized queries | PreparedStatement \u002F ORM |\n| XSS | Output encoding | Context-aware escaping + CSP |\n| Command Execution | Avoid shell | `execFile` not `exec`, allowlist |\n| File Upload | Strict validation | Allowlist ext, rename, isolate |\n| Path Traversal | Canonical paths | Resolve + validate against allowlist |\n| Unauthorized Access | Access control | AuthN + AuthZ + session mgmt |\n| Logic Flaws | Server-side checks | Validate all business logic server-side |\n| Info Disclosure | Minimize exposure | Custom errors, no debug in prod |\n\n---\n\n## Key Insight\n\nAll 88,636 vulnerabilities in this database share a common root cause:\nthe gap between what developers assumed and what attackers actually\nprovided. Effective security testing means systematically challenging\nevery assumption at every trust boundary.\n\nFour principles from the data:\n1. **Boundary thinking** — all vulnerabilities occur at trust boundaries\n2. **Data flow tracing** — follow data from input to output completely\n3. **Assumption challenging** — question every \"obvious\" validation\n4. **Chain composition** — individual low-severity findings combine\n   into critical attack paths\n",{"name":5,"description":7,"allowed-tools":43},[44,45,46,30],"Read","Grep","Glob","main","1a1de50f62f5c1093a46455488dcf6e8157c6182","test\u002Fdogfood\u002Ftrailofbits-skills-curated@6d05be4\u002Fplugins\u002Fwooyun-legacy\u002Fskills\u002Fwooyun-legacy",4,"https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles","https:\u002F\u002Fvigiles.sh","https:\u002F\u002Fgithub.com\u002Fzernie","https:\u002F\u002Fzernie.com?utm_source=github","Senior Fullstack Software Developer.\r\n\r\nRuby on Rails, React.JS\u002FRedux, TypeScript, Next.js.","2026-11-02 22:19:44",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add zernie\u002Fvigiles --skill wooyun-legacy",{"tool":63,"command":64},"bunx","bunx skills add zernie\u002Fvigiles --skill wooyun-legacy",{"tool":66,"command":67},"pnpm","pnpm dlx skills add zernie\u002Fvigiles --skill wooyun-legacy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles\u002Fblob\u002Fmain\u002Ftest\u002Fdogfood\u002Ftrailofbits-skills-curated@6d05be4\u002Fplugins\u002Fwooyun-legacy\u002Fskills\u002Fwooyun-legacy\u002FSKILL.md",true,[],[72,96,116,141,162,182],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":38},"01M6JJE6A64FF49TKDQ6F4JD0Q","wcag-audit-patterns","Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.","https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles\u002Fblob\u002Fmain\u002Ftest\u002Fdogfood\u002Fwshobson-accessibility@cf6059d\u002Fskills\u002Fwcag-audit-patterns\u002FSKILL.md",[],[79,80,81,82,83,28,84,85,86,87,88,89,90,91,92,93,94,95],"audit","WCAG","wcag audit patterns","patterns","wcag audit","design","accessibility","verification","remediation","use","design patterns","guidance","automated testing","with","manual","implementing","for",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M6JJE24VZ3K0PRFHRJA4SNWG","screen-reader-testing","Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.","https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles\u002Fblob\u002Fmain\u002Ftest\u002Fdogfood\u002Fwshobson-accessibility@cf6059d\u002Fskills\u002Fscreen-reader-testing\u002FSKILL.md",[],[28,103,104,105,106,107,108,85,109,110,111,88,112,113,114,115,92],"reader","screen reader testing","screen","support","test","web","debugging","issues","applications","test web","voiceover","compatibility","technology",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6JJDXJEEGWDJH531TH50Z2X","x-research","Searches X\u002FTwitter for real-time perspectives, dev discussions, product feedback, breaking news, and expert opinions using the X API v2. Provides search with engagement sorting, user profiles, thread fetching, watchlists, and result caching. Use when: (1) user says \"x research\", \"search x for\", \"search twitter for\", \"what are people saying about\", \"what's twitter saying\", \"check x for\", \"x search\", (2) user needs recent X discourse on a topic (library releases, API changes, product launches, industry events), (3) user wants to find what devs\u002Fexperts\u002Fcommunity thinks about a topic. NOT for: posting tweets or account management.","https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles\u002Fblob\u002Fmain\u002Ftest\u002Fdogfood\u002Ftrailofbits-skills-curated@6d05be4\u002Fplugins\u002Fx-research\u002Fskills\u002Fx-research\u002FSKILL.md",[],[123,124,125,126,127,128,30,129,130,27,131,132,133,134,135,136,137,138,139,140],"research","x research","api changes","product","search","api","x api","perspectives","write","releases","expert","community","search x","time","caching","people","sorting","experts",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":38},"01M6JJDJRQ8D4VEVYB2YS0ZG7G","skill-extractor","Extracts reusable skills from work sessions. Use when: (1) a non-obvious problem was solved worth preserving, (2) a pattern was discovered that would help future sessions, (3) a workaround or debugging technique needs documentation. Manual invocation only via \u002Fskill-extractor command - no automatic triggers or hooks.","https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles\u002Fblob\u002Fmain\u002Ftest\u002Fdogfood\u002Ftrailofbits-skills-curated@6d05be4\u002Fplugins\u002Fskill-extractor\u002Fskills\u002Fskill-extractor\u002FSKILL.md",[],[148,149,150,109,151,152,153,20,27,131,88,154,155,156,157,158,159,160,93,161],"skill extractor","sessions","documentation","help","grep","work","only","hooks","reusable","pattern","triggers","problem","via","websearch",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":38},"01M6JJDE8FBAP7YD2Y3ES050JQ","security-awareness","Teaches agents to recognize and avoid security threats during normal activity. Covers phishing detection, credential protection, domain verification, and social engineering defense. Use when building or operating agents that access email, credential vaults, web browsers, or sensitive data.","https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles\u002Fblob\u002Fmain\u002Ftest\u002Fdogfood\u002Ftrailofbits-skills-curated@6d05be4\u002Fplugins\u002Fsecurity-awareness\u002Fskills\u002Fsecurity-awareness\u002FSKILL.md",[],[37,169,170,108,86,171,172,29,152,27,173,88,174,175,176,177,178,179,180,181],"awareness","security awareness","email","phishing","webfetch","protection","social","social engineering","domain","vaults","operating","activity","phishing detection",{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":38},"01M6JJD9WN8E2GPBKNKB43ET77","scv-scan","Audits Solidity codebases for smart contract vulnerabilities using a four-phase workflow (cheatsheet loading, codebase sweep, deep validation, reporting) covering 36 vulnerability classes. Use when auditing Solidity contracts for security issues, performing smart contract vulnerability scans, or reviewing Solidity code for common exploit patterns.","https:\u002F\u002Fgithub.com\u002Fzernie\u002Fvigiles\u002Fblob\u002Fmain\u002Ftest\u002Fdogfood\u002Ftrailofbits-skills-curated@6d05be4\u002Fplugins\u002Fscv-scan\u002Fskills\u002Fscv-scan\u002FSKILL.md",[],[189,190,191,37,192,35,110,193,194,31,195,30,196,27,131,197,82,198,199,200],"scan","scv","scv scan","workflow","reporting","solidity","cheatsheet","common","exploit","deep","loading","smart contract"]