icon-set-generator

Warn

Audited by Socket on Aug 23, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/build_preview.py

No strong evidence of traditional malicious payload behavior (networking, subprocesses, credential theft) exists in this module. However, it directly embeds raw SVG markup from local files into an HTML page without sanitization/allowlisting, only stripping width/height from the first <svg> tag. As a result, if the SVG inputs (or the injected CSS/JS variables in the full code) are attacker-controlled, opening the generated preview.html can enable client-side script execution (XSS via script-capable SVG elements and/or inline event handlers) in the context of whoever views the preview artifact. Treat SVG inputs as trusted or implement strict SVG sanitization/neutralization before embedding; also verify the actual CSS/JS content used during generation.

Confidence: 62%Severity: 66%
Audit Metadata
Analyzed At
Aug 23, 2026, 08:57 AM
Package URL
pkg:socket/skills-sh/shadcn-labs%2Fskills%2Ficon-set-generator%2F@bf6432c340cde61aa6d066a942d4a75a2fc7aaa41e4acb61f5b30e69a13ff9b3
Security Audit — socket — icon-set-generator