svg-diagram
Audited by Socket on Mar 1, 2026
1 alert found:
SecurityThe code constitutes a purpose-appropriate tool for generating SVGs from Mermaid diagrams and for creating custom SVGs directly when needed. The footprint is coherent with its stated functionality. However, there are multiple supply-chain and execution-trust considerations: reliance on external tooling (Mermaid CLI via npx without pinning), runtime shell execution, and remote font resources. These patterns warrant caution in high-assurance environments, and they contribute to a moderate security risk profile. Overall, the skill appears benign for legitimate use, but classify as SUSPICIOUS to MEDIUM risk due to potential download/execute patterns and external resource fetches in the data flow. No explicit malicious behavior is evident in the provided fragment, but the design choices (unversioned CLI, /tmp usage, remote font imports) should be documented and limited to trusted environments.