docx
Warn
Audited by Gen Agent Trust Hub on Jul 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to use
sudofor environment setup, which involves executing system commands with administrative privileges. Evidence:SKILL.mdcontainssudo apt-get installcommands forpandoc,libreoffice, andpoppler-utils.\n- [COMMAND_EXECUTION]: The skill executes external command-line utilities viasubprocess.runto perform core tasks like document extraction, validation, and diffing. Evidence:SKILL.md(pandoc),ooxml/scripts/pack.py(soffice), andooxml/scripts/validation/redlining.py(git diff).\n- [EXTERNAL_DOWNLOADS]: Runtime software installation from public package registries is required for skill functionality. Evidence:pip install defusedxmlandnpm install -g docxinSKILL.md.\n- [PROMPT_INJECTION]: The skill maintains an attack surface for indirect prompt injection as it processes untrusted content from Word documents while having access to system-level tools.\n - Ingestion points:
ooxml/scripts/unpack.pyandooxml/scripts/validation/docx.py(reading XML from unzipped Word documents).\n - Boundary markers: Absent; extracted document text is not encapsulated with instructions to ignore embedded prompts.\n
- Capability inventory: High-risk command execution and software installation capabilities.\n
- Sanitization: While
defusedxmlis used for major XML operations,ooxml/scripts/validation/base.pyuses standardlxml.etree.parsewhich may be vulnerable to XML-based attacks if malicious documents are provided.
Audit Metadata