Back to skill

Security audit

AI视频处理工具、图像处理工具 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed media-processing skill for qhkit, with expected media uploads and dependency setup, but users should notice that it may install or update command-line software.

Install this only if you intend to use Qinghu/qhkit media processing and are comfortable with npm/Node tooling being installed or updated, providing a qhkit API token, and having selected media files uploaded for processing. Use watermark-removal features only on media you have rights to modify.

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

Line L03 says the skill 'must trigger' whenever a user asks to process/optimize/clean video or image materials. That scope is very broad and lacks exclusion conditions or negative examples, so it could collide with many ordinary media-related requests and cause unintended invocation.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This media-processing skill contains broad environment-bootstrapping instructions to install Node.js, npm packages, and alter runtime configuration, expanding its capability beyond the stated purpose. That increases risk because invoking the skill can lead to system modification and execution of newly downloaded software, which is unnecessary for many user requests and widens the attack surface.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
89% 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, this creates a supply-chain risk: a compromised upstream package or newly introduced malicious release could be fetched and executed automatically on the host.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
84% confidence
Finding

This duplicate finding points to the same persistence behavior: installing binaries under the user's home directory and adjusting PATH for reuse across commands. Even though the instructions mention checksum verification, the resulting environment modification still exceeds the least-privilege expectations for a media-editing skill and can leave long-lived changes on the host.

Content

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

This duplicate finding points to the same persistence behavior: installing binaries under the user's home directory and adjusting PATH for reuse across commands. Even though the instructions mention checksum verification, the resulting environment modification still exceeds the least-privilege expectations for a media-editing skill and can leave long-lived changes on the host.

Content

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

These lines instruct the agent to direct users to the China-site login/API-key flow and require the site to be 'cn', only preserving 'intl' if the user explicitly says they use the international account. This imposes a locale-specific workflow by default rather than offering the user a language/region choice.

Content

No source excerpt is available for this finding.