youtube-transcript
Warn
Audited by Snyk on Jun 30, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.75). At runtime the script calls
YoutubeTranscript.fetchTranscript(extractedId), which fetches YouTube caption/transcript text from an external (non-user-authored) source and then prints it—so that free-form outsider transcript prose can be ingested into the agent’s LLM context via the tool output.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata