soia-pkm-clip-rednote
Pass
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes a Python script (
archive_rednote.py) to automate content retrieval and file management. This script writes Markdown notes to the Obsidian vault and downloads media binaries (images and videos) to the~/Downloads/soia-pkm-clip-rednote/directory. - [DATA_EXFILTRATION]: The script performs network operations using
urllib.requestto fetch data fromxiaohongshu.comandxhslink.com. It includes a proactive security control (validate_host) that verifies the target domain before making requests, specifically to ensure that theXHS_COOKIE(if configured) is not transmitted to unauthorized third-party hosts. - [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface by processing untrusted data from external Xiaohongshu posts.
- Ingestion points:
archive_rednote.pyscrapes thetitleanddesc(description) fields from the target Xiaohongshu URL. - Boundary markers: The scraped content is written to a Markdown file under the
## 原文header. There are no specialized delimiters or system instructions to the agent to ignore embedded instructions within this block. - Capability inventory: The skill performs file writes and network requests. The agent is explicitly instructed in
SKILL.mdto read the resulting file and generate a summary, which creates a vector for instruction obedience from the untrusted data. - Sanitization: Filenames are sanitized, but the description text is written to the vault without escaping or filtering for malicious instructions.
Audit Metadata