docx-builder

Pass

Audited by Gen Agent Trust Hub on Aug 28, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-influenced content through an HTML conversion pipeline. A malicious prompt could attempt to inject adversarial HTML or CSS to target the extraction logic or influence the generated document. (1) Ingestion points: The scripts/extract_docx.py script reads the HTML file generated by the agent based on user requirements. (2) Boundary markers: No specific delimiters are used to isolate user content within the HTML template. (3) Capability inventory: The skill performs local file writes, headless browser execution via Playwright, and shell execution via LibreOffice. (4) Sanitization: No explicit sanitization is performed on the HTML content before it is rendered by the headless browser.- [COMMAND_EXECUTION]: The scripts/render_preview.py script executes the LibreOffice (soffice) binary to convert documents to PDF for preview purposes. The command is constructed using a list of arguments, which is a safe practice against shell injection. Evidence: subprocess.run([soffice, "--headless", "--convert-to", "pdf", "--outdir", out_dir, docx_path], check=True, capture_output=True).- [EXTERNAL_DOWNLOADS]: The skill requires the installation of the Playwright library and its corresponding Chromium browser binaries. These are provided by a well-known and trusted vendor (Microsoft). Evidence: The README.md instructs users to run playwright install chromium as part of the setup process.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 28, 2026, 08:32 AM