drawio-skill
Warn
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: Several scripts in the skill's utility suite use the
importlib.utilmodule to dynamically load and execute other bundled Python files from the skill's own directory. This mechanism is used to manage internal dependencies like layout logic and validation routines at runtime. - Evidence: Detected in
autolayout.py,c4.py,edgeports.py,raster2drawio.py, andtfstate.pywhere modules likevalidate.pyandtfimports.pyare loaded from computed paths. - [COMMAND_EXECUTION]: The skill makes extensive use of the
subprocessmodule to run external system binaries and coordinate internal scripts, which is necessary for its core diagramming and analysis features. - Evidence: Executes the
drawiodesktop CLI for image exports, Graphvizdotandtredfor automated graph layout, andgitfor codebase history extraction. - [EXTERNAL_DOWNLOADS]: The skill fetches brand icons and data store logos from external content delivery networks during diagram generation to provide accurate iconography.
- Evidence:
scripts/aiicons.pyusesurllib.request.urlopento download SVG assets fromunpkg.comandcdn.simpleicons.org. - [INDIRECT_PROMPT_INJECTION]: The skill has a large ingestion surface as it parses untrusted data from local repositories to generate diagrams, creating a surface for indirect instructions to influence agent behavior.
- Ingestion points: Extraction scripts like
pyimports.py,jsimports.py,tfimports.py, andsqlerd.pyread and analyze project file contents (Python, JS, Terraform, SQL) and directory structures. - Boundary markers: Absent. The skill parses external content directly without wrapping it in defensive delimiters or security-focused parsing contexts.
- Capability inventory: The skill possesses broad capabilities including file read/write operations, network access for asset retrieval, and the ability to execute system-level commands via
subprocess. - Sanitization: Partial. While the skill uses the Python
astmodule for secure import analysis and standard XML/HTML escaping for diagram labels, it lacks universal sanitization for all processed input formats.
Audit Metadata