Context-Inappropriate Capability
Medium
- Confidence
- 96% confidence
- Finding
- The script falls back to `npx -y @mermaid-js/mermaid-cli`, which can download and immediately execute code from the network at runtime. That behavior exceeds the core need of rendering a mindmap image and creates supply-chain and unexpected network-execution risk, especially if the package version changes or a compromised dependency is served.
