youtube-analysis
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes untrusted data from YouTube transcripts and video metadata, which could contain malicious instructions designed to manipulate the agent's analysis.
- Ingestion points: External data is fetched in
scripts/fetch_transcript.pyfrom YouTube captions and video descriptions. - Boundary markers: The instructions in
SKILL.mdandreferences/analysis-patterns.mddo not specify the use of delimiters or 'ignore' instructions to separate the transcript text from the agent's core instructions. - Capability inventory: The skill has the ability to write analysis files to the local filesystem via
scripts/analyze_video.pyand performs network operations usingyt-dlpandyoutube-transcript-api. - Sanitization: While metadata (like filenames) is sanitized, the transcript text is processed as raw strings for analysis without filtering for embedded instructions.
- [COMMAND_EXECUTION]: The skill executes the
yt-dlpcommand-line utility viasubprocess.runinscripts/fetch_transcript.pyto fetch video metadata and subtitles. - Evidence: Commands are executed using a list of arguments rather than a shell string, and the target YouTube URL is validated and reduced to a specific 11-character video ID using regex in
scripts/utils.pybefore being passed to the tool, mitigating injection risks.
Audit Metadata