drawio
Pass
Audited by Gen Agent Trust Hub on Jul 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute shell commands. It specifically calls thedrawioCLI for exporting diagrams (e.g.,drawio -x -f <format> -e -b 10 -o <output> <input.drawio>) and uses platform-specific commands likeopen,xdg-open, andcmd.exe /c startto open the generated files. - [EXTERNAL_DOWNLOADS]: The skill utilizes the
WebFetchtool to download an XML reference guide from the official Draw.io repository athttps://raw.githubusercontent.com/jgraph/drawio-mcp/main/shared/xml-reference.md. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection (Category 8) because user-controlled data is interpolated into shell commands without explicit sanitization.
- Ingestion points: The skill derives filenames and diagram content from user requests (e.g., 'png flowchart for login' results in a filename including 'login').
- Boundary markers: There are no explicit instructions or delimiters used to ensure the agent sanitizes or ignores potential shell metacharacters in user-supplied filenames.
- Capability inventory: The agent has access to
Bashfor command execution andWritefor file creation. - Sanitization: No sanitization logic is defined for processing user input before it is used in the
Bashcommand templates.
Audit Metadata