docx
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pycontains logic to compile a C-language shim at runtime. - It writes an embedded C source string to a temporary file.
- It executes
gccto compile the source into a shared object (.so). - It uses the
LD_PRELOADenvironment variable to load the shim when running LibreOffice, ensuring functionality in restrictive sandbox environments. - [COMMAND_EXECUTION]: Several scripts utilize
subprocess.run()to interface with system-level tools. scripts/accept_changes.pyandscripts/office/soffice.pyexecutesoffice(LibreOffice).scripts/office/validators/redlining.pyexecutesgit difffor comparing document text.scripts/office/soffice.pyexecutesgccfor the shim compilation mentioned above.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted document files which could theoretically contain malicious instructions.
- Ingestion points: The skill unzips and parses
.docxand.dotxfiles provided by the user or external parties (referenced inSKILL.mdandscripts/merge_runs.py). - Boundary markers: The instructions in
SKILL.mdexplicitly recommend runningfind unpacked -type l -deleteto remove potentially malicious symlinks from untrusted archives. - Capability inventory: The skill has the capability to write to the file system and execute shell commands (
soffice,git,gcc). - Sanitization: The scripts use the
defusedxmllibrary throughout (e.g., inscripts/merge_runs.pyandscripts/office/validators/base.py) to prevent XML External Entity (XXE) and other XML-based attacks.
Audit Metadata