$npx -y skills add transilienceai/communitytools --skill client-sideClient-side vulnerability testing - XSS (reflected/stored/DOM), CSRF, CORS misconfiguration, Clickjacking, DOM-based attacks, and Prototype Pollution.
| 1 | # Client-Side |
| 2 | |
| 3 | Test for client-side vulnerabilities across modern web applications and SPAs. |
| 4 | |
| 5 | ## Techniques |
| 6 | |
| 7 | | Type | Key Vectors | |
| 8 | |------|-------------| |
| 9 | | **XSS** | Reflected, Stored, DOM-based, framework-specific (React, Vue, Angular) | |
| 10 | | **CSRF** | Token bypass, SameSite cookie bypass, cross-origin requests | |
| 11 | | **CORS** | Misconfigured origins, null origin, wildcard credentials | |
| 12 | | **Clickjacking** | Frame-based, drag-and-drop, multi-step | |
| 13 | | **DOM-based** | DOM sinks, source/sink analysis, JavaScript URL schemes | |
| 14 | | **Prototype Pollution** | Client-side gadgets, server-side pollution, property injection | |
| 15 | |
| 16 | ## Workflow |
| 17 | |
| 18 | 1. Identify input sources and data flows |
| 19 | 2. Classify sink contexts (HTML, attribute, URL, JS, CSS) |
| 20 | 3. Enumerate defenses (encoding, CSP, sanitizers, Trusted Types) |
| 21 | 4. Craft context-appropriate payloads |
| 22 | 5. Validate execution and demonstrate impact |
| 23 | 6. Document with reproduction steps and remediation |
| 24 | |
| 25 | ## Reference |
| 26 | |
| 27 | - `reference/xss*.md` - XSS bypass techniques and exploitation |
| 28 | - `reference/csrf*.md` - CSRF techniques and bypasses |
| 29 | - `reference/cors*.md` - CORS misconfiguration testing |
| 30 | - `reference/clickjacking*.md` - Clickjacking techniques |
| 31 | - `reference/dom*.md` - DOM-based vulnerability testing |
| 32 | - `reference/prototype-pollution*.md` - Prototype pollution techniques |