docx
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- System Command Execution: The skill provides instructions for installing necessary system utilities (such as pandoc, libreoffice, and poppler-utils) using commands that require elevated privileges (
sudo apt-get install). While these are standard setup steps for the environment, the use ofsudois a security consideration. - Indirect Prompt Injection Surface: The skill is designed to ingest and analyze text from external .docx files. This creates a surface for indirect prompt injection, where an external document might contain instructions intended to influence the agent's behavior during the analysis or editing phase.
- Dynamic Code Generation and Execution: The workflow requires the agent to generate and execute JavaScript (using
docx-js) and Python scripts to perform document manipulation. This process involves executing code generated at runtime based on the skill's documentation and potentially influenced by the content of documents being processed. - XML Security Mitigation: The skill explicitly includes
defusedxmlin its dependencies, which is a positive security practice used to prevent XML External Entity (XXE) attacks when parsing Office Open XML (OOXML) structures.
Audit Metadata