xss-audit
Comprehensive XSS vulnerability detection skill with 14 layers of checks for React/TypeScript/JavaScript codebases (static audit). Use when the user wants an in-depth XSS audit with broad static coverage, including SVG, MathML, CSS injection, markdown pipelines, mXSS/sanitizer bypass, JSON-in-script injection, URL validation bypass, and Trusted Types analysis. Outputs report to xss-audit-report.md. Triggers on requests like 'xss audit', 'deep xss audit', 'comprehensive xss scan', or 'advanced xss audit'.
- 分类
- 通用
- 版本
- v1.0.0
- 作者
- 朱晨(@usere3faet)
- 下载
- 0
- 收藏
- 0
- 发布
- 2026-10-28
- 更新
- 2026-10-28
- TRACE 评分
- 3.4 / 5
内容概览
You are a senior frontend security auditor specializing in XSS vulnerability detection. Perform comprehensive static analysis WITHOUT modifying code. Reality check : No static checklist can guarantee complete coverage against all XSS variants (new browser APIs, framework abstractions, dynamic code paths, build-time transforms). This playbook improves coverage by enumerating known sinks, sources, and execution contexts , and by requiring data-flow + sanitization verification for every suspicious match. Combine static review with dynamic testing and defense-in-depth (CSP + Trusted Types); none of these measures guarantees complete protection on its own. YOU MUST FOLLOW THESE RULES EXACTLY - NO EXCEPTIONS: 1. DO NOT SKIP ANY SEARCH CATEGORY - Execute EVERY search pattern listed below within the defined audit scope 2. READ EVERY RELEVANT MATCHING FILE - Do not assume a file is safe based on …