video-shot-demos
Warn
Audited by Socket on Sep 12, 2026
1 alert found:
AnomalyAnomalyscripts/shot.js
LOWAnomalyLOW
scripts/shot.js
This appears to be a screenshot automation tool that modifies a local HTML page and runs it in headless Chrome/Edge to produce a PNG. It is not overtly malicious (no exfiltration or crypto/mining/backdoor code found), but it has a notable security risk: execSync is used with a shell-interpreted command string assembled from environment/CLI inputs (especially BROWSER_PATH and out), which could enable command injection if those are attacker-controlled. It also executes the provided HTML (plus injected JS) in a browser context, increasing impact of malicious input HTML.
Confidence: 70%Severity: 60%
Audit Metadata