download-video
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute theyt-dlpcommand-line tool. The implementation inscripts/download.pycorrectly constructs the command as a list of arguments, which is a secure practice that prevents shell injection vulnerabilities even when handling untrusted URLs or user-defined output paths. - [EXTERNAL_DOWNLOADS]: The skill is designed to download media content from external video platforms. It also provides instructions for installing the
yt-dlptool and thebgutil-ytdlp-pot-providerplugin from standard, well-known registries (PyPI, Homebrew). - [INDIRECT_PROMPT_INJECTION]: The skill has a potential attack surface for indirect prompt injection as it processes external URLs.
- Ingestion points: Untrusted video URLs passed as arguments to the
download.pyscript andSKILL.mdinstructions. - Boundary markers: Not explicitly defined in the agent instructions.
- Capability inventory: The skill can write files to the local file system (defaulting to
~/Downloads/Videos) and perform network requests via theyt-dlpsubprocess. - Sanitization: Input URLs are passed as literal strings in a subprocess list, and output paths are resolved using
Path.resolve(), mitigating command injection risks.
Audit Metadata