xiaohongshu-account-analyzer
Warn
Audited by Gen Agent Trust Hub on Jun 12, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The Python script
scripts/xiaohongshu_analyzer.pyused by the skill explicitly disables SSL/TLS certificate verification. The code usesssl.CERT_NONEand setscheck_hostname = Falsewhen creating the SSL context for API requests. This creates a vulnerability where sensitive data, including the user'sREDFOX_API_KEY, could be intercepted or modified by a Man-in-the-Middle (MITM) attacker during transmission to the vendor's infrastructure. - [EXTERNAL_DOWNLOADS]: The skill performs network operations to interact with the vendor's API at
https://redfox.hkfor querying account data and synchronizing notes. It also references images and resources fromhttps://lyy.redfox.hkand well-known CDNs likejsdelivr.net. These are functional dependencies for the skill's data-driven diagnostics. - [DATA_EXFILTRATION]: The skill transmits the user's secret
REDFOX_API_KEYto the vendor's server to authenticate requests. While this is the intended data flow for the service, the insecure transport configuration (disabling SSL verification) identified in the command execution analysis means this transmission of credentials is not properly secured. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection. It ingests untrusted data from the Xiaohongshu platform—such as user nicknames, signatures, and post descriptions—and interpolates this content into reports. This data is processed by the agent to generate diagnostic scores and optimization advice.
- Ingestion points: Data fetched from external social media profiles via the
redfox.hkAPI, saved intooutput/raw_data.json. - Boundary markers: The prompt templates in
references/report_template.mddo not utilize protective delimiters or instructions to prevent the agent from following malicious commands that might be embedded in the retrieved social media content. - Capability inventory: The agent possesses the capability to execute local scripts and perform web searches, which increases the potential impact of a successful injection.
- Sanitization: There is no evidence of sanitization or filtering of the retrieved social media content before it is processed by the AI.
Audit Metadata