Back to skill

Security audit

小红书数据分析 SocialDataX 笔记搜索

Security checks for vulnerabilities and agentic risk

Overview

The skill coherently supports Xiaohongshu research through SocialDataX, with ordinary privacy and external-package risks.

Use it for intended Xiaohongshu searches and avoid confidential search terms. Requests use SocialDataX and may consume paid credits. Keep the API key in a local secret store and out of version control. Prefer a reviewed, pinned CLI release with limited permissions: the external package code was not verified, and latest can change after this review.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

The activation instruction includes generic research requests without explicitly limiting them to Xiaohongshu/XHS.

Medium
Category
Trigger Abuse
Confidence
93% confidence
Finding

The instruction lists topic discovery, content planning, competitor research, market observation, and trend scanning as standalone activation conditions. These common requests can concern unrelated platforms, so the skill may activate even when Xiaohongshu research is not intended.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y socialdatax-skills'.

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

The command executes socialdatax-skills@latest, so its executable contents can change without a skill update or review; -y also suppresses the installation confirmation. A compromised package release could execute with the agent's permissions and access its environment, including the API key. This is a direct CLI supply-chain issue, despite the finding labeling it an MCP server issue.

Content

No source excerpt is available for this finding.

The search workflow sends user-derived research keywords to a third-party service without a privacy disclosure.

Medium
Category
Output Handling
Confidence
85% confidence
Finding

The workflow instructs the agent to execute SocialDataX searches using keywords derived from the user's actual intent. Although the safety section discusses credential handling and read-only behavior, it does not warn that these keywords leave the execution environment and are submitted to SocialDataX, which matters when research topics contain confidential information.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y socialdatax-skills'.

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

The second example repeats execution of the mutable socialdatax-skills@latest release with automatic installation approval. It exposes the same agent permissions and available credentials to a potentially compromised future release; adding pagination does not change that risk. This is another occurrence of the same root cause, not an independent attack mechanism.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx availability'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.