skills/meodai/skills/docx/Gen Agent Trust Hub

docx

Warn

Audited by Gen Agent Trust Hub on Nov 14, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The script scripts/office/soffice.py contains a function _ensure_shim that writes a C source string to a temporary file and compiles it into a shared object using gcc. This library is then used via the LD_PRELOAD environment variable to shim system calls (socket, listen, accept, close, read) in the soffice (LibreOffice) process. This is used to redirect Unix domain socket communication to pipes/socketpairs to adapt to sandboxed environments.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and extract content from untrusted .docx files via pandoc and XML parsing.
  • Ingestion points: Document content is extracted in SKILL.md using pandoc and XML files are unpacked in scripts/office/unpack.py.
  • Boundary markers: The instructions do not consistently use delimiters or explicit warnings for the agent to ignore instructions contained within the extracted document text.
  • Capability inventory: The skill has broad capabilities including arbitrary shell command execution via subprocess.run (to call soffice, pandoc, git, pdftoppm) and file system write access.
  • Sanitization: While the skill uses defusedxml to prevent XML-based attacks (XXE), it does not sanitize the resulting text content for potential prompt injection patterns before passing it to the agent context.
  • [COMMAND_EXECUTION]: Multiple scripts utilize subprocess.run to execute external binaries:
  • scripts/accept_changes.py and scripts/office/soffice.py execute soffice for document conversion.
  • scripts/office/soffice.py executes gcc for runtime compilation.
  • scripts/office/validators/redlining.py executes git diff for change validation.
  • Instructions in SKILL.md guide the agent to use pdftoppm and pandoc via the shell.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 14, 2026, 02:53 PM