youtube-analysis
Pass
Audited by Gen Agent Trust Hub on Apr 15, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted transcript data from YouTube, presenting a surface for indirect prompt injection attacks.
- Ingestion points: Untrusted transcript text is ingested through
scripts/fetch_transcript.py. - Boundary markers: The skill does not use explicit delimiters or specific instructions to isolate external transcript content from the agent's core logic.
- Capability inventory: The skill possesses the capability to execute shell commands (via
yt-dlp) and perform file system writes (viascripts/analyze_video.py). - Sanitization: While the video ID is validated via regex, the actual transcript content is not sanitized before being processed by the language model.
- [COMMAND_EXECUTION]: The skill executes the
yt-dlptool via the Pythonsubprocessmodule to fetch video data. - Evidence:
scripts/fetch_transcript.pyusessubprocess.runto callyt-dlpfor metadata and transcript extraction. - Mitigation: The skill validates the video ID using a strict regex (
[A-Za-z0-9_-]{11}) inscripts/utils.pybefore inclusion in the command, which effectively prevents shell command injection. - [EXTERNAL_DOWNLOADS]: The skill requires the installation of external Python libraries.
- Evidence:
SKILL.mdidentifiesyoutube-transcript-apiandyt-dlpas required dependencies.
Audit Metadata