docx
Warn
Audited by Gen Agent Trust Hub on Apr 8, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]:
scripts/office/soffice.pywrites C source code to a temporary file and compiles it into a shared library usinggccat runtime. - [DYNAMIC_EXECUTION]:
scripts/office/soffice.pyuses theLD_PRELOADenvironment variable to inject the compiled shared library into thesofficeprocess. - [DYNAMIC_EXECUTION]:
scripts/accept_changes.pygenerates a LibreOffice Basic macro and saves it to the user's profile before executing it via a specializedvnd.sun.star.scriptURI. - [COMMAND_EXECUTION]: The skill invokes various external command-line tools including
soffice,pandoc,pdftoppm, andgccto perform its tasks. - [EXTERNAL_DOWNLOADS]:
SKILL.mdcontains instructions to install the well-knowndocxlibrary from the npm registry. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted Word documents and possesses capabilities such as command execution and runtime compilation. 1. Ingestion points:
scripts/office/unpack.py(reads .docx files). 2. Boundary markers: Present inSKILL.mdvia specific task instructions. 3. Capability inventory:subprocess.runcalls across multiple scripts for system tool execution. 4. Sanitization: Employsdefusedxmlfor secure XML processing.
Audit Metadata