video-transcriber
Audited by Socket on Jul 31, 2026
2 alerts found:
SecurityAnomalyNo direct malware/backdoor behavior is evident in this fragment. The dominant risks are supply-chain/operational: the program auto-installs and upgrades Python packages (including `--break-system-packages`) and installs `ffmpeg` via `apt-get` at runtime without pinning or integrity verification. It also invokes `yt-dlp` on an attacker-controlled URL, creating a broad network/download/parsing exposure. Additionally, if `OPENAI_API_KEY` is set, it uploads downloaded audio to OpenAI for transcription, which may be a privacy/exfiltration concern depending on the deployment threat model.
No explicit malware (backdoor, credential theft, persistence, or covert exfiltration) is evident in this module. However, it carries notable security exposure typical of tools that download and process third-party content: it auto-installs yt-dlp at runtime without version pinning or integrity verification, executes yt-dlp via subprocess on arbitrary user-supplied HTTP(S) URLs, and modifies `PATH` to prefer a hardcoded local FFmpeg directory. These factors elevate supply-chain and execution risk and should be controlled (pin/verify dependencies, restrict URL sources, and avoid PATH tampering where possible).