html-demo

Warn

Audited by Socket on Oct 18, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/preview-plugin.mjs

This Vite preview middleware places the request-controlled `entry` query parameter into an HTML script attribute without escaping or path validation, creating an injection risk and potentially allowing selection of unintended files subject to Vite access controls. The configured `theme` value is also inserted without escaping, though it is normally trusted configuration. Severity is context-dependent and elevated if the development server is reachable by untrusted users; no direct data theft or other malware behavior is shown.

Confidence: 97%Severity: 62%
Audit Metadata
Analyzed At
Oct 18, 2026, 07:56 AM
Package URL
pkg:socket/skills-sh/mengto%2Fskills%2Fhtml-demo%2F@0912b3f43811d3f81b4dcd7fbb50c0d39457b688e6cf94a80b1ce02304ee2032