drawio
Pass
Audited by Gen Agent Trust Hub on Nov 19, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches configuration files, shape indices, and icon data from official vendor-controlled sources including the 'jgraph/drawio-mcp' GitHub repository and the diagrams.net icon service API.
- [DYNAMIC_EXECUTION]: The
mermaid-to-drawio.jsscript implements a conversion pipeline that downloads the vendor's official conversion libraries into a headless browser instance. This allows for native diagram generation from text without sending user data to external processing servers. - [COMMAND_EXECUTION]: Orchestrates various shell commands to interact with the draw.io desktop application CLI for high-quality image exports (PNG, SVG, PDF) and complex ELK-based layouts.
- [INDIRECT_PROMPT_INJECTION]: As the skill processes user-generated Mermaid text and XML, it includes an automated 'repair pass' script. This script acts as a sanitization layer by fixing malformed XML, escaping special characters, and ensuring structural integrity before the data is passed to external tools or the browser, effectively reducing the surface area for injection-related parsing errors.
Audit Metadata