docx
Pass
Audited by Gen Agent Trust Hub on Jun 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes various system commands to perform its functions:
scripts/office/soffice.pyexecutesgccto compile a technical shim (lo_socket_shim.c) at runtime to allow LibreOffice to function in restricted environments.scripts/accept_changes.pyinvokessoffice(LibreOffice) to programmatically accept tracked changes in documents.scripts/office/validators/redlining.pyusesgit diffto identify and validate changes made to document text content.SKILL.mddocuments and triggers the use ofpandocfor text extraction andpdftoppm(Poppler) for image conversion.- [EXTERNAL_DOWNLOADS]: The instructions in
SKILL.mddirect the agent to install thedocxpackage globally usingnpm install -g docxfor generating new documents. - [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pycontains an embedded C source string that is compiled and loaded viaLD_PRELOADat runtime. While this is used as a workaround for socket restrictions in sandboxed environments, it involves the dynamic generation and loading of executable code. - [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection as it processes untrusted Office documents:
- Ingestion points: Document files are processed by
scripts/office/unpack.pyandpandoc(viaSKILL.md). - Boundary markers: None identified in instructions for separating document content from agent instructions.
- Capability inventory: The skill has significant capabilities including file writing, network/socket shimming, and subprocess execution across multiple scripts.
- Sanitization: The skill uses
defusedxmlfor XML parsing and provides an extensive validation system to ensure XML structure conforms to Office Open XML schemas.
Audit Metadata