diagrams
Warn
Audited by Socket on Sep 16, 2026
1 alert found:
AnomalyAnomalyscripts/render-elk.mjs
LOWAnomalyLOW
scripts/render-elk.mjs
The code appears to be a legitimate local JSON-to-SVG rendering CLI, not malware. It contains a medium-severity command-injection risk in the --png path because execSync executes a shell-interpreted command containing user-controlled directory-derived paths. Use spawnSync or execFile with an argument array and validate paths. The shown legend text is escaped, though all SVG attribute interpolation should be reviewed.
Confidence: 93%Severity: 62%
Audit Metadata