baoyu-youtube-transcript

Pass

Audited by Gen Agent Trust Hub on Aug 19, 2026

Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted text data (YouTube transcripts and descriptions) and passes it to a sub-agent for speaker identification and chaptering via the prompts/speaker-transcript.md template. This exposes the agent to indirect prompt injection if a video's transcript contains malicious instructions.
  • Ingestion points: YouTube transcript snippets and video descriptions (scripts/youtube.ts).
  • Boundary markers: The prompt uses # Transcript and # Description sections but lacks explicit instructions to ignore embedded commands.
  • Capability inventory: The skill writes processed files to the local filesystem and returns content to the user.
  • Sanitization: No sanitization or filtering is performed on the raw transcript content before AI processing.
  • [REMOTE_CODE_EXECUTION]: In scripts/youtube.ts, the fetchYtDlpInfo function executes yt-dlp with the --remote-components ejs:github flag. This allows the tool to download and execute code components from a remote repository at runtime.
  • [COMMAND_EXECUTION]: The skill wraps several CLI tools (bun, npx, yt-dlp) using spawnSync. While video IDs are validated via regular expressions in scripts/shared.ts, the execution depends on the security of the local binaries and the environment variables provided by the user.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 19, 2026, 01:13 AM