Back to skill

Security audit

AI生成电商图 | 电商主图 | 电商详情图 | 电商白底图 | 电商活动图 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent e-commerce image-generation helper, but users should understand it installs and runs an external CLI and sends product images/prompts to that service.

Before installing, confirm you are comfortable installing an npm CLI, storing or providing a Qinghu API token, and uploading product images/prompts to the qhkit service. Prefer reviewed or pinned package versions in controlled environments, and avoid adding PATH changes to shell startup files unless you want them to persist.

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
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation description is extremely broad and mandates triggering for many generic image-generation requests across multiple commerce platforms. In an agent setting, overly broad triggers can cause the skill to intercept unrelated user requests and steer execution toward installing/running external tooling and collecting API credentials when a simpler or safer path would suffice.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning a specific version, which makes execution depend on whatever package version is current at runtime. That creates a supply-chain risk: a compromised or breaking upstream release could be fetched and executed in the agent environment without review.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
91% confidence
Finding

This duplicate finding points to the same persistence behavior: unpacking software into a user-controlled directory and exporting that location into PATH, with guidance suggesting .bashrc changes for cross-command persistence. Such instructions normalize durable environment changes during skill execution, which is risky in shared or long-lived agent environments.

Content

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

This duplicate finding points to the same persistence behavior: unpacking software into a user-controlled directory and exporting that location into PATH, with guidance suggesting .bashrc changes for cross-command persistence. Such instructions normalize durable environment changes during skill execution, which is risky in shared or long-lived agent environments.

Content

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

The skill tells the agent to relay CLI messages and guidance in Chinese, effectively constraining user-facing output language without checking user preference. This is primarily a safety/usability issue: it can mislead or exclude users, and in security-relevant error cases it may reduce comprehension of installation, auth, or failure details.

Content

No source excerpt is available for this finding.