legal-proposal-generator

Pass

Audited by Gen Agent Trust Hub on Nov 30, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill includes several scripts (render.js, render.py, fill.py, visuals.js) designed to automate the document generation process. It uses subprocess calls to execute these scripts and standard tools like the Mermaid CLI (mmdc) for rendering diagrams. These executions are consistently implemented using argument arrays without shell interpolation, which is a secure practice.
  • [EXTERNAL_DOWNLOADS]: The skill instructions guide the user to install standard dependencies from official registries. These include docx, sharp, and @mermaid-js/mermaid-cli from NPM, as well as python-docx and markdown-it-py from PyPI. These are well-established libraries appropriate for the skill's stated purpose.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided Markdown and JSON data to populate document templates. It implements several layers of validation, including stripping HTML tags in profile.js and enforcing strict Mermaid syntax in visuals.js, to ensure that untrusted input does not interfere with the processing logic or the generated output.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 30, 2026, 06:33 PM