Back to skill

Security audit

Shopee-商品每日趋势 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

This looks like a legitimate Shopee analytics skill, but it gives the agent broad setup authority to install or upgrade tools and store API credentials on the host.

Install only if you are comfortable letting the agent set up or upgrade qhkit/Node and store a Qinghu API token locally. Prefer a preinstalled, pinned qhkit version and a scoped or disposable API key, and confirm charges before any paid Qinghu calls.

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 metadata description says requests like product daily sales or price/sales trends 'must trigger', which is overly broad and mandatory. Over-broad auto-invocation can cause unintended activation, unnecessary paid calls, and collection or processing of data when the user's intent is ambiguous.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The invocation examples are short generic phrases and do not define exclusion criteria or disambiguation rules. In context, that makes accidental activation more likely, especially because the skill also contains mandatory trigger language and paid external calls.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

For a read-only analytics skill, the environment self-bootstrapping section authorizes installing Node, downloading binaries, modifying PATH, and upgrading packages on the host. This expands the skill's power well beyond querying product trends and creates unnecessary attack surface for host modification and supply-chain abuse.

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. That allows whatever package version is current at execution time to be fetched and run, increasing supply-chain and reproducibility risk if the package is updated maliciously or incompatibly.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
88% confidence
Finding

This duplicate finding points to the same persistent install-and-PATH-modification behavior. Persisting runtime components for a simple analytics lookup is unnecessary and increases long-term risk through environment drift and potential reuse of unreviewed binaries.

Content

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

This duplicate finding points to the same persistent install-and-PATH-modification behavior. Persisting runtime components for a simple analytics lookup is unnecessary and increases long-term risk through environment drift and potential reuse of unreviewed binaries.

Content

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

The skill tells the agent to set persistent credentials using qhkit config set --token <密钥> --env prod or environment variables. Persisting secrets in the host environment is broader than the query task and risks credential leakage, reuse across sessions, and unintended exposure to other processes or future skills.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.