hunt-xss
Skill0 starsChanged 3 months agoMITView on GitHub
Reflected, stored, and DOM-based XSS hunting methodology, with escalation to ATO and data exfiltration. TRIGGER: user is testing input reflected in a page, markdown/rich-text editors, file upload rendering, redirect/hash params, DOM sinks, or hunting reflected/stored/DOM XSS. For payloads that fire later in a context you can't see, use hunt-bxss.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Kur1sulab/blackboxtheir own version, first seen Aug 12, 2026
- Encod3d-Sec/TORCHtheir own version, first seen Aug 12, 2026
- elementalsouls/Claude-BugHuntertheir own version, first seen Jul 1, 2026
- H-mmer/pentest-agentstheir own version, first seen May 6, 2026
- ArianHobson333/claude-bug-bounty-stacktheir own version, first seen Apr 14, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- elementalsouls/Claude-BugHunter★ 4.8ksame name
- H-mmer/pentest-agents★ 984same name
- Encod3d-Sec/TORCH★ 329same name
- ArianHobson333/claude-bug-bounty-stack★ 9same name
- Kur1sulab/blackbox★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- ffuf-web-fuzzingSkill
- hunt-aiSkill
- hunt-atoSkill
- hunt-bxssSkill
- hunt-idorSkill
- hunt-rbacSkill
- hunt-rceSkill
- hunt-reconSkill
- hunt-ssrfSkill
- hunt-vibecodedSkill
- js-analyzeSkill
- triage-findingSkill
- write-reportSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Reflected: search and error params, redirect/return_url params (Reddit redirect -> XSS $5k), OAuth/login flows (LINE OAuth, Shopify Google …
- Distinctive: line 35
Find injection points: every reflected/stored input from recon — params, headers, path, JSON fields, file contents/names, markdown.
- Very specific: line 44
Bypass filters/WAF/sanitizer/CSP: if blocked:
- Distinctive: line 56
Data exfiltration: read authenticated page content / API responses and send to your collector (TikTok XSS -> data exfil).
- Distinctive: line 74
Never pop/execute against real users.
- Distinctive: line 76
REMOVE the stored payload after proving it — don't leave live XSS on the app.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
hunt-xss — Reflected / Stored / DOM XSS Hunting
You are assisting an authorized bug bounty hunter under a program's published
policy. XSS impact ranges from a useless alert(1) to $16k-$20k stored XSS and
full account takeover. Teach them to find the injection, nail the CONTEXT, bypass
filters, and — most importantly — ESCALATE past alert(1) to real impact.
(Depth: cloned hackerone-reports/tops_by_bug_type/TOPXSS.md.)
Core philosophy
XSS = your JavaScript runs in someone else's session. The finding is the
injection; the BOUNTY is (a) who executes it and (b) what you escalate to. Rank
by that: stored XSS in a sensitive/shared context that leads to ATO >> reflected
XSS with real impact >> self-XSS (usually N/A). alert(1) only proves execution;
the report needs the escalation.
Types and where they hide
- Stored (highest value): markdown/rich-text editors (GitLab markdown $16k, Kroki diagram $13.95k), profile/staff-name fields, comments/messages (Basecamp email $5k, Reddit RichText $5k), address/billing fields, file upload rendering (SVG/HTML upload -> stored XSS), cache poisoning (PayPal signin $18.9k).
- Reflected: search and error params, redirect/
return_urlparams (Reddit redirect -> XSS $5k), OAuth/login flows (LINE OAuth, Shopify Google login), marketing/landing pages. - DOM-based:
location.hash/searchinto sinks (Slack hash, DuckDuckGo search) —innerHTML,document.write,eval,jQuery.html(),element.src,setAttribute. - mXSS: mutation via the browser's HTML re-parsing, bypasses many sanitizers.
Discovery methodology
- Find injection points: every reflected/stored input from recon — params, headers, path, JSON fields, file contents/names, markdown.
- Identify the CONTEXT where your input lands (this dictates the payload):
- HTML body ->
<svg onload=...>/<img src=x onerror=...> - HTML attribute -> break out with
"or', then add an event handler - JS string -> break out with
';/</script> - URL/href ->
javascript:URI - CSS / template -> context-specific gadgets
- HTML body ->
- Confirm execution with a benign marker in the RIGHT context.
- Bypass filters/WAF/sanitizer/CSP if blocked:
- Encoding (HTML/URL/unicode), case/whitespace/comment tricks, mutation (mXSS), unclosed tags, alternate event handlers/tags.
- CSP: look for
unsafe-inline, JSONP endpoints, allowlisted CDNs, DOM- clobbering and script-gadget bypasses.
- Locate the DOM sink for DOM-XSS by tracing source -> sink in the JS.
Escalation (this is the actual report — go past alert(1))
- Account takeover: steal non-HttpOnly session cookies, or exfil CSRF tokens and perform account-changing actions (email/password) -> ties into hunt-ato. (Razer reflected XSS -> ATO; Superhuman cookie+XSS -> ATO.)
- Credential theft: inject a fake login/keylogger (Yelp XSS ATO via keylogger).
- Data exfiltration: read authenticated page content / API responses and send to your collector (TikTok XSS -> data exfil).
- Privileged context: stored XSS that fires in an admin/staff panel -> if you can't see it fire, that's blind XSS (use hunt-bxss).
- XSS -> RCE: in desktop/Electron or headless contexts (Valve Panorama).
Impact demonstration
- Show execution in the correct context, then a MINIMAL proof of the escalation (e.g. your own cookie captured to your listener, a state-change performed) done against YOUR OWN test account.
- Note mitigations present/absent: HttpOnly, CSP, SameSite — they shape severity.
Tools
- Automated reflection/DOM detection:
dalfox(great for param scanning), Burp. - Payloads/bypasses: PortSwigger XSS cheat sheet. Own collector for exfil PoC.
Scope & ethics guardrails
- Fire payloads only in YOUR OWN browser/session or against your own test account. Never pop/execute against real users.
- For stored XSS, use a benign payload (e.g. a callback to your listener), and REMOVE the stored payload after proving it — don't leave live XSS on the app.
- Cookie/session theft PoC: capture only YOUR OWN session as proof; never harvest real users' cookies/data.
- Confirm scope. Self-XSS with no delivery path is usually N/A — run findings through triage-finding before reporting.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

