Back to skill

Security audit

SocialDataX 内容日历研究

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because its commands use an unpinned latest version of a CLI, creating a supply-chain risk, and the scan was only partially complete.

Consider the unpinned CLI a real installation risk, especially if credentials or sensitive files are available to it. The skill is rated suspicious, not malicious. The scan covered the listed component but was partial because several 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (11)

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 29)May include surrounding context.

md
` 与来源 `environment` / `file` / `null`,不输出 Key。安装或升级时,已有凭证可读、没有已知鉴权失败且用户未明确要求更换 Key,就复用原来源继续原任务,不重新登录、不迁移或改写已有凭证;命令、权限或文件格式错误按实际错误处理,不一律判为没配置。已认证的 hosted MCP 沿用当前连接鉴权,不要求另配本地 CLI。
- 仅首次配置、凭证缺失或失效,或用户明确要求更换 Key 时才录入:用户已在安装提示词或当前对话中提供 Key 并授权配置时,用 `npx -y socialdatax-skills@latest auth login --stdin` 接收这枚 Key 的标准输入,由 CLI 长期保存;不要求用户重复手动录入,不把 Key 作为 CLI 参数或写入临时脚本文件。没有提供 Key 时,引导用户从上述官网获取,在本地终端运行 `npx -y socialdatax-skills@latest auth login`,按隐藏输入提示填写,不主动要求其发到对话。Key 保存到当前执行用户主目录的 `.config/socialdatax/credentials.json`;Unix 权限 600,Windows 当前用户私有 ACL。不要在回复、输出日志、截图、命令示例、Skill 或版本库再次展示 Key;Agent 不读取或展示凭证文件内容。
- CLI 每次调用都会读取该私有用户文件,不依赖客户端加载 Shell 配置,不需要改客户端或系统设置。非空 `SOCIALDATAX_API_KEY` 优先,既有旧兼容变量其次,最后读取文件;`source=environment` 时保存文件不会覆盖生效的环境凭证;保存成功不等于本次所选 Key 已生效。CLI 提示不同 Key 冲突时,先说明实际来源,不擅自删除或改写既有环境配置。鉴权失败先核对实际来源和账号,再由用户本地修正,保留其它配置。
- 完成保存后,在实际业务命令的同一执行环境重新运行 `auth status`。false 时停止业务调用,核对操作系统用户、主目录与文件访问权限;true 只说明凭证可读,鉴权与结果仍以原业务请求返回为准,不为配置检查额外调用收费接口。
- 远程或容器中的 CLI 读取远程或容器用户的配置,本机保存不会自动传入。具备持久主目

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

Medium
Category
MCP Rug Pull
Confidence
99% confidence
Finding

The actual command uses socialdatax-skills@latest, which is a mutable version selector rather than a pin. Running it through npx -y can execute a future compromised release with the agent's permissions and access to available credentials, even for an authentication-status check; this is a CLI supply-chain risk, not specifically an MCP-server issue.

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 auth login --stdin command executes a package selected through the mutable @latest tag while receiving an API key. A compromised release could capture that key or execute arbitrary code; using standard input protects against command-line exposure but does not protect against a malicious CLI.

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 interactive auth login command also uses @latest, leaving the code that handles the user's API key subject to future package changes. Hidden input and restrictive credential-file permissions do not prevent a compromised package from stealing the key during entry.

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 XHS hot-search command executes socialdatax-skills@latest without a fixed reviewed version. Although the intended operation is read-only, a compromised package executes locally with the agent's privileges and may access credentials or modify 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 XHS search command uses the mutable @latest tag, permitting unreviewed code changes between executions. A compromised release could access the submitted search terms, API credentials, and other resources available to the executing 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 Douyin hot-search command runs a package resolved through @latest rather than a reviewed immutable version. A malicious update could execute arbitrary local code despite the documented read-only purpose of the API 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 Douyin search command automatically selects the current @latest package, so its executed code is not fixed by the skill. Package compromise could expose search inputs and API keys or permit actions beyond the intended read-only search.

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 Kuaishou hot-search command executes socialdatax-skills through a mutable release tag. If the package or its release process is compromised, execution could affect local files and secrets rather than being confined to reading trend data.

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 Kuaishou search command uses @latest, allowing the executable package to change without corresponding review of the skill. A compromised version could steal available credentials or execute arbitrary code under the agent's account.

Content

No source excerpt is available for this finding.

The search workflow sends user-derived keywords to a third-party service without explicitly disclosing that data transfer.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The skill instructs the agent to use the user's actual intent as search keywords in SocialDataX calls, but does not warn that those keywords leave the conversation and are transmitted to an external provider. The required brand announcement identifies the service but does not explain this privacy implication, particularly when a research topic includes confidential information.

Content

No source excerpt is available for this finding.