Back to skill

Security audit

亚马逊-类目价格分布 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s Amazon price analysis purpose is clear, but it tells the agent to install and upgrade local tooling and persist API credentials with limited user-control safeguards.

Review before installing. Use this skill only if you are comfortable letting an agent install or upgrade qhkit/Node tooling and handle a Qinghu API token. Prefer preinstalling qhkit yourself from a vetted version and providing credentials through a controlled, revocable method 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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill instructs the agent to set persistent credentials in the host environment via qhkit config set --token <密钥> or environment variables. This exceeds the minimum required scope and can lead to secrets being stored on disk or in shell environments where other processes, users, or future sessions may access them.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The instructions require that user-provided category keywords be translated into the target site's language before querying, and repeat this as a mandatory step. This imposes a language/locale behavior on user input without offering a choice or opt-in, which matches the policy category for forced language or locale handling.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill goes well beyond price-band analysis and instructs the agent to install Node.js, install npm packages, download binaries, modify PATH, and perform environment setup. Expanding a data-query skill into software installation materially increases attack surface and enables code execution and persistent host changes unrelated to the user’s business request.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning an exact version, which allows execution of whatever version is currently resolved from the registry at runtime. In a privileged agent or host environment, that creates a supply-chain risk and makes behavior non-reproducible, especially since the skill also encourages bootstrapping tooling on demand.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
95% confidence
Finding

This is a duplicate instance of the same persistent-install behavior: downloading and extracting runtime components into the user home directory and changing execution paths. In skill context, that persistence is disproportionate to the stated purpose and increases the chance of unauthorized long-term host modification.

Content

Scanner excerpt · SKILL.md (reported line 102)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 is a duplicate instance of the same persistent-install behavior: downloading and extracting runtime components into the user home directory and changing execution paths. In skill context, that persistence is disproportionate to the stated purpose and increases the chance of unauthorized long-term host modification.

Content

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