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 the drawio CLI tool for exporting diagrams to PNG or SVG formats as described in SKILL.md.
  • The scripts/drawio_kit.py file contains a write_out function 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 the drawio CLI tool.
  • Sanitization: The esc() function in scripts/drawio_kit.py provides basic sanitization by escaping XML special characters (e.g., &, <, >, "), reducing the risk of structural corruption or exploitation of the diagram renderer.
Audit Metadata
Risk Level
SAFE
Analyzed
Dec 1, 2026, 02:56 AM