skills/tjxj/z-skills/z-md-to-word/Gen Agent Trust Hub

z-md-to-word

Pass

Audited by Gen Agent Trust Hub on Jul 1, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/md_to_word.py executes several system binaries including pandoc, soffice (LibreOffice), pdfinfo, pdftoppm, and magick. These calls use argument lists through subprocess.run, which is a secure practice that prevents shell injection vulnerabilities.
  • [EXTERNAL_DOWNLOADS]: The skill uses Pandoc to process Markdown files which may contain references to remote images. Pandoc will attempt to fetch these images from the provided URLs to embed them in the generated Word document. This behavior is consistent with the skill's primary purpose.
  • [DYNAMIC_EXECUTION]: The script generates a temporary Lua filter at runtime (remove-empty-images.lua) to help Pandoc process images. The generated Lua code is hardcoded and performs a simple check for empty image sources, posing no security risk.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 1, 2026, 06:31 AM
Security Audit — agent-trust-hub — z-md-to-word