Back to skill

Security audit

微博数据助手 SocialDataX

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because it repeatedly runs an automatically installed, unpinned CLI package, creating a supply-chain risk; the scan is partial, so evidence is incomplete.

Consider the unpinned package risk before installing, especially because the CLI handles an API key. Also consider whether you are comfortable sending search terms and lookup details to SocialDataX. The scan covered the listed skill component but was marked partial because some local references could not be resolved, so the evidence is incomplete.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (23)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 22)May include surrounding context.

md
ion and authorized configuration, send it as stdin to `npx -y socialdatax-skills@latest auth login --stdin` for persistent CLI storage; do not request duplicate manual entry, pass it as a CLI argument, or write it to a temporary script file. Otherwise direct the user to the official URL above and hidden input with `npx -y socialdatax-skills@latest auth login` in their local terminal, without asking them to send it in chat. The CLI saves it under the execution user's home at `.config/socialdatax/credentials.json`, Unix mode 600 or a private current-user ACL on Windows. Do not repeat the Key in replies, output logs, screenshots, command examples, Skill files or version control. The Agent must not read or display credential-file content.
- Each CLI invocation reads the private user file without depending on a client loading shell configuration or changing client/system settings. A nonempty `SOCIALDATAX_API_KEY` has priority, then the existing legacy variable, then the file. Saving a file

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

Medium
Category
MCP Rug Pull
Confidence
99% confidence
Finding

The authentication check executes socialdatax-skills@latest, a mutable package version, with automatic installation approval. A compromised release or dependency could execute with the agent's permissions and access available credentials, even though the intended command only reports authentication status; this is a CLI supply-chain issue rather than an MCP-specific issue.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 22)May include surrounding context.

md
an explicit Key change. When the user has already supplied a Key in the installation prompt or current conversation and authorized configuration, send it as stdin to `npx -y socialdatax-skills@latest auth login --stdin` for persistent CLI storage; do not request duplicate manual entry, pass it as a CLI argument, or write it to a temporary script file. Otherwise direct the user to the official URL above and hidden input with `npx -y socialdatax-skills@latest auth login` in their local terminal, without asking them to send it in chat. The CLI saves it under the execution user's home at `.config/socialdatax/credentials.json`, Unix mode 600 or a private current-user ACL on Windows. Do not repeat the Key in replies, output logs, screenshots, command examples, Skill files or version control. The Agent must not read or display credential-file content.
- Each CLI invocation reads the private user file without depending on a client loading shell configuration or changing client/system settings

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

Medium
Category
MCP Rug Pull
Confidence
99% confidence
Finding

The interactive login command also executes socialdatax-skills@latest without a fixed release. Hidden terminal input protects against casual display exposure, but not against a compromised CLI that receives the secret.

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
99% confidence
Finding

The stdin login command executes a mutable @latest package while receiving an API key. Although stdin avoids command-line exposure, a compromised package could capture that key or execute other code with the agent's permissions.

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
99% confidence
Finding

The hot-search example automatically executes a package selected by the mutable @latest tag. A compromised release could access credentials and local resources despite the application's read-only operation.

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
99% confidence
Finding

The search command executes socialdatax-skills@latest rather than an approved fixed version. A compromised package could steal its API key or execute arbitrary code; the legitimate search purpose does not constrain package execution.

Content

No source excerpt is available for this finding.

The workflow does not explicitly disclose that user-provided search terms and lookup inputs are sent to SocialDataX.

Medium
Category
Output Handling
Confidence
86% confidence
Finding

The prescribed CLI workflow submits user-provided keywords and post URLs/share text to the external SocialDataX service. Although L015 requires announcing use of SocialDataX, it does not require explaining that these inputs leave the user's environment; the read-only boundary at L115 does not address this privacy impact.

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
99% confidence
Finding

The multipage search example automatically runs a mutable package release. Package or dependency compromise could expose credentials and the execution environment, independently of the page limit.

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
99% confidence
Finding

The post-detail command relies on @latest and permits automatic package installation. A malicious future release could run with the agent's privileges and read available secrets, even though the requested operation only retrieves a post.

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
99% confidence
Finding

The URL-based detail lookup runs a mutable @latest package. The supply-chain risk exists regardless of the supplied URL: compromised package code could access credentials or other resources available to the process.

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
99% confidence
Finding

The comments command executes an unpinned @latest release with automatic approval. A compromised release could execute arbitrary code and access the API credential; the documented read-only boundary does not enforce operating-system isolation.

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
99% confidence
Finding

The expanded-comments example uses the mutable @latest package. Its pagination options do not mitigate the possibility that a compromised package or dependency executes malicious code with access to credentials.

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
99% confidence
Finding

The URL-based comments command automatically executes socialdatax-skills@latest. A compromised release could expose the service credential or local data despite the legitimate read-only query.

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
99% confidence
Finding

The replies command selects executable code through the mutable @latest tag. Package compromise could grant code execution with the process's permissions and access to its API key.

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
99% confidence
Finding

The liker-list command executes a package whose version can change without changes to this skill. If that release or a dependency is compromised, it could read credentials or perform actions outside the intended data lookup.

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
99% confidence
Finding

The repost-list example uses automatic execution of socialdatax-skills@latest. Its read-only API purpose does not prevent a compromised npm release from executing code or stealing available secrets.

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
99% confidence
Finding

The user-information lookup executes an unpinned package release. A compromised release could access local resources and credentials, even when the lookup itself uses a public user identifier.

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
99% confidence
Finding

The profile-URL lookup executes code selected by the mutable @latest tag. Compromise of the package distribution path could expose credentials or enable arbitrary execution; this risk is independent of the profile URL.

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
99% confidence
Finding

The creator-posts command automatically runs a mutable package version. A compromised update could execute with the agent's permissions and access its API key despite the command's read-only intent.

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
99% confidence
Finding

The all-posts example executes socialdatax-skills@latest without release pinning. The retrieval scope does not change the underlying risk of malicious package code accessing credentials or local files.

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
99% confidence
Finding

The profile-based creator-posts command runs an automatically approved, mutable package release. A compromised release or dependency could execute arbitrary code and obtain the CLI's credentials.

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.