youtube-downloader
Pass
Audited by Gen Agent Trust Hub on Jul 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [EXTERNAL_DOWNLOADS]: The script
scripts/download_video.pycontains a self-installation mechanism for its primary dependency. It usespipto installyt-dlpif it is not detected on the system. This is a common pattern for utility scripts to ensure functionality in different environments. - [COMMAND_EXECUTION]: The skill uses Python's
subprocessmodule to executeyt-dlpandpip. The commands are constructed using lists rather than shell strings, which is a secure practice that prevents shell injection vulnerabilities. - [PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection as it processes external metadata from YouTube.
- Ingestion points: Video metadata (title, uploader) is fetched via
yt-dlp --dump-jsoninscripts/download_video.pyand displayed to the user. - Boundary markers: None present; the skill displays external content directly in the console output.
- Capability inventory: The skill has file system write access (saving videos) and network access (downloading from YouTube) via the
subprocesscalls inscripts/download_video.py. - Sanitization: The script relies on the underlying
yt-dlptool to sanitize video titles before using them in filenames, which mitigates path traversal risks.
Audit Metadata