mn-youssef/security-skills/client-side-exploitation

Claude Code and agent skill by mn-youssef/security-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when testing advanced browser-side and HTTP-layer attacks beyond basic XSS/CSRF — DOM XSS, CSP bypass, CORS misconfiguration exploitation, postMessage abuse, prototype pollution, DOM clobbering, clickjacking, web cache poisoning, and HTTP request smuggling. On apps you own or are authorized to test.

Install

npx vskill@latest install mn-youssef/security-skills/client-side-exploitation

SKILL.md

Client-Side Exploitation (FIND/EXPLOIT — the browser & HTTP layer)

Overview

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.

Applies when / Skip when

  • Applies when: the app serves a browser-rendered UI or ships client-side JavaScript.
  • Skip when: API-only, CLI, daemon, or backend service with no browser surface → N/A.
  • If N/A: report "client-side-exploitation: N/A — no frontend surface" and stop. This is the

canonical "skill doesn't match the app" case — skip cleanly, never force-fit browser tests.

⚠️ Authorization

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.

Attack classes

ClassWhat to test
DOM XSSSource (location, postMessage, storage) → sink (innerHTML, eval) in client JS
CSP bypassWeak CSP: unsafe-inline, wildcards, JSONP/Angular gadgets, base-uri missing
CORS exploitationServer reflects arbitrary Origin + Allow-Credentials: true → cross-site data theft
postMessage abuseHandlers that don't verify event.origin and feed data to a sink
Prototype pollutionMerging user JSON into Object.prototype → gadget → XSS/RCE/DoS
DOM clobberingInjected id/name HTML overrides JS variables/functions
ClickjackingNo frame-ancestors/X-Frame-Options on sensitive actions
Web cache poisoningUnkeyed input (headers) reflected + cached → served to others
Request smugglingCL.TE / TE.CL desync between front-end and back-end servers

See references/client-attacks.md for detection and PoC recipes.

High-value, often-missed

  • CORS with credentials: the bug isn't * — it's reflecting the attacker's Origin while

allowing credentials. That leaks authenticated responses cross-site.

  • Prototype pollution: library deep-merge of attacker JSON; chain to DOM XSS via a known gadget.
  • Request smuggling: highest impact (mass session theft, cache poisoning, auth bypass) — test

carefully, isolated env only.

Output

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).

Hand-off

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).

Common mistakes

  • Stopping at reflected/stored XSS — DOM XSS lives entirely in client JS and needs source→sink tracing.
  • Reading CORS as "only * is bad" — credentialed origin reflection is the real flaw.
  • Skipping request smuggling because it's "hard" — it's the highest-impact client-layer bug.
  • Testing cache poisoning/smuggling on shared infra — you can hit real users; isolate first.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mn-youssef/security-skills/client-side-exploitation/badge)](https://verified-skill.com/skills/mn-youssef/security-skills/client-side-exploitation)

Something wrong with this skill or its page? Tell us.