skills/blake-john/agent-config/docx/Gen Agent Trust Hub

docx

Warn

Audited by Gen Agent Trust Hub on Apr 3, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/office/soffice.py performs dynamic execution by writing C source code to a temporary file and compiling it at runtime using gcc. The resulting shared library is injected into the soffice process using the LD_PRELOAD environment variable to shim socket-related system calls, a technique used to bypass environment constraints.
  • [COMMAND_EXECUTION]: The script scripts/accept_changes.py generates a StarBasic macro and writes it to a temporary LibreOffice profile directory. This macro is then automatically executed by the soffice binary to perform document manipulations.
  • [COMMAND_EXECUTION]: The skill uses subprocess.run to execute multiple external system binaries, including soffice, pandoc, pdftoppm, and git, across several utility scripts.
  • [PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection (Category 8). Ingestion points: Word documents processed by scripts/office/unpack.py and pandoc. Boundary markers: Absent. Capability inventory: Use of subprocess.run for document conversion and system interactions. Sanitization: Employs defusedxml for XML parsing. Malicious instructions embedded in processed documents could potentially influence the agent's behavior because the instructions do not specify any isolation or disregard mechanisms for content read from external files.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 3, 2026, 08:32 AM