Back to skill

Security audit

AI电商图文广告 | 图文广告 | 营销图文 | 广告海报生成 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill has a coherent ad-image generation purpose, but its setup instructions can install and update remote tooling, alter the user's environment, and store service credentials with limited user-control boundaries.

Install only if you are comfortable letting the skill set up qhkit/Node tooling and configure a Qinghu API token. Prefer using an already-installed, reviewed qhkit version, avoid unpinned npx or @latest upgrades unless you approve them, and review any PATH or shell-profile changes before allowing them.

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

The trigger text says the skill must fire whenever users ask for broad classes of common content such as promotional images, notes, and creative assets. Overly broad mandatory triggering can cause unnecessary invocation of a tool-capable skill, increasing the chance that installation steps, credential prompts, or external calls occur in contexts where a simpler non-tool response would suffice.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The trigger examples blur boundaries between this skill and neighboring poster/video skills, which can lead to accidental activation of the wrong workflow. In a tool-using agent, ambiguous routing increases the odds of unnecessary external command execution or credential/setup prompts for requests that may belong to safer or simpler skills.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill includes extensive environment bootstrapping, package installation, Node installation, mirror switching, token configuration, and upgrade instructions that go far beyond simple ad-asset generation. This materially expands the attack surface by encouraging the agent to modify the host environment, install network-fetched software, and persist configuration in order to satisfy ordinary content-generation requests.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The skill instructs the agent to execute npx @iqinghu/qhkit without pinning a specific version, which can fetch and run whatever package version is current at execution time. That creates a supply-chain risk and makes behavior non-deterministic, especially because the package is executed directly rather than only installed for later review.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
94% confidence
Finding

This finding is substantively the same persistence issue: the skill directs the agent to unpack binaries into a user-controlled location and export a modified PATH so future commands resolve to that runtime. That persistence is not necessary for the core business task and enables durable environment changes that can outlive the current session.

Content

Scanner excerpt · SKILL.md (reported line 70)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 finding is substantively the same persistence issue: the skill directs the agent to unpack binaries into a user-controlled location and export a modified PATH so future commands resolve to that runtime. That persistence is not necessary for the core business task and enables durable environment changes that can outlive the current session.

Content

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