docx
Warn
Audited by Gen Agent Trust Hub on Jun 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of the
subprocessmodule to execute system utilities such assoffice(LibreOffice),pandoc,git, andgcc. These are used for document processing, comparison, and the compilation of a technical shim. - [REMOTE_CODE_EXECUTION]: The script
scripts/office/soffice.pycontains an embedded C source string (_SHIM_SOURCE) that is written to a temporary file, compiled usinggcc, and then injected into thesofficeprocess using theLD_PRELOADenvironment variable. This is intended to facilitate socket communication in sandboxed environments but involves high-risk runtime code generation and process injection. - [PROMPT_INJECTION]: The skill is designed to ingest and process content extracted from external Word documents. This ingestion of untrusted data creates a vulnerability to indirect prompt injection attacks.
- Ingestion points: Content extracted from
.docxfiles usingpandoc(referenced inSKILL.md). - Boundary markers: Absent from the skill instructions.
- Capability inventory: Extensive command execution capabilities via
subprocess.runacross multiple scripts (scripts/accept_changes.py,scripts/office/soffice.py,scripts/office/validators/redlining.py) and file system write operations. - Sanitization: The skill uses
defusedxmlfor XML parsing to mitigate XML-based attacks, but does not implement specific sanitization for natural language instructions embedded in document content.
Audit Metadata