docx
Warn
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPRIVILEGE_ESCALATIONPROMPT_INJECTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
ooxml/scripts/unpack.pyuseszipfile.ZipFile.extractall()without validating entry paths. This represents a 'Zip Slip' vulnerability where a crafted document could contain entries with directory traversal characters (e.g.,../../.ssh/authorized_keys) to overwrite sensitive files outside the intended directory. - [DATA_EXFILTRATION]: The validation logic in
ooxml/scripts/validation/base.pyandooxml/scripts/validation/pptx.pyemployslxml.etree.parse()on document components. By default,lxmlis vulnerable to XML External Entity (XXE) attacks. A malicious document could define external entities that, when parsed, allow an attacker to read local system files or perform SSRF attacks. - [PRIVILEGE_ESCALATION]: The documentation in
SKILL.mdinstructs the user or agent to runsudo apt-get installto install system dependencies likepandocandlibreoffice. These instructions promote the use of administrative privileges, which could lead to unauthorized system modifications if executed autonomously by an agent with shell access. - [PROMPT_INJECTION]: The
SKILL.mdfile contains strong behavioral overrides using authoritative language, such as 'MANDATORY - READ ENTIRE FILE' and 'NEVER set any range limits'. These instructions attempt to override the model's standard context-handling efficiency protocols.
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to interpret data from untrusted Word documents, which is a significant vulnerability surface. Evidence chain:
- Ingestion points:
ooxml/scripts/unpack.py(binary ZIP data),ooxml/scripts/validation/base.py(XML components). - Boundary markers: Absent. The agent is not instructed to isolate or ignore instructions embedded within document text.
- Capability inventory: Shell command execution via
subprocess.run(inpack.pyandredlining.py) and arbitrary file write capabilities viaextractalland theDocument.save()method. - Sanitization: Partial. While
defusedxmlis used in some script components, the core validation logic falls back to standardlxmlandxml.etree.ElementTree, which are not secure against malicious XML content.
Audit Metadata