mk-youtube-get-audio
Warn
Audited by Gen Agent Trust Hub on Apr 1, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The script
scripts/_utility__download_ffmpeg.shdownloads a pre-compiledffmpegbinary fromhttps://ffmpeg.martin-riedl.de/redirect/latest/macos/${arch}/snapshot/ffmpeg.zip. This domain is not associated with a well-known trusted organization or the official ffmpeg project. - [CREDENTIALS_UNSAFE]: The skill automatically accesses browser cookies to bypass YouTube restrictions. The
scripts/audio.shscript searches for and attempts to use authentication cookies from Chrome (including all detected profiles), Firefox, Safari, Edge, and Brave. This involves accessing sensitive application data directories (e.g.,~/Library/Application Support/Google/Chromeor~/.config/google-chrome). - [REMOTE_CODE_EXECUTION]: Several utility scripts (
_utility__download_*.shand_utility__build_*.sh) download and prepare executable binaries from the internet. This includes fetchingyt-dlp,jq, andffmpegsource or binaries. Although many sources like GitHub and ffmpeg.org are reputable, the pattern of downloading, making executable, and then running code from external URLs is a significant security vector. - [COMMAND_EXECUTION]: The main script
scripts/audio.shexecutes shell commands and external binaries with arguments derived from user input (YouTube URL). It also usesevallogic implicitly viasourceof utility scripts and execution of the downloaded tools. - [PROMPT_INJECTION]: The skill processes metadata from external YouTube videos (titles, channel names) via
yt-dlp. This data is then used in the agent's context. Evidence: 1. Ingestion point:scripts/audio.shviafetch_metadata. 2. Boundary markers: Absent inyt-dlpmetadata printing. 3. Capability: File system writes, deletions, and network operations across all scripts. 4. Sanitization: Usesjqfor JSON formatting, but does not sanitize the content for potential indirect prompt injection against the agent.
Audit Metadata