watch-video
Warn
Audited by Gen Agent Trust Hub on Jul 11, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands (e.g.,
yt-dlp,ffprobe,ffmpeg, andpython3 -c) using variables derived from external input such as URLs and file paths. If the agent fails to properly escape or sanitize these inputs, it could lead to command injection vulnerabilities. - Evidence:
yt-dlp ... "<url>",ffprobe ... "<file>", andpython3 -c "import mlx_whisper; mlx_whisper.transcribe('<file>', ...)". - [EXTERNAL_DOWNLOADS]: The skill downloads video content from third-party URLs using the
yt-dlptool. While this is the intended functionality, it involves fetching and storing large amounts of untrusted binary data from various external platforms. - [DATA_EXFILTRATION]: In multimodal mode, the skill uploads video files to Google's Gemini API using
curland an environment-stored API key. While necessary for the feature, this involves sending local video data to an external service. - Evidence:
curl -s -X POST "https://generativelanguage.googleapis.com/upload/v1beta/files?key=$GEMINI_API_KEY" .... - [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface by processing untrusted data from video transcripts and metadata. This content is then fed into Claude or Gemini models, which could potentially trigger unintended agent behaviors if malicious instructions are embedded in the video's content.
- Ingestion points: Video metadata (titles/descriptions) from
yt-dlpand transcript text from external platforms or local transcription tools. - Boundary markers: The prompts provided for the vision and multimodal passes lack clear delimiters or instructions to ignore embedded commands within the analyzed content.
- Capability inventory: The agent has the ability to write files to the user's Documents folder, execute shell commands for media processing, and perform network requests to AI APIs.
- Sanitization: The skill includes basic cleaning for YouTube VTT files using
awk, but does not mention sanitizing metadata or overall transcript text for injection patterns.
Audit Metadata