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.mdtemplate. 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
# Transcriptand# Descriptionsections 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, thefetchYtDlpInfofunction executesyt-dlpwith the--remote-components ejs:githubflag. 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) usingspawnSync. While video IDs are validated via regular expressions inscripts/shared.ts, the execution depends on the security of the local binaries and the environment variables provided by the user.
Audit Metadata