drawio-skill
Pass
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to utilize the
drawio(ordraw.io) desktop application CLI to export XML diagrams to various formats (PNG, SVG, PDF, JPG). These commands are standard for the skill's functionality. - [COMMAND_EXECUTION]: Multiple bundled scripts, such as
autolayout.pyandpyimports.py, execute the Graphvizdotandtredutilities viasubprocess.runto compute node positions and simplify dependency graphs. The scripts use list-based arguments to prevent shell injection. - [EXTERNAL_DOWNLOADS]: The
aiicons.pyscript programmatically retrieves brand logos from trusted and well-known services, specificallyunpkg.com(for@lobehub/icons-static-svg) andcdn.simpleicons.org. This is used to include high-quality icons in user-requested diagrams and follows safe practices for asset retrieval. - [PROMPT_INJECTION]: The skill processes untrusted local data, such as project directories and user-provided
.drawiofiles, to generate visualizations. This constitutes an indirect prompt injection surface. - Ingestion points:
scripts/pyimports.py,scripts/jsimports.py,scripts/goimports.py,scripts/rustimports.py,scripts/pyclasses.py(project files);references/style-extraction.md(XML and Image presets). - Boundary markers: Not explicitly defined in data processing scripts.
- Capability inventory:
subprocess.runfor local tool execution (drawio,dot,tred). - Sanitization: Uses
xml.sax.saxutils.escapeinautolayout.pyto prevent XML structural injection, though processed labels are presented to the LLM context during review loops.
Audit Metadata