byted-util-video-editor
Fail
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
burn_subtitles_to_videofunction inscripts/video_editor.pycontains a fallback mechanism that utilizessubprocess.run(cmd_str, shell=True). The command string is constructed by directly interpolating thevideo_fileandoutput_filevariables, which are sourced from user-supplied command-line arguments. An attacker can provide a filename containing shell metacharacters (such as;,&, or|) to break out of the intended command and execute arbitrary system commands. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data in the form of filenames and JSON-formatted subtitle text.
- Ingestion points: User-provided arguments for
--videos,--video,--audio, and--subtitlesinscripts/video_editor.py. - Boundary markers: None are present to distinguish between data and instructions.
- Capability inventory: The script has the ability to execute shell commands via
subprocess.runto invokeffmpegandffprobe. - Sanitization: There is no validation or escaping of input filenames before they are passed to the shell or interpolation into the
ffmpegcommand structure.
Recommendations
- AI detected serious security threats
Audit Metadata