hunt-xxe SKILL.md skillA
hunt-xxe from galact-byte/galact-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add galact-byte/galact-skills/hunt-xxe@git:20260806.1b94651Pins git:20260806.1b94651 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- galact-byte/galact-skills
- Path
skills/hunt-xxe/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260806.1b94651, committed Aug 6, 2026
- Size
- 3,898 bytes
- Repository stars
- 7
- License
- a license file GitHub does not identify
在授权渗透测试中挖掘 XML 外部实体注入(XXE)。当目标解析用户可控的 XML——SOAP、SAML、SVG、RSS/Atom、DOCX/XLSX、WSDL/XSL、含 XML 的反序列化——且可能启用了外部实体时使用。典型场景:外部实体读本地文件、SSRF 打内网、OOB 带外/报错型外带数据、XXE→反序列化链。适用目标类型 Web / REST API / SOAP。触发场景包括用户说"测下 XXE""这个 XML/SVG 接口能不能读文件""XXE 打内网/带外""SAML 里能注实体吗"。输出:XXE 触发点 + 读到的文件/带外证据的 finding(含 killed 记录)。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# hunt-xxe · XML 外部实体注入猎杀 只解决 **XXE 一类**:找到解析用户 XML 的入口,判断外部实体是否被解析,用**文件读取回显**或**OOB 带外**证明。对无回显场景用外部 DTD 做 OOB/报错型外带。 XXE 常打到内网与本地文件,风险高。默认只**读授权内的无害文件**(如 `/etc/hostname`)+ 带外探测,不读敏感数据、不打未授权内网。payload、OOB 技巧、真实报告见 `reference.md`。 ## Scope(授权范围) **先确认授权。** 落实:授权目标、可读文件边界、是否允许 OOB(需你的外部 HTTP/DTD 服务器与 OAST)、是否允许内网 SSRF。任一不清楚就停下问。 ## Goal 判定 XML 解析是否启用外部实体,达成**本地文件读取 / SSRF / OOB 外带**,给出可复现 PoC 与读到的内容/带外证据。 ## Workflow `scope-check → recon → hunt → validate → report`。 ### 1. scope-check - **动作**:写 `evidence/scope.txt`(oast_domain / dtd_url / allow_internal)。 - **命令**:`bash tools/recon.sh <target> --scope-only`。 - **终止条件**:scope 明确,否则 KILL。 ### 2. recon - **动作**:找吃 XML 的入口——`Content-Type: application/xml|text/xml|application/soap+xml`、SVG/DOCX/XLSX 上传、SAML、RSS 导入、任何 body 是 XML 的 API。 - **输出**:`recon/endpoints.json`。 - **命令**:`bash tools/recon.sh <target>`。 - **终止条件**:至少 1 个 XML 入口。 ### 3. hunt - **动作**:对每个入口发分级 payload:①内部实体回显(判是否解析实体)②`file://` 读授权文件 ③外部实体打 OAST(OOB 判可达)④无回显则挂外部 DTD 做报错/带外外带。 - **输出**:`candidates.json`。 - **命令**:`python tools/hunt_xxe.py --input recon/endpoints.json --output candidates.json --oast <域名> [--read-file /etc/hostname]`。 …
Read the whole file at its exact version.
How to install
mdr add galact-byte/galact-skills/hunt-xxe@sha256:8f37f4f1d97cdc73The line at the top of this page pins the label git:20260806.1b94651, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ccylw2mkgiazefmh)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Aug 6, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3898 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
galact-byte/galact-skills · 7 stars · license a license file GitHub does not identify · pushed 2026-10-12 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_ccylw2mkgiazefmh GET https://markdownregistry.com/api/v1/resolve?ref=galact-byte/galact-skills/hunt-xxe GET https://markdownregistry.com/api/v1/blob/8f37f4f1d97cdc73f40d2aa18dafa2a29e720d8f04ad8da1d80653fd00a2bb2a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from galact-byte/galact-skills
Every file in galact-byte/galact-skills