youtube-topic-research
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data from YouTube video metadata (titles, descriptions) and transcripts, which are interpolated into LLM prompts for qualification and review.
- Ingestion points:
scripts/search_and_summarize.pyfetches video metadata via the DuckDuckGo Search CLI and transcripts via theyoutube-transcript-apilibrary. - Boundary markers: The skill uses triple backtick delimiters in
references/review_prompt.mdto wrap transcript content and structured fields inreferences/qualify_prompt.md. - Capability inventory:
scripts/search_and_summarize.pyutilizessubprocess.runfor searches andPath.write_textfor exporting research notes to local files. - Sanitization: The script performs transcript cleaning (removing timestamp-only lines) and chunks long transcripts to manage input size and potential injection complexity.
- [COMMAND_EXECUTION]: The skill executes external commands using
subprocess.runinscripts/search_and_summarize.pyto call theddgsCLI for video searching. The command is passed as a list, which mitigates standard shell command injection vulnerabilities. - [DYNAMIC_EXECUTION]: The test suite in
tests/test_search_and_summarize.pyuses the__import__function for dynamic module loading. This is restricted to the standard libraryremodule for transcript cleaning tests.
Audit Metadata