diagram-generator
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill includes a Python script (
scripts/render_diagram.py) that usessubprocess.runto execute external diagram rendering engines such asmmdc(Mermaid),dot(Graphviz), andplantuml. This is the intended core functionality of the skill for generating image artifacts. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted user data (notes, code, schemas) to generate diagrams, which represents a potential attack surface.
- Ingestion points: User-provided natural language, notes, code, and schemas (documented in
SKILL.md). - Boundary markers: No specific delimiters or safety instructions are used to wrap external content.
- Capability inventory: The skill can write files and execute subprocesses via the rendering script.
- Sanitization: No explicit sanitization of the input data is performed before it is passed to rendering tools.
- [EXTERNAL_DOWNLOADS]: The documentation suggests installing the
@mermaid-js/mermaid-clipackage via NPM and provides links to official Graphviz and PlantUML download pages. These are well-known, trusted software sources used for the skill's primary purpose.
Audit Metadata