drawio-domain-sync

Pass

Audited by Gen Agent Trust Hub on Sep 11, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user-supplied data from Markdown files and Draw.io XML files to perform its synchronization tasks.
  • Ingestion points: drawio_domain_cli.py and model_to_drawio.py read content from local Markdown source files. drawio_tools.py reads XML content from existing Draw.io files to identify changes during sync-back operations.
  • Boundary markers: The instructions do not specify explicit delimiters or "ignore embedded instructions" warnings for the agent when processing the content of these files.
  • Capability inventory: The skill possesses file-writing capabilities via the drawio_tools.py library, allowing it to modify diagrams or update source Markdown files. It does not have network access or arbitrary code execution capabilities.
  • Sanitization: Data written to Draw.io files is sanitized using html.escape to prevent XML/HTML injection. While data synced back from diagrams to Markdown is not explicitly filtered for injection patterns, it is constrained by structured parsing and requires user review before application.
  • Risk assessment: This surface is inherent to the primary functionality of a synchronization tool; the risk is mitigated by the lack of high-privilege capabilities and the requirement for human verification of changes.
  • [SAFE]: All Python scripts provided (drawio_domain_cli.py, drawio_tools.py, model_to_drawio.py, and various scanners) use standard libraries and perform geometry calculations or XML manipulation without dangerous execution patterns like eval() or subprocess calls on untrusted input.
  • [SAFE]: The path resolution logic in collect_mechanism_kas (within drawio_domain_cli.py) follows documentation links but is strictly constrained by filename suffixes and existence checks, preventing arbitrary file read or path traversal attacks.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 11, 2026, 02:14 PM