Back to skill

Security audit

Shopee-类目榜单 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent Shopee ranking query integration, but it also tells the agent to auto-install tooling and persist Qinghu credentials/configuration, which merits user review before installation.

Install only if you are comfortable letting the agent install or upgrade qhkit/Node tooling and store Qinghu API credentials for later use. Prefer a pre-provisioned qhkit installation with a pinned version and provide credentials through your platform's secret mechanism rather than ad hoc persistent config when possible.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (7)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger language includes a catch-all phrase equivalent to 'must trigger for similar requests,' which is overly broad and can cause the skill to activate outside its intended scope. In context, that is more dangerous because the skill can perform installs, configuration changes, and paid external calls once activated.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill's stated purpose is querying Shopee category rankings, but it includes broad environment bootstrapping, package installation, Node installation, and network-retrieval instructions. This materially expands the agent's authority from data access into software provisioning, increasing attack surface and enabling unintended code execution or system modification unrelated to the user task.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
83% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning a specific version, which allows execution of whatever package version is current at runtime. In an agent context, this creates supply-chain risk and undermines reproducibility, especially because the skill also frames this as an automatic fallback path during environment setup.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
90% confidence
Finding

This duplicate finding points to the same persistence behavior: unpacking Node into a user directory and modifying PATH for later command resolution. The security concern is real because the skill is for querying rankings, yet it authorizes durable runtime alteration unrelated to that business function.

Content

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

Linux 二进制安装(装到用户目录,无需 root;先校验官方 SHA256 再解包):

cd /tmp && curl -fsSLO https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-x64.tar.xz cd /tmp && curl -fsSL https://nodejs.org/dist/v22.22.3/SHASUMS256.txt | grep ' node-v22.22.3-linux-x64.tar.xz$' | sha256sum -c - mkdir -p "$HOME/.local/lib" && tar -xJf /tmp/node-v22.22.3-linux-x64.tar.xz -C "$HOME/.local/lib" export PATH="$HOME/.local/lib/node-v22.22.3-linux-x64/bin:$PATH"

text

Session Persistence

Medium
Category
Rogue Agent
Confidence
90% confidence
Finding

This duplicate finding points to the same persistence behavior: unpacking Node into a user directory and modifying PATH for later command resolution. The security concern is real because the skill is for querying rankings, yet it authorizes durable runtime alteration unrelated to that business function.

Content

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

Linux 二进制安装(装到用户目录,无需 root;先校验官方 SHA256 再解包):

cd /tmp && curl -fsSLO https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-x64.tar.xz cd /tmp && curl -fsSL https://nodejs.org/dist/v22.22.3/SHASUMS256.txt | grep ' node-v22.22.3-linux-x64.tar.xz$' | sha256sum -c - mkdir -p "$HOME/.local/lib" && tar -xJf /tmp/node-v22.22.3-linux-x64.tar.xz -C "$HOME/.local/lib" export PATH="$HOME/.local/lib/node-v22.22.3-linux-x64/bin:$PATH"

text

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill directs the agent to set persistent credentials and alter account configuration using qhkit config set --token <密钥> --env prod and environment variables. Persisting tokens and changing configuration exceed the narrow purpose of querying rankings and can create credential-handling, cross-session leakage, and account-misconfiguration risks.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The phrase '类目周榜' is terse and lacks platform or task context, so it may collide with generic discussion of weekly category rankings rather than a specific request to use this skill. The surrounding section provides examples, but no negative examples or narrowing conditions for this minimal phrase.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.