promo-video
Warn
Audited by Socket on Sep 14, 2026
1 alert found:
SecuritySecurityscripts/generate-voiceover.ts
MEDIUMSecurityMEDIUM
scripts/generate-voiceover.ts
The code is a voiceover generation utility with expected use of the ElevenLabs API, ffmpeg, and Whisper. It does not show clear malware, data theft, persistence, or obfuscation. However, configuration-controlled paths and identifiers are interpolated into shell commands and filesystem operations without validation or safe argument handling. A malicious or compromised config file could cause arbitrary command execution, path traversal, unintended file writes, or deletion. Use child_process.spawn/execFile with argument arrays, validate identifiers and paths, and constrain paths beneath an approved output directory.
Confidence: 97%Severity: 72%
Audit Metadata