youtube-downloader
Pass
Audited by Gen Agent Trust Hub on Jun 30, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill performs an automatic installation of the
yt-dlppackage from the official Python Package Index (PyPI). - Evidence: The
check_yt_dlpfunction inscripts/download_video.pyusespip installto ensure the dependency is present before execution. - [COMMAND_EXECUTION]: The script uses the
subprocessmodule to execute system commands for installing packages and running the video downloader. - Evidence:
scripts/download_video.pycontains multiplesubprocess.runcalls to interface withpipandyt-dlp. - [PROMPT_INJECTION]: The skill has an indirect prompt injection surface because it processes untrusted data (video metadata) from an external source (YouTube) and prints it to the console, where it enters the agent's context.
- Ingestion points:
scripts/download_video.pyfetches metadata usingyt-dlp --dump-json. - Boundary markers: None present; external strings like the video title are printed directly to standard output.
- Capability inventory: The script has the capability to execute shell commands via
subprocess.runand write files to the filesystem. - Sanitization: No sanitization or filtering is performed on the metadata (title, uploader name) retrieved from YouTube before it is displayed.
Audit Metadata