pretty-mermaid

Warn

Audited by Socket on Aug 23, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/batch.mjs

No direct malware behavior is evident in this module (no network/exfiltration, credential access, or obfuscated payloads). The main security concern is supply-chain integrity: if 'beautiful-mermaid' is missing, the script runs npm install at runtime via execSync and then dynamically imports code from node_modules without pinning or integrity verification. Output file paths are derived from filesystem filenames and are written to disk; this is generally local-only but could lead to unintended overwrites under unusual filesystem conditions.

Confidence: 70%Severity: 60%
AnomalyLOW
scripts/render.mjs

This module is primarily a local Mermaid-to-SVG/ASCII CLI renderer, with no direct evidence of classic malware (no exfiltration, shell/persistence, or code execution based on Mermaid input in this file). The main security concern is supply-chain risk: if the dependency is missing, the script runs a networked 'npm install' at runtime and then immediately imports code from node_modules without version/integrity pinning. A secondary concern is that --output is unrestricted, enabling arbitrary file overwrite within the executing user's permissions.

Confidence: 72%Severity: 65%
Audit Metadata
Analyzed At
Aug 23, 2026, 08:42 AM
Package URL
pkg:socket/skills-sh/imxv%2Fpretty-mermaid-skills%2Fpretty-mermaid%2F@e234ab73c2992f03c36db04fd55ebb90abca9c45
Security Audit — socket — pretty-mermaid