Back to skill

Security audit

Shopee-热搜词榜单 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s Shopee keyword-ranking purpose is coherent, but it tells agents to automatically install software and configure credentials in ways users should review first.

Install only if you are comfortable with this skill using qhkit for paid Qinghu/Shopee data calls and with any dependency or token setup being done explicitly under your control. Prefer preinstalling qhkit yourself, pinning package versions, and providing credentials through a managed secret mechanism rather than letting the skill bootstrap the environment automatically.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (8)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description says the skill 'must trigger' for broad, common phrases like weekly hot search rankings or fastest-growing keywords. Over-broad mandatory triggering can cause the wrong skill to activate in unrelated contexts, increasing the chance of unnecessary tool use, paid calls, or execution of the setup/credential instructions embedded later in the file.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill goes far beyond querying Shopee keyword rankings by instructing environment bootstrapping, package installation, Node installation, PATH modification, and credential setup. Expanding a data-query skill into system provisioning increases attack surface and encourages execution of privileged or persistent changes unrelated to the user-facing task.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill includes system-level software installation instructions, including global npm installs and manual Node binary download/extraction. For a ranking-query skill, this is excessive capability expansion that can lead an agent to alter the host system, create persistence, or execute unreviewed software as part of normal task fulfillment.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
78% confidence
Finding

The skill recommends fallback execution via npx @iqinghu/qhkit <命令> ... without pinning an exact package version. That creates supply-chain and reproducibility risk because a future or compromised package release could be fetched and executed at runtime, especially in a tool that also handles credentials and paid API access.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
95% confidence
Finding

This duplicate finding points to the same persistence behavior: installing binaries under the user's home directory and modifying PATH for subsequent command execution. Even with checksum guidance, embedding persistence instructions inside a business-data skill unnecessarily expands privileges and makes accidental host modification more likely.

Content

Scanner excerpt · SKILL.md (reported line 101)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 duplicate finding points to the same persistence behavior: installing binaries under the user's home directory and modifying PATH for subsequent command execution. Even with checksum guidance, embedding persistence instructions inside a business-data skill unnecessarily expands privileges and makes accidental host modification more likely.

Content

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

The skill directs the agent to configure API tokens and inspect environment configuration, including asking users to obtain credentials and set QHKIT_TOKEN or run qhkit config set. That is outside the narrow ranking-query scope and risks credential handling, leakage, and unsafe secret manipulation by an automated agent.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

The invocation guidance provides only positive examples and lacks clear exclusions or disambiguation logic. In isolation this is a quality issue, but in this skill it becomes more security-relevant because accidental activation could cascade into paid external calls or system/bootstrap actions.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.