legal-diagram
Warn
Audited by Socket on Jul 30, 2026
1 alert found:
AnomalyAnomalyscripts/fetch_mermaid.py
LOWAnomalyLOW
scripts/fetch_mermaid.py
This module is not overtly malicious in isolation; it functions as a vendoring/downloader. However, it introduces a meaningful supply-chain risk by downloading third-party JavaScript from a CDN and writing it to disk without cryptographic integrity verification, relying only on a minimum file-size check. Additionally, the ability to influence the destination path via --dest raises a potential arbitrary file write risk unless upstream constraints ensure dest stays within the intended vendor directory.
Confidence: 66%Severity: 60%
Audit Metadata