drawio
Pass
Audited by Gen Agent Trust Hub on Mar 12, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill relies on an external Model Context Protocol (MCP) server,
@next-ai-drawio/mcp-server, which is downloaded and executed vianpxas defined in the.mcp.jsonfile. - [COMMAND_EXECUTION]: The agent uses the
RunCommandtool to execute a local Node.js CLI script (scripts/cli.js) that converts YAML/DSL specifications into Draw.io XML or SVG files. - [PROMPT_INJECTION]: The skill handles untrusted data through workflows that analyze natural language descriptions or images to generate diagrams, creating a surface for indirect prompt injection.
- Ingestion points: User-provided text descriptions and uploaded images processed in the
createandreplicateworkflows (seereferences/workflows/create.mdandreferences/workflows/replicate.md). - Boundary markers: The skill uses detailed prompt templates in
references/docs/ah-format.mdwith explicit instructions (e.g., "Only use content from input", "Do not infer") to restrict the agent's behavior. - Capability inventory: The skill possesses
WriteandRunCommandcapabilities to generate diagram files and execute local conversion scripts, as well asBrowseraccess via the MCP server. - Sanitization: The
scripts/math/index.jsutility implements XML attribute escaping and math label validation to prevent malformed XML or content injection in the generated diagrams.
Audit Metadata