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-clifrom NPM, as well aspython-docxandmarkdown-it-pyfrom 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.jsand enforcing strict Mermaid syntax invisuals.js, to ensure that untrusted input does not interfere with the processing logic or the generated output.
Audit Metadata