docx
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pydynamically compiles a C-based socket shim at runtime usinggccand injects it into the LibreOffice (soffice) process viaLD_PRELOAD. This is a compatibility mechanism designed to allow the software to run in environments where Unix sockets are restricted. The implementation includes security best practices such as using unpredictable temporary directories (mkdtemp) and automatic cleanup routines. - [COMMAND_EXECUTION]: The skill invokes several external command-line utilities, including
soffice,pandoc,pdftoppm,git, andgcc, via thesubprocessmodule. These are used for legitimate document processing, rendering, and validation tasks. The skill demonstrates defensive coding by filtering environment variables to prevent accidental exposure of sensitive credentials to subprocesses. - [INDIRECT_PROMPT_INJECTION]: Because the skill processes Word documents from potentially untrusted external sources, it represents a data ingestion surface. However, it implements robust mitigations, including explicitly stripping symlink entries from unpacked document archives and utilizing the
defusedxmllibrary to prevent XML-based attacks.
Audit Metadata