youtube-downloader
Warn
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/download_video.pycontains logic to programmatically install Python packagesbgutil-ytdlp-pot-providerandyt-dlp-getpot-wpcusing thepipmodule. This installation is performed from an external PyPI mirror (https://pypi.tuna.tsinghua.edu.cn/simple) when the--auto-po-tokenflag is enabled during download recovery. - [EXTERNAL_DOWNLOADS]: The skill pulls and executes a third-party Docker image (
brainicism/bgutil-ytdlp-pot-provider) from Docker Hub to provide a local token generation service. This involves running untrusted community-maintained code within the user's environment. - [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute various system binaries includingyt-dlp,ffprobe,docker, andpip. Additionally, it allows the agent to extract and use browser cookies from the local machine (e.g., Chrome or Firefox) to authenticate YouTube sessions, which grants the agent access to sensitive browser application data. - [INDIRECT_PROMPT_INJECTION]: The skill processes external untrusted data which could be manipulated to influence agent behavior. (1) Ingestion points: Video metadata (titles, descriptions, channel names), subtitles, and transcripts fetched from YouTube and other platforms. (2) Boundary markers: No delimiters or explicit instructions to ignore embedded commands are present when this content is added to the context. (3) Capability inventory: The skill has access to subprocess execution, file writing, and network operations across multiple scripts. (4) Sanitization: There is no evidence of sanitization, escaping, or validation of the external content before it is processed by the agent.
Audit Metadata