sf-diagram-mermaid
Warn
Audited by Socket on Sep 14, 2026
1 alert found:
AnomalyAnomalyscripts/mermaid_preview.py
LOWAnomalyLOW
scripts/mermaid_preview.py
No clear malware, persistence beyond the intended background server process, data exfiltration, credential theft, or destructive behavior is present. The main security concerns are unauthenticated broad-interface exposure of the selected file, possible HTML/JavaScript injection due to incomplete escaping, permissive SSE CORS, and insecure predictable PID-file handling. The code is also syntactically incomplete as provided.
Confidence: 96%Severity: 58%
Audit Metadata