drawio
Warn
Audited by Snyk on Nov 19, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (low risk: 0.10). The required workflow fetches draw.io's own shape index and Mermaid/XML references (first-party jgraph docs), but the icon-search path in scripts/find-shapes.js sends agent-chosen queries to the draw.io icon service and reads back icon titles, which are searched content rather than first-party text, so this is low risk.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (medium risk: 0.30). The inbound code loaded and executed by mermaid-to-drawio.js from the libavoid-js bundles on viewer.diagrams.net is third-party routing code (libavoid) that draw.io serves from its own domain, so first-party provenance is not clearly established, giving medium; the other fetched references and scripts (jgraph/drawio-mcp instructions, the jsDelivr copy of that repo, the icons.diagrams.net service, and the viewer.diagrams.net converter bundles) are official draw.io/JGraph sources and do not raise the tier.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata