generating-infographics
Warn
Audited by Socket on Oct 9, 2026
2 alerts found:
Anomalyx2Anomalylib/icons.js
LOWAnomalyLOW
lib/icons.js
This appears to be an icon-loading utility, not malware. It has a path traversal risk through `name` and unsafe SVG attribute interpolation through `color` and `size`; callers should validate names and constrain or escape option values, especially if returned SVG is rendered in a browser.
Confidence: 96%Severity: 58%
Anomalylib/illustrations.js
LOWAnomalyLOW
lib/illustrations.js
No clear malware or supply-chain behavior is present. The module has security risks if names or SVG files are untrusted: path traversal can cause reads outside the illustration directory, and returned SVG markup is not safely sanitized or escaped. Restrict names and resolved paths, and use a robust SVG sanitizer or escape placeholder text before rendering.
Confidence: 98%Severity: 58%
Audit Metadata