compose-video
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
subprocess.runto callffmpegandffprobefor media processing operations such as concatenation and audio mixing. - Evidence: Functions in
scripts/compose_video.py(e.g.,concatenate_simple,add_background_music) construct command lists for execution. - Mitigation: The implementation avoids using
shell=Trueand passes arguments as lists, which effectively prevents shell command injection. - [INDIRECT_PROMPT_INJECTION]: The skill relies on an external
script.jsonfile to determine which video segments to process and what transitions to apply. This represents an attack surface where maliciously crafted script data could attempt to manipulate the video output or probe the filesystem. - Ingestion points: The
compose_videofunction inscripts/compose_video.pyloads scene data from a JSON file. - Boundary markers: The skill does not implement specific delimiters or warnings to ignore instructions embedded within the processed data.
- Capability inventory: The skill performs file reading, filesystem existence checks, and calls external media processing binaries.
- Sanitization: The script includes validation for transition types, mapping input strings to a safe internal set of
xfadeparameters, and verifies that video files exist before processing.
Audit Metadata