What problem does it solve? Client-side vulnerabilities like DOM-XSS, postMessage hijacking, and CSS-based token exfiltration execute entirely in the victim's browser, so server-side WAFs and input filters never see them. This Skill gives security researchers a structured, research-grounded methodology to find, exploit, and validate these DOM-based attack paths during authorized bug bounty hunting. ## Core Features & Use Cases - DOM Clobbering Detection: Identify markup-only injections that overwrite JS globals (window.config, baseURI) and reach sinks like script.src or location, including jQuery htmlPrefilter XSS (CVE-2020-11022/11023) checks. - PostMessage & Service Worker Analysis: Find message handlers with missing or weak origin checks, senders leaking secrets with targetOrigin '*', and same-origin service worker registration paths for persistent interception. - CSS Exfiltration & Framework Sinks: Leak CSRF tokens char-by-char via attribute selectors with OOB confirmation, and audit dangerouslySetInnerHTML, v-html, and client-side template injection sinks. - Use Case: While testing a target's SSO widget iframe, you find a message listener with no origin check; the Skill walks you through building a PoC that drives event.data into an innerHTML sink and captures the session token via an OOB callback. ## Quick Start Ask the AI to hunt for DOM-based vulnerabilities on an authorized bug bounty target, starting with postMessage handlers and clobberable globals in the site's JavaScript bundles.