ui-design-patterns
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
AnomalyAnomalyEXAMPLES.md
LOWAnomalyLOW
EXAMPLES.md
The fragment appears to be a benign UI examples implementation, not malware. It contains a significant potential DOM XSS vulnerability because the caller-provided message is inserted into innerHTML without sanitization. The risk depends on whether untrusted input can reach showToast; the supplied fragment alone does not establish that call path. The type parameter should also be allowlisted. No malicious supply-chain behavior is evident.
Confidence: 98%Severity: 68%
Audit Metadata