Back to skill

Security audit

电商场景图生成 | 场景合成 | 商品场景 | 营销场景图 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill matches its image-generation purpose, but it asks agents to install and update external command-line tools globally and may persist changes to the user's shell environment.

Review this skill before installing if you do not want agents to install global npm packages, fetch Node binaries, modify PATH behavior, or upload product images to qinghu services. Prefer a pinned, preinstalled qhkit in a contained environment and provide tokens only for the account and site you intend to use.

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

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The metadata says this skill 'must trigger' for broad, common requests related to product scene images, with no limiting conditions or competing-skill boundaries. In an agentic system, overbroad mandatory triggering can cause inappropriate tool invocation, unintended external calls, or bypass of safer/manual handling paths.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The 'when to trigger' examples are illustrative but ambiguous, and they do not define precise boundaries for when the skill should not run. That ambiguity increases the chance of accidental activation for ordinary conversations or adjacent requests, leading to unnecessary tool use and possible data disclosure to external services.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning an exact version, which allows execution of whatever package version is current at invocation time. In a security-sensitive agent environment, this creates supply-chain risk and makes behavior non-reproducible; a compromised or breaking upstream release could execute arbitrary code or alter outputs.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
88% confidence
Finding

This duplicated finding points to the same persistent install-and-PATH-modification behavior. Persisting user-space binaries and shell-path changes can silently alter later command resolution and expand the blast radius of any compromised dependency or misconfiguration beyond the immediate task.

Content

Scanner excerpt · SKILL.md (reported line 56)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 duplicated finding points to the same persistent install-and-PATH-modification behavior. Persisting user-space binaries and shell-path changes can silently alter later command resolution and expand the blast radius of any compromised dependency or misconfiguration beyond the immediate task.

Content

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

Several instructions assume or require Chinese output to the user, such as relaying the CLI message "原样转告用户" and stating those messages are already user-facing Chinese. This imposes a specific language/locale behavior without documenting user opt-in or offering an alternative language choice.

Content

No source excerpt is available for this finding.