Back to skill

Security audit

亚马逊-ASIN出单词反查 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s Amazon keyword lookup purpose is clear, but it also tells the agent to install and update runtime tools, alter PATH, and store API credentials, which should be reviewed before use.

Install only if you are comfortable allowing this skill to install or update qhkit/Node tooling and configure a Qinghu API token. Prefer preinstalling a reviewed, pinned qhkit version yourself, avoid npx/@latest runtime execution, and approve paid qhkit calls only after checking the estimated credits.

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 (6)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description says the skill must trigger when the user says three example phrases "or raises similar needs" ("或提出同类需求时必须触发"). That catch-all language does not define clear boundaries for what counts as similar, increasing the risk of unintended invocation on adjacent Amazon optimization questions.

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 far beyond ASIN keyword lookup by directing the agent to install Node/qhkit, modify PATH, configure credentials, and bootstrap the environment. That expands the attack surface from a data query skill into host modification and secret-handling behavior, increasing the chance of unsafe changes, credential exposure, or unintended execution in the user's environment.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
90% 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. In a skill context, that creates a software supply-chain risk because behavior can change unexpectedly or a compromised upstream package could run code on the host during installation/execution.

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: writing Node binaries into the user's home directory and changing PATH. In the context of a skill that should only perform ASIN keyword reverse lookup, persistent environment changes are unnecessary and materially increase system and supply-chain risk.

Content

Scanner excerpt · SKILL.md (reported line 113)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: writing Node binaries into the user's home directory and changing PATH. In the context of a skill that should only perform ASIN keyword reverse lookup, persistent environment changes are unnecessary and materially increase system and supply-chain risk.

Content

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

Vague Triggers

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The "何时触发" section provides only three short example utterances without clarifying scope, required constraints, or non-matching cases. Because there are no exclusions or negative examples, neighboring requests about Amazon ads or keyword analysis could be interpreted as triggers inconsistently.

Content

No source excerpt is available for this finding.