video-frames
Fail
Audited by Gen Agent Trust Hub on Apr 6, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/frame.shis vulnerable to shell command injection. - The script parses command-line arguments and assigns them to variables such as
index,time, andout. - These variables are subsequently interpolated into an
ffmpegcommand string within double quotes, for example:ffmpeg ... -vf "select=eq(n\\,${index})" ... "$out". - Because the variables are expanded by the shell before the command is executed, a crafted input (e.g.,
--index '0"; touch /tmp/pwned #') would allow an attacker to escape the double-quoted context and execute arbitrary bash commands. - Additionally, the
outvariable is used inmkdir -p "$(dirname "$out")", which could be exploited to create arbitrary directories or perform additional injection if the path contains shell metacharacters. - [EXTERNAL_DOWNLOADS]: The skill configuration in
SKILL.mddescribes the installation of theffmpegutility via the Homebrew package manager (brew). This is a common method for managing binary dependencies on supported systems.
Recommendations
- AI detected serious security threats
Audit Metadata