remix-site
Warn
Audited by Socket on Aug 23, 2026
1 alert found:
AnomalyAnomalyscripts/gallery.js
LOWAnomalyLOW
scripts/gallery.js
No strong indicators of malware, backdoor behavior, or obfuscated payloads are present in this fragment. The dominant concern is build-time HTML injection: untrusted values from process.argv and directions.json (notably d.name, d.thesis, and slug) are interpolated into the generated HTML across multiple contexts (element text/markup, HTML attributes, and iframe query parameters) with incomplete escaping/encoding. If an attacker can influence those inputs, this could lead to XSS or UI/script injection when directions.html is served. Separate from injection, path traversal risk exists if siteDir is attacker-controlled, though that is contextual to usage.
Confidence: 72%Severity: 62%
Audit Metadata