xiaohongshu-search-summarizer
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted text, comments, and images from a public social media platform (Xiaohongshu) and feed them directly into the agent's analysis context.
- Ingestion points: The agent is explicitly instructed in
SKILL.mdto read the generated[keyword]_raw_data.mdand use vision capabilities to interpret the semantic content of downloaded.webpand.jpgimage files. - Boundary markers: The skill lacks delimiters or "ignore embedded instructions" warnings to separate user-generated content from the agent's core instructions, making it vulnerable to malicious payloads embedded in social media posts.
- Capability inventory: The agent possesses file reading, file writing, and vision-based image analysis capabilities which are applied to the scraped data.
- Sanitization: The
scripts/parse.pyscript performs only basic text formatting and does not sanitize or filter the content for potential injection attempts. - [EXTERNAL_DOWNLOADS]: The skill fetches image artifacts from Xiaohongshu's official CDN domains.
- Evidence: The
scripts/parse.pyscript validates that image URLs belong to.xhscdn.comor.xiaohongshu.comand use the HTTPS protocol before downloading them to the local output directory. - [DYNAMIC_EXECUTION]: The skill generates and executes browser automation scripts at runtime to bypass anti-scraping measures.
- Evidence: The
scripts/run.shscript creates a temporary JavaScript file in/tmpcontaining site-specific extraction logic, which is then executed by theplaywright-clitool. - [COMMAND_EXECUTION]: The skill uses shell and Python scripts to orchestrate the collection and parsing workflow.
- Evidence: It relies on
scripts/run.shto manage environment variables and directory structures, and invokespython3to execute the data parsing and image downloading script.
Audit Metadata