excalidraw
Warn
Audited by Socket on Sep 24, 2026
1 alert found:
AnomalyAnomalyscripts/excalidraw.mjs
LOWAnomalyLOW
scripts/excalidraw.mjs
This module primarily locates and executes a locally installed Chrome/Chromium/Edge in headless mode to render an SVG (loaded via file:// from svgPath) into a PNG using --screenshot. There is no clear evidence of embedded malware (no obfuscation, no eval/dynamic execution, no network exfiltration, no persistence) in the provided fragment. The main security risk is operational/attack-surface: invoking a full browser engine on potentially attacker-influenced SVG/render output, which could trigger unintended file/resource access or network activity depending on how the SVG is generated and how the browser handles external references during rendering.
Confidence: 62%Severity: 50%
Audit Metadata