Back to skill

Security audit

Shopee-店铺库筛选 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill is mainly a coherent Shopee shop-data query helper, but it also directs agents to make broad local environment changes and run unpinned external package installs.

Install only if you are comfortable with qhkit, Node/npm, and a Qinghu token being configured on the machine. Prefer installing qhkit through a trusted, pinned setup process first, and do not let the agent modify PATH, shell startup files, or global npm packages without explicit approval.

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 (6)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown/manifest text says the skill '必须触发' not only for a few examples but also for any '同类需求', which leaves the activation boundary unclear. The example phrase '对标店铺列表' is also broad enough that it could overlap with many benchmarking/listing requests beyond this specific Shopee shop-filtering workflow.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The trigger section provides only three example utterances and no negative examples, exclusion conditions, or explicit statement of what related requests should not activate this skill. That ambiguity increases the risk of unintended invocation for adjacent tasks such as broader competitor analysis or general shop research.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill goes far beyond querying Shopee shop data by telling the agent to install Node.js, globally install packages, modify PATH, set credentials, and alter local configuration/environment. This expands the attack surface from a narrow data query into arbitrary environment bootstrapping and secret handling, increasing the chance of unsafe system changes, credential exposure, or unintended persistence.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
84% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning an exact version, which makes execution dependent on whatever package version is current at runtime. That creates a supply-chain and reproducibility risk: a future compromised or incompatible package release could be fetched and executed automatically in the user's environment.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
91% confidence
Finding

This duplicate finding points to the same persistence behavior: unpacking Node into the home directory and exporting a new PATH for subsequent command execution. In the context of an agent skill, instructions that reshape the runtime environment create unnecessary persistence and increase the blast radius if the dependency or workflow is later abused.

Content

Scanner excerpt · SKILL.md (reported line 109)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
91% confidence
Finding

This duplicate finding points to the same persistence behavior: unpacking Node into the home directory and exporting a new PATH for subsequent command execution. In the context of an agent skill, instructions that reshape the runtime environment create unnecessary persistence and increase the blast radius if the dependency or workflow is later abused.

Content

Scanner excerpt · SKILL.md (reported line 109)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

Static analysis

No suspicious patterns detected.