docx
Warn
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute external tools includingpandoc,soffice,git, andgccfor document processing and shim compilation. - [REMOTE_CODE_EXECUTION]: In
scripts/office/soffice.py, the skill dynamically generates and compiles C source code at runtime usinggcc. It then utilizes theLD_PRELOADenvironment variable to inject the resulting shared library into thesofficeprocess as a compatibility shim. - [PROMPT_INJECTION]: The skill processes untrusted document content, creating a surface for indirect prompt injection. Ingestion points: Word documents loaded for extraction or editing (e.g., via
pandocas referenced inSKILL.md). Boundary markers: No explicit delimiters or instruction-ignoring warnings are used to wrap extracted content. Capability inventory: Significant system control via shell execution and file system access. Sanitization: XML parsing is hardened withdefusedxml, but document content text is not sanitized for potential instructions.
Audit Metadata