xhs-scraper

Warn

Audited by Snyk on Mar 8, 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.90). The script scrape_xhs.sh opens and scrapes public Xiaohongshu pages (e.g., TARGET_URL="https://www.xiaohongshu.com/search_result?keyword=...") and extracts user-generated post titles/details via agent-browser eval and then uses that extracted content to decide clicks, scrolling, sorting and which detail pages to fetch, so untrusted third‑party content can influence the agent's actions.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Mar 8, 2026, 03:14 AM