hunt-dom

仓库创建 2026年5月5日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由

覆盖前端链路,能发现服务端不可见的隐蔽漏洞。

▸ 风险提示

含攻击与漏洞利用内容,禁止未授权使用

这个 Skill 做什么

发现客户端 DOM 漏洞,如 DOM clobber、postMessage 和 ServiceWorker 滥用。

专门找客户端的 DOM 类漏洞:DOM Clobbering、postMessage 缺 origin 校验、Service Worker 被滥用、CSS 字符外泄、客户端模板注入等。用在定位 DOM-XSS、基于浏览器的认证绕过或无服务器交互的 token 泄露场景,因为这些攻击往往服务器根本看不到。特别点是攻击在受害者浏览器执行,WAF 和后端过滤常常不起作用,需要做浏览器级别的 PoC。

▸ 展开 SKILL.md 英文原文

Hunt client-side DOM vulnerabilities — DOM Clobbering (overwrite JS globals via HTML injection), PostMessage hijacking (missing origin check), Service Worker abuse (intercept requests from same-origin script), CSS Injection/Exfiltration (attribute selectors → token char-by-char via OOB), client-side template injection, dangerouslySetInnerHTML. Grounded in named public research: Gareth Heyes / PortSwigger DOM-clobbering + DOM-Invader, Michał Bentkowski DOMPurify clobbering bypasses, jQuery htmlPrefilter XSS (CVE-2020-11022 / CVE-2020-11023), d0nut CSS-exfil research. Use when hunting DOM-XSS, client-side auth bypass, or token exfiltration without server-side interaction.

开发编程DOM浏览器漏洞postMessage通用
3.1k
Stars
480
Forks
40
仓库内 Skill
+245
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/elementalsouls/Claude-BugHunter/main/skills/hunt-dom/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/elementalsouls/Claude-BugHunter/main/skills/hunt-dom/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# HUNT-DOM — DOM Clobbering / PostMessage / Service Worker / CSS Exfil

## Crown Jewel Targets

DOM-based attacks execute in the victim's browser — the server often never sees the payload, so WAFs and server-side input filters do not apply. PostMessage missing-origin-check = cross-origin token theft with no XSS needed.

**Highest-value chains:**
- **DOM Clobbering → DOM-XSS / auth bypass** — HTML *markup* injection (no `<script>`) overwrites a JS global like `window.config` or shadows `document.getElementById`, and the app later treats that value as a URL/code → sink fires under a markup-only injection where script is filtered.
- **PostMessage no origin check → session theft / DOM-XSS** — a 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有