Back to skill

Security audit

电商背景替换 | 换背景 | 一键替换背景 | 场景合成 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed image background replacement integration that installs and uses a qhkit CLI, with ordinary setup and token risks users should understand.

Install this only if you trust the qhkit npm package and iqinghu service. It may install command-line tooling, store or use an API token, upload selected images to the provider, consume account credits, and leave local Node/qhkit configuration behind.

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
89% confidence
Finding

The manifest says the skill 'must trigger' whenever a user asks to change an image background or place a product into a scene, and then lists broad keywords like '换背景' and '更换背景'. These phrases are common user language and the file does not provide negative examples or constraints to distinguish when this skill should not activate, increasing the risk of unintended invocation overlap.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The skill instructs fallback execution via npx @iqinghu/qhkit without pinning a specific version. That allows whatever package version is current at execution time to be fetched and run, which weakens supply-chain integrity and can introduce unexpected or malicious code if the upstream package is compromised or a breaking release is published.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
88% confidence
Finding

This duplicate finding reflects the same persistence behavior: installing executables under the user's home directory and encouraging PATH changes across shells. In a skill context, that is risky because it normalizes host-environment mutation beyond the immediate task and can have lasting security and operational consequences.

Content

Scanner excerpt · SKILL.md (reported line 53)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 duplicate finding reflects the same persistence behavior: installing executables under the user's home directory and encouraging PATH changes across shells. In a skill context, that is risky because it normalizes host-environment mutation beyond the immediate task and can have lasting security and operational consequences.

Content

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

The instructions require using domestic-site key retrieval text and note that CLI messages are already user-facing Chinese, implying a fixed Chinese-language interaction pattern. The file does not offer users a language or locale choice, nor does it clearly justify the restriction as a region-specific skill policy exception.

Content

No source excerpt is available for this finding.