svg-design

Warn

Audited by Socket on Sep 7, 2026

1 alert found:

Security
SecurityMEDIUM
assets/preview.html

This fragment is primarily client-side UI logic for selecting compare items, but it also repeatedly rewrites SVG image URLs and—most importantly—injects and executes variants.js every 3 seconds via dynamically created script tags. Without visible integrity/origin controls in the snippet, this creates a significant supply-chain/runtime execution risk: any compromise or unexpected resolution of variants.js can lead to arbitrary script execution in the page context. The only additional notable concern is unescaped interpolation of card.dataset.id into a querySelector attribute selector string, which is a smaller correctness/injection-surface issue.

Confidence: 55%Severity: 75%
Audit Metadata
Analyzed At
Sep 7, 2026, 08:21 AM
Package URL
pkg:socket/skills-sh/zrr1999%2Fskills%2Fsvg-design%2F@d23200d9f4338cb4872099c49f1ea25a3964032ff4905a2dec536082572487b5
Security Audit — socket — svg-design