docx
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pyperforms runtime compilation of a C-based shim and loads it viaLD_PRELOAD. This is used to enable LibreOffice functionality in environments where Unix domain sockets are restricted. The implementation follows security best practices by using unpredictable temporary directories with restricted (0700) permissions to prevent local privilege escalation or file swapping. - [DYNAMIC_EXECUTION]:
scripts/accept_changes.pydynamically generates and writes a LibreOffice Basic macro to the user profile. This is a functional requirement for programmatic control of the 'Accept Tracked Changes' feature in a headless environment. - [COMMAND_EXECUTION]: Multiple scripts utilize
subprocess.runto execute system utilities includingsoffice,pandoc,pdftoppm, andgit. These executions are sanitized via environment filtering (defined inscripts/office/soffice.py) to ensure that credentials or sensitive tokens from the agent's environment are not exposed to subprocesses. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external documents, creating a potential surface for indirect prompt injection.
- Ingestion points: Document XML is read and parsed in
scripts/merge_runs.pyandscripts/comment.py; document content is extracted as Markdown usingpandocas described inSKILL.md. - Boundary markers: Instructions do not explicitly mandate delimiters or 'ignore' instructions when reading converted document content.
- Capability inventory: The skill can execute document conversion tools, write to the filesystem, and compile code via
gcc. - Sanitization: The skill performs extensive structural sanitization (e.g., stripping symlinks from ZIP archives and using safe XML parsers), but natural language content extracted from documents is not filtered for malicious instructions directed at the agent.
Audit Metadata