Back to skill

Security audit

SocialDataX 创作者研究

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because its instructions repeatedly run the socialdatax-skills CLI using the changeable @latest version, creating a supply-chain risk; the evidence does not show that a release has been compromised.

Review the repeated @latest commands before installing. Consider whether you are comfortable running a CLI whose version can change and may receive credentials; the scanners recommend using a reviewed, fixed version. The verdict is suspicious, not malicious, and the partial scan means some 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (22)

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

The authentication-status command executes socialdatax-skills@latest, which is a mutable release tag rather than a pinned version. A compromised future release could execute with the agent's permissions and access credentials even though the intended command only reports authentication status; this is CLI execution, not an MCP server launch.

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 interactive login command also uses the mutable @latest tag. Hidden input protects against casual display of the key, but not against a compromised CLI that receives the key directly.

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 stdin-based login command executes a package selected through the mutable @latest tag. Although stdin avoids command-line secret exposure, a compromised package would directly receive the API key and could steal it or execute other code.

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

This search example executes socialdatax-skills@latest without fixing the executable version. A compromised release could run arbitrary code with the agent's permissions, and the read-only nature of the intended API operation does not restrict that local code.

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 profile lookup runs a CLI resolved through @latest, so its executable content can change without a skill update. A compromised release could access the API key and other resources available to the execution user.

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 content-list command uses the mutable @latest package tag. The intended read-only retrieval does not prevent a malicious package release from executing local code or exfiltrating accessible 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
98% confidence
Finding

This account-search command runs a package selected by the mutable @latest tag. If the package publishing channel is compromised, the next resolution could execute attacker-controlled code with the agent's access.

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 account-information command executes an unpinned @latest release. Its legitimate need for API credentials makes a compromised release particularly consequential, although no compromise is demonstrated by this document.

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

This content-retrieval command resolves the executable through @latest instead of a fixed release. An attacker controlling a future package release could execute code locally, regardless of the API's read-only behavior.

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 series lookup uses npx with the mutable @latest tag. A compromised release could obtain the API key or modify accessible local files; this is the same supply-chain weakness as the other CLI examples.

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 search example executes socialdatax-skills@latest, allowing the executed version to change independently of this skill. A malicious upstream release could run with the execution user's permissions and access 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
98% confidence
Finding

The profile-information command relies on the mutable @latest release tag. Read-only business functionality does not constrain a compromised CLI's local code execution or credential access.

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

This content-list command executes an unfixed package version through @latest. A compromised release could steal the service credential or perform other actions allowed to the local execution user.

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 ID-based account lookup still executes the CLI through the mutable @latest tag. Choosing an account ID instead of a profile URL does not mitigate the supply-chain risk of executing a compromised package.

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 ID-based content-list example invokes a mutable @latest release. If a future release is compromised, executing this command could expose credentials and local resources despite its read-only purpose.

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 account-information example executes a package selected by @latest rather than a stable reviewed version. A compromised publishing account or release could therefore turn a normal lookup into arbitrary local code execution.

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

This content lookup uses the mutable @latest tag for executable code. Because the CLI normally receives access to authentication material, a compromised version could steal that material in addition to accessing other permitted resources.

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 series-retrieval example executes socialdatax-skills@latest without an immutable version selection. A malicious replacement release could run with the agent's permissions, so the claimed read-only API boundary does not eliminate the local execution risk.

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 paginated search example invokes an unfixed @latest release of the CLI. Pagination limits reduce API usage but do not mitigate execution of a compromised package with access to credentials and 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
98% confidence
Finding

The ID-based profile lookup resolves executable code using @latest. A compromised upstream release could exfiltrate the API key or act on accessible local resources, even though the requested lookup itself is legitimate.

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 content-list example uses the mutable @latest package tag rather than a pinned executable version. This repeats the same supply-chain exposure: a compromised release could execute arbitrary code under the agent's permissions.

Content

No source excerpt is available for this finding.