docx
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Python's
subprocess.runto execute system utilities for document processing. - In
ooxml/scripts/pack.py, it invokessoffice(LibreOffice) to validate documents by converting them to HTML. - In
ooxml/scripts/validation/redlining.py, it invokesgit difffor word-level comparisons. - These calls are securely implemented using argument lists rather than shell strings, which prevents shell command injection.
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided
.docxfiles by converting them to markdown or extracting XML content, creating an ingestion surface for untrusted data. - Ingestion points include
ooxml/scripts/unpack.pyand instructions inSKILL.mdto usepandoc. - The skill mitigates XML-based vulnerabilities by using the
defusedxmllibrary for all XML parsing operations. - [PROMPT_INJECTION]: The
SKILL.mdfile contains meta-instructions directing the agent to avoid using range limits when reading its documentation files (docx-js.mdandooxml.md). - While this overrides normal tool usage parameters, it is a task-specific optimization meant to ensure the agent has the full API context for document manipulation.
Audit Metadata