Back to skill

Security audit

亚马逊-关键词挖掘 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill is clearly for Amazon keyword research, but it also tells the agent to install and update external tools, alter the user environment, and store an API token with limited user-control safeguards.

Review before installing if you do not want a skill to install or update npm packages, download Node, change PATH, or configure a qhkit API token. If installed, approve paid qhkit calls only after seeing the estimated credits, and prefer a preinstalled, pinned qhkit version in a controlled environment.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger description uses broad mandatory language such as '必须触发' for loosely related requests, which can cause the skill to activate in contexts the user did not explicitly intend. Over-broad activation is dangerous because it can push the agent into paid external tool usage, environment changes, or data handling without sufficiently specific user consent.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The markdown trigger section gives example phrases but lacks clear boundaries and exclusions, so the agent may infer activation from partial similarity rather than explicit intent. In this skill, that matters because invocation can cascade into external CLI use and billed API calls.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill goes beyond keyword mining and directs the agent to install software, modify the environment, and configure API credentials. That materially increases the attack surface: it can lead to arbitrary code execution through package installation, persistent environment changes, and credential handling in a workflow that should only invoke an existing tool.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning a specific version, which allows whatever package version is current at execution time to be fetched and run. In a skill context, this creates a supply-chain and reproducibility risk because behavior can change unexpectedly or a compromised upstream release could execute arbitrary code.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
94% confidence
Finding

This duplicate finding points to the same persistence behavior: unpacking binaries into a user directory and exporting a modified PATH for future command resolution. Even though the text frames it as convenience setup, in practice it normalizes stateful system modification from a skill that should only perform keyword-mining operations.

Content

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

This duplicate finding points to the same persistence behavior: unpacking binaries into a user directory and exporting a modified PATH for future command resolution. Even though the text frames it as convenience setup, in practice it normalizes stateful system modification from a skill that should only perform keyword-mining operations.

Content

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

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

These lines instruct the agent to send a specific Chinese guidance message to the user about obtaining keys and handling site configuration. This imposes a language choice in the skill behavior without offering the user a language option or documenting that the skill is Chinese-only.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.