skills/alter123-zz/raccoonclaw/docx/Gen Agent Trust Hub

docx

Warn

Audited by Gen Agent Trust Hub on Apr 25, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill performs runtime compilation of system libraries and dynamic macro generation to handle Office document processing.
  • scripts/office/soffice.py dynamically writes a C source file to the temporary directory and compiles it into a shared library (.so) using gcc. This library is subsequently loaded via the LD_PRELOAD environment variable to shim system calls (socket, listen, accept, etc.) during the execution of LibreOffice.
  • scripts/accept_changes.py dynamically generates a LibreOffice StarBasic macro, writes it to a configuration file within a temporary LibreOffice profile directory, and executes it via the soffice command-line interface.
  • Multiple components including scripts/office/soffice.py, scripts/accept_changes.py, and scripts/office/validators/redlining.py use subprocess.run to execute external tools such as gcc, soffice, git, pandoc, and pdftoppm.
  • [PROMPT_INJECTION]: The skill provides an attack surface for indirect prompt injection as it processes complex XML data from Office documents.
  • Ingestion points: scripts/office/unpack.py and scripts/accept_changes.py read and unpack content from user-provided .docx and .doc files.
  • Boundary markers: Absent. The instructions in SKILL.md for manipulating XML do not include specific delimiters or warnings to ignore instructions embedded within the document data.
  • Capability inventory: High risk. The skill possesses the capability to execute shell commands and compile C code via subprocess.run across multiple scripts.
  • Sanitization: The skill uses the defusedxml and lxml libraries for XML parsing, which provides protection against common XML-based attacks like XXE.
  • [EXTERNAL_DOWNLOADS]: SKILL.md provides instructions to the user or agent to install the well-known docx package globally using the Node Package Manager (npm install -g docx).
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 25, 2026, 03:08 AM