xiaohongshu-ai-feed
Warn
Audited by Gen Agent Trust Hub on Aug 29, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/fetch_xhs_ai.pyutilizes thesubprocessmodule to execute system commands. Specifically, it usessubprocess.runto calllaunchctlon macOS andcrontabon Linux for managing automated tasks. It also executesopenorxdg-opento launch the generated HTML report in the user's browser. - [PERSISTENCE]: The skill implements a subscription feature in
scripts/fetch_xhs_ai.pythat establishes persistence by creating a macOS LaunchAgent at~/Library/LaunchAgents/com.qoder.xiaohongshu-ai-feed.plistor adding a new entry to the user'scrontab. These tasks are configured to run the skill's main script daily at 16:00. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface.
- Ingestion points: Data is fetched from an external API (
https://redfox.hk/story/api/parseWork/queryXhsAiMsgs) containing Xiaohongshu post titles, usernames, and content tags. - Boundary markers: None. The fetched data is directly interpolated into an HTML template.
- Capability inventory: The skill has the ability to write files to the local file system (
~/Downloads/QoderReports/) and execute shell commands viasubprocess. - Sanitization: There is no evidence of HTML escaping or sanitization of the data retrieved from the API before it is rendered into the
小红书AI日报_*.htmlreport, which could allow for script injection (XSS) if the source data contains malicious payloads.
Audit Metadata