docx
Fail
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill performs runtime C code compilation and library injection.
scripts/office/soffice.pydynamically generates a C source file in the temporary directory, compiles it into a shared object usinggcc, and then uses theLD_PRELOADenvironment variable to inject the resulting binary into LibreOffice subprocesses. This technique is used to shim system-level socket calls. - [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute multiple external binaries and system utilities. This includes runningsofficefor document conversion,gccfor compilation,git difffor comparing document text, andpandocorpdftoppmfor processing document content and images. - [PROMPT_INJECTION]: The skill has a significant vulnerability surface for indirect prompt injection. It extracts text and XML from untrusted user-supplied Word documents (
scripts/office/unpack.py) without applying sanitization, delimiters, or boundary markers. This data is then processed in an environment where the agent has access to powerful tools like compilers and system utilities, creating a risk that instructions embedded in a document could be executed. - [EXTERNAL_DOWNLOADS]: The instructions in
SKILL.mdrequire the global installation of thedocxNode.js package vianpm install -g docx. The skill also depends on the presence of system-level software includingLibreOffice,pandoc, andPopplerutilities.
Recommendations
- AI detected serious security threats
Audit Metadata