docx

Warn

Audited by Gen Agent Trust Hub on Apr 12, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the subprocess module to execute system binaries for document processing.
  • In scripts/office/soffice.py, it writes a C source file to a temporary directory and compiles it into a shared library (.so) using gcc. This library is then injected into the LibreOffice process using the LD_PRELOAD environment variable to shim socket functions.
  • In scripts/accept_changes.py, it executes soffice to automate document edits.
  • In scripts/office/validators/redlining.py, it executes git to perform word-level diffing between versioned documents.
  • [PROMPT_INJECTION]: The skill ingests untrusted content from user-supplied Word documents, creating a surface for indirect prompt injection.
  • Data is extracted using pandoc or by unpacking document XML.
  • There is a risk that instructions embedded in document text or metadata could be misinterpreted as commands by the agent, especially given the skill's extensive file and command execution capabilities.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 12, 2026, 06:51 PM