Back to skill

Security audit

TikTok-店铺商品列表 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s TikTok shop lookup purpose is coherent, but it directs broad local tool installation and persistent credential setup without clear user-controlled setup boundaries.

Review before installing. Use this skill only if you intend to use the Qinghu qhkit paid data service, and do the Node/qhkit installation and token setup yourself or only after explicit approval. Prefer pinned package versions and avoid storing API tokens in persistent local config unless you are comfortable with later qhkit calls using that credential.

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

The trigger description is broad enough that the skill may activate on loosely related shopping or competitor-analysis requests. Over-broad invocation increases the chance the agent enters the skill unnecessarily and executes paid external tooling or setup steps the user did not clearly request.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The example triggers list likely intents but does not define clear exclusions, prerequisites, or when not to invoke the skill. In context, this is more dangerous because invocation can lead to paid calls and local environment modification, so accidental triggering has real security and operational cost.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

For a read-only shop-product lookup skill, the documentation goes far beyond least privilege by directing installation of Node.js, global packages, PATH changes, and environment bootstrapping. These actions expand the agent's authority and attack surface significantly, enabling persistent system modification unrelated to the narrow user task.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

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

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
95% confidence
Finding

This duplicated finding identifies the same persistence behavior: installing binaries under the user's home directory and exporting PATH for subsequent use. The danger is context-dependent but elevated here because the persistence is unrelated to the core business function and expands future execution capability on the host.

Content

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

This duplicated finding identifies the same persistence behavior: installing binaries under the user's home directory and exporting PATH for subsequent use. The danger is context-dependent but elevated here because the persistence is unrelated to the core business function and expands future execution capability on the host.

Content

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

The skill tells the agent to set persistent credentials via qhkit config set and environment variables, which alters local authentication state for future sessions. For a simple data retrieval skill, writing tokens into config or environment is excessive and risks credential exposure, misuse across tasks, and unintended cross-session persistence.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.