xxe
What it does
This skill is a short playbook for XML external entity flaws, where an XML parser is allowed to load outside content. It is for developers and reviewers who check XML handling in their own code.
When to use it
- ✓When a developer asks the agent to check whether XML parsers in an authorized app load external entities.
- ✓When the agent reviews Java, Python or .NET code that reads XML from users.
- ✓When a report needs a positive test that leaks content and a negative control that does not.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/xxe/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you check whether the XML upload feature in our authorized app allows external entities to be loaded?”
5 new skills a week. 1 minute to read.
How it works
The agent finds XML parser calls, checks whether external entities and DTDs are enabled, and runs a harmless test that shows whether the parser reads outside content.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
XXE Playbook
Find parser sinks
- Java:
DocumentBuilderFactory,SAXParserFactory,XMLInputFactory - Python:
lxml.etree,xml.dom.minidom,xml.sax - .NET:
XmlDocument,XDocument,XmlReader
Dangerous defaults
- DTD enabled
- External entities enabled
- Network/file entity resolution enabled
Payloads
- File read: entity to
file:///etc/passwd - SSRF: entity to internal URL (metadata service, localhost admin)
Validation
- Positive: parser output contains file content or internal response markers.
- Negative: same XML without entity expansion must not leak content.
FAQ
What is an XML external entity flaw?
It is when an XML parser follows references to outside files or addresses, which can expose data.
What defaults are risky?
The skill says parsers with DTDs and external entities enabled are the risky case.
What is the negative control?
It is the same XML without the entity reference, which must not return any outside content.
Details
Original description by the author
Hunt XML External Entity flaws in parsers and validate file read / SSRF impact with strict negative controls.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #13982
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.