media-downloader
Warn
Audited by Gen Agent Trust Hub on Jun 19, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
media_cli.pyuses thesubprocessmodule to execute external binaries (yt-dlp,ffmpeg,ffprobe). Although it uses list-based arguments to mitigate shell injection, these commands process external inputs like search queries and URLs. - [CREDENTIALS_UNSAFE]: The skill manages API keys for media search services and instructs the agent to store them as environment variables by appending to the user's shell profile (
~/.zshrc). Storing credentials in shell profiles is a persistence mechanism that requires user awareness. - [COMMAND_EXECUTION]: The
SKILL.mdfile contains instructions for the agent to modify the user's shell configuration (~/.zshrc) to persist credentials. - [EXTERNAL_DOWNLOADS]: The skill fetches media content from well-known platforms including Pexels, Unsplash, Pixabay, and YouTube. These downloads are part of the core functionality.
- [COMMAND_EXECUTION]: A path traversal vulnerability exists in
media_cli.pybecause thequeryargument is used to construct filenames without sanitizing path separators (e.g.,/). This could allow downloaded files to be written to arbitrary locations on the file system if a malicious query is provided.
Audit Metadata