office
Fail
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: HIGHPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The setup scripts in
docx/scripts/setup.shand the rendering logic indocx/scripts/render_docx.pyusesudoto install system-level packages such aslibreoffice-writer,poppler-utils, and the.NET SDK. These operations are performed to configure the local environment for document authoring and rendering. - [EXTERNAL_DOWNLOADS]: The skill fetches the .NET installation script from Microsoft's official domain (
https://dot.net/v1/dotnet-install.sh) during the environment check and setup process indocx/scripts/env_check.shanddocx/scripts/setup.sh. - [EXTERNAL_DOWNLOADS]: The PDF rendering pipeline in
pdf/scripts/make.shinstalls theplaywrightpackage and the Chromium browser from official sources. - [COMMAND_EXECUTION]: Multiple Python and Shell scripts execute external binaries (including
soffice,dotnet, andpdftoppm) via thesubprocessmodule to perform document manipulation, conversion, and validation tasks. These calls generally use list-based arguments to mitigate shell injection risks. - [DYNAMIC_EXECUTION]: The script
pdf/scripts/pdf_runtime.pyemploysimportlib.import_modulefor the lazy loading of functional dependencies likepypdfandreportlab. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user data in the form of JSON content files, Markdown, and existing office documents, while maintaining capabilities to execute system commands.
- Ingestion points:
content.jsonis processed inpdf/scripts/render_body.py, and various document formats are parsed inpdf/scripts/reformat_parse.py. - Boundary markers: No explicit markers were found in the content processing logic to distinguish data from instructions.
- Capability inventory: The skill invokes several subprocesses (
soffice,dotnet,pdftoppm) and performs local file system writes. - Sanitization: Arguments to subprocesses are handled through list-based APIs rather than shell strings.
Recommendations
- HIGH: Downloads and executes remote code from: https://dot.net/v1/dotnet-install.sh - DO NOT USE without thorough review
Audit Metadata