drawio
Warn
Audited by Snyk on May 1, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.80). The skill's renderer path (scripts/drawio-to-png.mjs) loads and executes a remote script at runtime via page.addScriptTag({ url: VIEWER_URL }) where VIEWER_URL = "https://viewer.diagrams.net/js/viewer-static.min.js", so it fetches and runs open-web third-party code that the workflow relies on to render and decide success, allowing that external content to influence tool behavior.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The skill loads and executes remote JavaScript at runtime from https://viewer.diagrams.net/js/viewer-static.min.js via puppeteer's page.addScriptTag (used to render diagrams when the draw.io CLI is unavailable), so this external URL is fetched and executed as a required dependency for the viewer rendering path.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata