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.py dynamically compiles a C-based socket shim at runtime using gcc and injects it into the LibreOffice (soffice) process via LD_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, and gcc, via the subprocess module. 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 defusedxml library to prevent XML-based attacks.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 2, 2026, 05:01 PM