Skip to main content
skill CX Codex

hunt-xss · h-mmer — Claude Code skill for XSS hunting: setup and what it does

hunt-xss — a skill for Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, and Windsurf that teaches the agent to find XSS vulnerabilities — DOM-based, stored, reflected, mXSS, and newer variants.

no license ★ 1,298 updated 2026-06-12

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add H-mmer/pentest-agents --skill hunt-xss -a claude-code
Open on GitHub

What hunt-xss does

Once installed, the agent gains structured knowledge across six target classes: DOMPurify mXSS bypasses (CVE-2024-47875, CVE-2024-45801, GHSA-h8r8-wccr-v5f2), OAuth redirect_uri and returnTo flaws (CVE-2025-67716 in Auth0 Next.js SDK before 4.13.0), stored XSS chains that reach admin account takeover (GHSA-jmr4-p576-v565, CVSS 8.0), postMessage handlers with broken origin checks, markdown renderer injections (CVE-2024-21535 in markdown-to-jsx before 7.4.0), and RSC payload injections (CVE-2025-67779, CVE-2025-55184).

The knowledge base covers specific researcher techniques: @kinugawamasato's deep-nesting mXSS variant that triggers across Firefox, Chromium, and Safari together; @hash_kitten's full bypass without nesting; @ryotkak's XML-based bypass. Sources include HackerOne, Intigriti, Bugcrowd, Huntr, GitHub Security Advisories, and Cure53 advisories.

Code using react-server-dom-webpack with React 19.0.0–19.2.0 (before the 19.0.2/19.1.3/19.2.2 patches) is a priority surface the skill targets first. Node.js is required; install via npx skills add.

What it helps with

  • find DOMPurify nesting or re-contextualization bypasses in library consumers
  • audit an OAuth flow for reflected XSS via redirect_uri, returnTo, or state parameters
  • trace a stored XSS path from low-privilege content to an admin session
  • detect postMessage handlers where origin is checked with .includes() instead of strict equality
  • check a markdown renderer or RSC payload for injection through dangerouslySetInnerHTML

Example prompts for the agent

  • Check this component for mXSS via DOMPurify re-contextualization
  • Find every addEventListener('message', ...) in the codebase and test the origin check for bypass
  • Audit the OAuth flow for XSS through the returnTo parameter using the CVE-2025-67716 pattern

How to install hunt-xss

1Skills CLI (Vercel)

npx skills add H-mmer/pentest-agents --skill hunt-xss -a claude-code

2Manually: put the files in place

~/.claude/skills/pentest-agents-hunt-xss/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pentest-agents-hunt-xss/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about hunt-xss

How do I install hunt-xss in Claude Code?

Run npx skills add H-mmer/pentest-agents --skill pentest-agents-hunt-xss -a claude-code. The skill file will then be available at ~/.claude/skills/pentest-agents-hunt-xss/SKILL.md.

What does the hunt-xss skill do?

It loads a curated XSS knowledge base into the agent's context — 1500 bug bounty reports and NVD-verified CVEs from 2024 to 2026 — so the agent can reason about DOM-based, stored, reflected, mXSS, and other XSS patterns in your code.

Which platforms does hunt-xss support?

Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, and Windsurf (Devin Desktop). Each platform has its own install path via npx skills add or gh skill install.

Similar skills

All skills for Security →

hunt-xss by other authors comes first.

hunt-xss Sachin Sharma hunt-xss — a skill for hunting XSS vulnerabilities, built from 174 public bug bounty reports. Tests payload reflection, injection contexts, and stored XSS. CX Codex +1 ★ 16,193repo stars xss-prevention secondsky The xss-prevention skill helps prevent XSS with input sanitization, output encoding, and CSP. Use it for user HTML, comments, rich text, and script injection issues. CX Codex +1 320installs testing-for-xss-vulnerabilities-with-burpsuite mahipal testing-for-xss-vulnerabilities-with-burpsuite walks your agent through finding and confirming XSS in a web app, from site map to CSP bypass. Meant for authorized penetration tests. CX Codex +1 333installs xss-html-injection zebbern xss-html-injection guides web application assessments for stored, reflected, and DOM-based XSS, as well as HTML injection flaws. CX Codex +1 ★ 4,719repo stars xss-cross-site-scripting yaklang xss-cross-site-scripting is a Claude Code skill for investigating XSS when user input flows into HTML, JavaScript, or DOM. It helps analyze the rendering context involved. CX Codex +1 4,300installs hunt-dom Sachin Sharma hunt-dom — a skill for hunting client-side DOM vulnerabilities: DOM Clobbering, PostMessage without origin check, CSS Injection with token exfiltration. CX Codex +1 ★ 16,193repo stars hunt-clickjacking Sachin Sharma hunt-clickjacking is a Claude Code skill that checks whether a page can be framed and used to trigger a sensitive action. It investigates clickjacking in web applications. CX Codex +1 ★ 16,193repo stars

From the same set43

The whole set →
autopilot autopilot coordinates security testing for a target by checking scope and program rules before dispatching specialized subagents. Autonomous mode runs through its completion checks before reporting. CX Codex +1 ★ 1,298repo stars autopilot autopilot — a Claude Code skill that runs a hunt across all vulnerability classes for a target and keeps the agent from calling it done too early. CX Codex +1 ★ 1,298repo stars pentest-agents-mistakes pentest-agents-mistakes is a rule that collects 11 mistakes agents make in security testing, from hallucinated paths to fake PoCs. Read it before a vulnerability hunt. CX Codex +1 ★ 1,298repo stars hunt-idor hunt-idor guides your agent in auditing IDOR and BOLA flaws across APIs, GraphQL schemas, and multi-tenant SaaS platforms. CX Codex +1 ★ 1,298repo stars hunt-info-disclosure hunt-info-disclosure — a skill for tracking down information disclosure bugs: exposed .env and .git files, debug endpoints, Spring Boot actuator paths and leaked repo secrets. CX Codex +1 ★ 1,298repo stars hunt-business-logic hunt-business-logic finds business logic flaws like price tampering, race conditions, and 2FA bypasses. Useful for testing checkout workflows and subscription logic. CX Codex +1 ★ 1,298repo stars hunt-oauth hunt-oauth guides security checks for OAuth, OIDC, SAML, and JWT authentication. Use it when reviewing a sign-in flow or an MCP server. CX Codex +1 ★ 1,298repo stars hunt-rce hunt-rce — a skill for hunting remote code execution bugs: it points to likely RCE spots across web apps, CI/CD, containers and ML services, with ready grep signatures. CX Codex +1 ★ 1,298repo stars

Project sponsors

Companies that keep this analytics open