docx
Warn
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill relies extensively on executing system-level commands. In scripts/office/soffice.py, the gcc compiler is invoked to create a shared library from an embedded C source string. This library is subsequently used with LD_PRELOAD when running soffice to modify process behavior. Additionally, scripts/office/validators/redlining.py executes git for document comparison, and other scripts call soffice for document conversion and processing. Furthermore, the skill processes untrusted data from docx files which enter the context through XMLEditor.py and are used in subprocess calls, creating an indirect prompt injection surface.
- [PROMPT_INJECTION]: The SKILL.md and docx-js.md files contain several instructions marked as CRITICAL or IMPORTANT. While these are currently focused on technical formatting requirements such as page sizing and style IDs, they demonstrate a pattern of using urgent instructional language.
- [EXTERNAL_DOWNLOADS]: The documentation instructs users to install the docx library globally using npm. While a standard dependency, this involves downloading external code from a public registry at setup time.
Audit Metadata