diagrams

Warn

Audited by Socket on Sep 16, 2026

1 alert found:

Anomaly
AnomalyLOW
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
Analyzed At
Sep 16, 2026, 02:26 PM
Package URL
pkg:socket/skills-sh/tychohq%2Fagent-skills%2Fdiagrams%2F@9f420f45d3c4cf5b66432801d3051e1426158220a423f689d9e12e77482d285d