skills/mukul975/anthropic-cybersecurity-skills/testing-for-xml-injection-vulnerabilities/Gen Agent Trust Hub
testing-for-xml-injection-vulnerabilities
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONOBFUSCATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The skill includes payloads designed to access sensitive local file paths (e.g.,
/etc/passwd,C:/windows/win.ini) and cloud metadata endpoints (e.g.,169.254.169.254/latest/meta-data/). These are used as static strings inSKILL.mdandscripts/agent.pyfor testing remote targets for data disclosure vulnerabilities. - [COMMAND_EXECUTION]: The
scripts/agent.pyutility utilizes therequestslibrary to perform network POST operations against target URLs provided by the user, transmitting XML and JSON payloads. - [OBFUSCATION]: The
XXE_PAYLOADSdictionary inscripts/agent.pycontains autf7_encodingentry which holds an encoded XML payload. This is intended to demonstrate WAF evasion techniques but constitutes encoded executable content within the skill's scripts. - [INDIRECT_PROMPT_INJECTION]: The skill ingests arbitrary data from target server responses and incorporates it directly into a local JSON report file without sanitization. This establishes a vulnerability surface where the agent could be influenced by malicious content reflected from a target system.
- Ingestion points: Network response bodies (
resp.text) captured by theXMLInjectionTestAgentinscripts/agent.py. - Boundary markers: None. The report is generated using standard JSON serialization without delimiters or instructions to ignore embedded content.
- Capability inventory: Network POST requests via
requests, directory and file creation viapathlib.Path.mkdirandjson.dump. - Sanitization: No filtering or validation is performed on the data retrieved from external servers before it is stored in the findings report.
Audit Metadata