diagram-renderer
Warn
Audited by Snyk on Mar 4, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.70). The skill calls npx at runtime to run @mermaid-js/mermaid-cli (execSync(
npx -y @mermaid-js/mermaid-cli ...)), which will fetch and execute package code from the npm registry (e.g. https://registry.npmjs.org/@mermaid-js/mermaid-cli or https://www.npmjs.com/package/@mermaid-js/mermaid-cli), so remote code is fetched and executed during runtime.
Audit Metadata