device-framer
Warn
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/frame_video.pyuses theeval()function to parse ther_frame_rateproperty from video metadata returned byffprobe. This is a significant security risk as a maliciously crafted video file could provide a string that, when evaluated, executes arbitrary Python code in the context of the agent. - [COMMAND_EXECUTION]: The skill relies on executing external system commands (
ffmpegandffprobe) viasubprocess.runto process video files. While the script passes arguments as a list to prevent basic shell injection, the interaction with complex media processing tools and the reliance on their output for further processing introduces a significant attack surface. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process external, untrusted user data (images and videos) and incorporate them into complex processing pipelines, creating a vulnerability surface for indirect injection attacks.
- Ingestion points: User-provided files are passed to
scripts/frame_video.pyvia theinputcommand-line argument. - Boundary markers: Absent. The script does not implement safety boundaries or "ignore instructions" markers when handling file metadata or content.
- Capability inventory: The script has the capability to execute shell commands (
ffmpeg,ffprobe) and perform file system write operations. - Sanitization: The script performs minimal validation or sanitization of the input metadata before passing it to the
eval()function or external commands.
Audit Metadata