Back to skill

Security audit

视频号-合集内视频 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s main data-fetching purpose is clear, but it also tells agents to install software and persist account tokens on the host, which deserves review before use.

Install only if you are comfortable with an agent installing or upgrading Node/qhkit and storing a Qinghu API token on the machine. Prefer preinstalling qhkit yourself, using a least-privilege token, and confirming the cn vs intl account environment before running paid calls.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (7)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The markdown explicitly states that the skill must trigger on the short phrase "合集作品", but that phrase is ambiguous and lacks context tying it specifically to this tool or to 视频号 collection-video retrieval. Without narrower constraints or exclusion examples, it could cause unintended invocation for general discussion of collection content.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill’s stated purpose is querying collection videos, but it also directs the agent to install Node.js and globally install qhkit, which are host-modifying actions outside a narrow data-retrieval scope. This expands the skill from tool use into software provisioning, increasing the attack surface and enabling unintended persistence or execution of third-party code on the host.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
87% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning an exact version, which makes execution dependent on whatever package version is current at invocation time. That creates a supply-chain and reproducibility risk: a future compromised or breaking release could be fetched and executed during task fulfillment.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
94% confidence
Finding

This duplicate finding points to the same persistence behavior: installing Node into a user-writable directory and updating PATH creates durable changes outside the skill’s advertised purpose. In the context of an agent skill, such persistence is especially risky because it normalizes host mutation and enables future execution of newly installed binaries.

Content

Scanner excerpt · SKILL.md (reported line 91)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 duplicate finding points to the same persistence behavior: installing Node into a user-writable directory and updating PATH creates durable changes outside the skill’s advertised purpose. In the context of an agent skill, such persistence is especially risky because it normalizes host mutation and enables future execution of newly installed binaries.

Content

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

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill instructs the agent to persistently configure credentials via qhkit config set or environment variables, which exceeds the minimum needed for a single retrieval task and crosses into account configuration. Persisting secrets on the host can expose tokens to later sessions, other tools, or accidental disclosure, and creates durable side effects unrelated to the user’s immediate request.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill hard-codes a preference for the Chinese mainland site/account configuration unless the user explicitly states otherwise. This can steer authentication and data access toward a particular service environment without clear user intent, creating risk of misrouting credentials, confusing account boundaries, and contacting an unintended remote service.

Content

No source excerpt is available for this finding.