Back to skill

Security audit

Shopee-品牌长期趋势 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s Shopee brand-trend purpose is clear, but it also directs agents to install and update runtime tools and persist API credentials in ways users should review before installing.

Review this skill before installing if you are not comfortable with an agent installing or updating qhkit/Node, changing PATH-related setup, or storing Qinghu API credentials locally. Prefer using a preinstalled, pinned qhkit version and a scoped secret-management mechanism where 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 (8)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The description says the skill 'must trigger' for similar requests and includes broad keyword-driven activation language. This can cause the skill to run in situations the user did not explicitly intend, increasing the chance of unnecessary external calls, billing, or execution of the skill's risky setup steps.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
82% confidence
Finding

The '何时触发' section provides only three positive examples, including generic phrases like '按季度看品牌趋势' and '多站点对比品牌表现', but does not define when similar requests should not trigger. Without scope limits or negative examples, the invocation condition remains ambiguous.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill goes far beyond a brand-trend query by directing the agent to install Node, install global packages, alter PATH, and bootstrap runtime dependencies. Those actions expand the attack surface substantially and can modify the host environment persistently, which is not justified by the business function of querying trend data.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
89% 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 invocation time. That creates supply-chain and reproducibility risk: a compromised, malicious, or breaking upstream release could be fetched and executed in the agent environment.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
95% confidence
Finding

This duplicated finding points to the same persistence behavior: downloading and extracting Node into the home directory and exporting a modified PATH. Such stateful environment changes can outlive the task, complicate auditing, and enable unintended future tool execution paths.

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 duplicated finding points to the same persistence behavior: downloading and extracting Node into the home directory and exporting a modified PATH. Such stateful environment changes can outlive the task, complicate auditing, and enable unintended future tool execution paths.

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

The skill instructs the agent to read credentials from environment variables or persist them via qhkit config set --token, including guidance around overwriting environment configuration. This encourages secret handling and persistent auth changes that exceed the scope of a trend-query skill and increase the risk of credential exposure, misuse, or cross-context account confusion.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

These lines instruct the agent to provide domestic-site key retrieval guidance using fixed Chinese websites and wording, and to avoid international-site guidance unless the user explicitly says otherwise. This imposes a specific language/locale workflow without offering the user a choice, which is a natural-language locale policy concern.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.