toutiao-search
Warn
Audited by Snyk on Jul 2, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.65). 运行时会把今日头条接口返回的作品字段(如 title/authorName/workUrl/imageList/content)作为可读 JSON 文本嵌入到本地生成的 HTML 的
{{INITIAL_DATA}}中,并在浏览器端渲染到 LLM 上下文(通过该 HTML/JS 生成的页面内容被用户/系统再输入到 LLM 的链路),属于“公共平台内容/第三方作者文本”注入风险。
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata