technical-architecture-diagram
Pass
Audited by Gen Agent Trust Hub on Dec 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill requires the agent to execute local commands and bundled Python scripts to perform its core functions.
- Evidence includes the use of
python3 scripts/validate_drawio.py,python3 scripts/build_template.py, and thedrawioCLI tool for exporting diagrams to PNG or SVG formats as described inSKILL.md. - The
scripts/drawio_kit.pyfile contains awrite_outfunction that writes generated XML content to the local file system. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied technical descriptions to generate structured Draw.io XML files, creating a surface for indirect prompt injection.
- Ingestion points: User-provided architectural requirements and system descriptions entering the agent's context during the design workflow (
SKILL.md). - Boundary markers: No explicit delimiters or boundary instructions are defined to separate user-provided descriptions from the logic used to generate the XML structure.
- Capability inventory: The skill possesses file-write capabilities (
scripts/drawio_kit.py) and utilizes subprocess execution to run validation scripts and thedrawioCLI tool. - Sanitization: The
esc()function inscripts/drawio_kit.pyprovides basic sanitization by escaping XML special characters (e.g., &, <, >, "), reducing the risk of structural corruption or exploitation of the diagram renderer.
Audit Metadata