create-video-shorts
Audited by Socket on Oct 6, 2026
2 alerts found:
Anomalyx2The code appears intended for video background removal and shows no clear malware behavior. However, a crafted session argument can inject shell commands in the CPU fallback because it is interpolated into a shell=True command. The npx fallback also installs and executes a package, so use should be limited to trusted inputs and package sources.
The script's intended function is video rendering and conversion. It contains a meaningful path-handling risk: unvalidated composition arguments reach recursive deletion and output paths, allowing unintended file deletion or overwrite if arguments are attacker-controlled. The unpinned npx invocation also executes externally sourced package code. No direct evidence of malware or data exfiltration appears in the fragment.