mermaid-flowchart
Pass
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The documentation describes how to include interactive elements and external resources in diagrams, creating a surface for injection if an agent renders untrusted content.\n
- Ingestion points: Mermaid syntax blocks within the documentation and potentially user-provided data during agent operation.\n
- Boundary markers: None identified in the skill instructions to separate trusted and untrusted diagram components.\n
- Capability inventory: The skill supports
clickevents that execute JavaScript callbacks and redirection to external URLs, as well as embedding remote images.\n - Sanitization: The skill mentions that these interactive features are subject to the
securityLevelconfiguration, which defaults to 'strict' to prevent execution.\n- [DYNAMIC_EXECUTION]: The skill provides examples of using theclickcommand to execute JavaScript functions (call callback()) from within diagram nodes when interactive features are enabled.\n- [EXTERNAL_DOWNLOADS]: Demonstrates how to load external assets, including images fromexample.comandmermaid.js.org, and integrating the FontAwesome library via a Cloudflare-hosted CDN.
Audit Metadata