Back to skill

Security audit

抖音电商选品研究

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent read-only Douyin product research helper, but it tells agents to run an unpinned npm package at runtime while using an API key.

Review this before installing if your agent environment contains sensitive variables. The skill appears read-only and purpose-aligned, but it should ideally pin `socialdatax-skills` to an exact reviewed npm version or run in an isolated environment with only the needed `SOCIALDATAX_API_KEY` exposed.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (4)

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The skill instructs the agent to execute npx -y socialdatax-skills@latest ..., which pulls and runs the newest package version at runtime instead of a fixed, reviewed release. If the npm package is compromised, typosquatted, or a malicious update is published, the agent could execute attacker-controlled code on the host with the user's environment variables, including SOCIALDATAX_API_KEY, available.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

This command also relies on npx -y socialdatax-skills@latest, causing arbitrary remote code from the latest npm publication to be executed during skill use. In this skill's context, the danger is elevated because the command is meant to run in an agent environment and explicitly depends on a sensitive API key, so a compromised package could exfiltrate secrets or run local commands.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The third direct-call example repeats the same unsafe pattern of executing an unpinned npm package via npx. Because npx downloads and runs code on demand, any supply-chain compromise of the referenced package could immediately translate into code execution and possible credential theft or system compromise.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The file consistently specifies behavior and user-facing guidance only in Chinese, which can amount to a language/locale policy issue when no user choice is offered. The content does not indicate that the skill is region-restricted or that Chinese output is optional.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.