docx
Fail
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pycontains embedded C source code that is written to a temporary file and compiled usinggccat runtime. The resulting library is then injected into the LibreOffice process via theLD_PRELOADenvironment variable to hijack low-level system calls such assocket,listen, andaccept. Furthermore,scripts/accept_changes.pydynamically writes a StarBasic macro to the filesystem and executes it within the LibreOffice environment. - [COMMAND_EXECUTION]: The skill uses
subprocess.runto invoke thegcccompiler at runtime inscripts/office/soffice.py. It also executes other system binaries includingsoffice,pandoc,pdftoppm, andgitacross multiple scripts to perform document conversions and comparisons. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to unpack and process XML content from untrusted
.docxfiles, presenting a vulnerability surface where instructions embedded in a document could influence the agent. - Ingestion points: Word document XML content is processed by
scripts/office/unpack.pyandscripts/document.py. - Boundary markers: No delimiters or markers are used to separate document content from agent instructions.
- Capability inventory: The skill has extensive command execution and process manipulation capabilities.
- Sanitization: No input validation or sanitization is performed on text extracted from documents.
Recommendations
- AI detected serious security threats
Audit Metadata