youtube-transcript

Fail

Audited by Gen Agent Trust Hub on Oct 7, 2026

Risk Level: HIGHPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill instructs the agent to use sudo apt update && sudo apt install -y yt-dlp to install dependencies. This grants the agent administrative access to the system, which is a significant security risk if executed without strict oversight.
  • [COMMAND_EXECUTION]: The skill relies heavily on shell commands including yt-dlp, whisper, pip, and brew. It provides a complex shell script workflow that automates downloading, transcription, and file management, increasing the attack surface if user-provided URLs or video titles are not properly handled.
  • [EXTERNAL_DOWNLOADS]: The instructions direct the agent to download and install external software packages like yt-dlp and openai-whisper from public repositories. While these are well-known tools, the automated installation of third-party software at runtime introduces supply chain risks.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process YouTube transcripts, which are external, user-controlled data sources.
  • Ingestion points: Data enters the context via yt-dlp subtitle downloads or Whisper transcription outputs processed in SKILL.md.
  • Boundary markers: The skill lacks explicit boundary markers or instructions to ignore embedded commands within the fetched transcript text.
  • Capability inventory: The skill has access to Bash, Read, and Write tools, enabling filesystem modification and command execution.
  • Sanitization: A Python script is provided to remove HTML tags and deduplicate lines, but it does not filter for potential prompt injection attacks hidden within the text.
  • [DYNAMIC_EXECUTION]: The skill uses python3 -c to execute dynamically generated Python code for post-processing VTT files. This method of executing code provided within the instructions bypasses static analysis and can be misused to run arbitrary logic.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 7, 2026, 09:55 AM