xiaohongshu-similar-account
Warn
Audited by Snyk on Aug 15, 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.30). 运行时脚本在
query_similar_accounts()中向https://redfox.hk/story/api/xhsUser/querySimilarAccounts发起请求并直接读取返回 JSON(含昵称/作品标题/描述等字符串),随后在generate_html_from_json()/generate_html()中将这些返回文本拼入 HTML;该文本来源于第三方 API 的数据而非官方可信内容,因此构成对外部自由文本数据的运行时摄取路径。
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata