youtube-research
Pass
Audited by Gen Agent Trust Hub on May 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of external CLI tools through Python's
subprocess.runmodule. - Affected files include
scripts/check_deps.py,scripts/fetch_transcripts.py,scripts/list_channel.py, andscripts/render_pdf.py. - It executes
yt-dlpfor metadata and media retrieval, variouswhisperimplementations for transcription, andpandocorxelatexfor document rendering. - The implementation is generally safe as it uses list-based arguments rather than shell strings, mitigating common command injection vectors.
- [INDIRECT_PROMPT_INJECTION]: The skill exhibits a surface for indirect prompt injection by processing untrusted data from the internet.
- Ingestion points: Video descriptions are ingested in
scripts/list_channel.pyand saved toindex.json. Video transcripts are ingested inscripts/fetch_transcripts.pyand saved totranscript.md. - Boundary markers: The prompt instructions in
SKILL.mddo not define clear delimiters or "ignore embedded instructions" warnings for the LLM when reading these files. - Capability inventory: The agent has the capability to execute shell commands (via the provided scripts) and write files to the local directory.
- Sanitization: Inputs used for file paths are passed through a
slugifyfunction to prevent path traversal; however, the actual text content of the transcripts and descriptions is not sanitized for malicious LLM instructions. - [EXTERNAL_DOWNLOADS]: The skill downloads media and metadata from YouTube's infrastructure via
yt-dlpand fetches transcription models for Whisper. These are legitimate operations for the skill's stated purpose and target well-known services. - [DATA_EXFILTRATION]: While the skill communicates with YouTube to fetch data, there is no evidence of sensitive local data being transmitted to external servers. All fetched data is stored in a local hidden workspace (
./.youtube-research/).
Audit Metadata