/security:client-side-exploitationfrom security
Guides testing advanced browser-side and HTTP-layer attacks: DOM XSS, CSP bypass, CORS exploitation, postMessage abuse, prototype pollution, DOM clobbering, clickjacking, web cache poisoning, and request smuggling.
Ships in security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The presentation layer fails in ways scanners miss: client-side code, browser quirks, and the
HTTP plumbing between the user and the server. This skill covers the advanced classes beyond the
XSS/CSRF basics in security-code-audit/references/web-frontend.md.
Core principle: The browser executes whatever the page tells it to, and proxies/caches trust whatever parses cleanly. Attack the client's trust and the channel's assumptions.
Your own/authorized app. Request smuggling and cache poisoning can affect other users of a shared cache/proxy — test only on isolated staging you control.
| Class | What to test |
|---|---|
| DOM XSS | Source (location, postMessage, storage) → sink (innerHTML, eval) in client JS |
| CSP bypass | Weak CSP: unsafe-inline, wildcards, JSONP/Angular gadgets, base-uri missing |
| CORS exploitation | Server reflects arbitrary Origin + Allow-Credentials: true → cross-site data theft |
| postMessage abuse | Handlers that don't verify event.origin and feed data to a sink |
| Prototype pollution | Merging user JSON into Object.prototype → gadget → XSS/RCE/DoS |
| DOM clobbering | Injected id/name HTML overrides JS variables/functions |
| Clickjacking | No frame-ancestors/X-Frame-Options on sensitive actions |
| Web cache poisoning | Unkeyed input (headers) reflected + cached → served to others |
| Request smuggling | CL.TE / TE.CL desync between front-end and back-end servers |
See references/client-attacks.md for detection and PoC recipes.
* — it's reflecting the attacker's Origin while
allowing credentials. That leaks authenticated responses cross-site.Per finding: source→sink (for DOM/PP) or the desync/cache mechanics, the PoC, and who's affected (self vs other users — the latter raises severity sharply).
DOM XSS → often a foothold in vulnerability-chaining; reproduce via active-pentest;
fix via security-hardening (encoding, strict CSP, exact-origin CORS, Object.freeze/null-proto,
front/back server normalization).
* is bad" — credentialed origin reflection is the real flaw.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mn-youssef/security-skills --plugin security16 skills in this plugin
/access-control-testingUse when testing whether users can access data or actions they shouldn't — IDOR/BOLA, horizontal and vertical privilege escalation, multi-tenant isolation, forced browsing, function-level authorization (BFLA), and mass assignment. The/active-pentestUse when you need to actually run security tests against a running application you own or are authorized to test — the shared execution harness for lab/proxy/scanner setup, safe non-destructive execution, and standardized proof-of-concept capture that the find/exploit specialist skills rely on./api-security-testingUse when testing REST, GraphQL, gRPC, or WebSocket APIs against the OWASP API Security Top 10 — object- and function-level authorization (BOLA/BFLA), excessive data exposure, mass assignment, unrestricted resource consumption, and GraphQL-specific abuse. For apps you own or are authorized to test.Other plugins' skills for the same job