Back to skill

Security audit

视频号-账号内搜视频 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

This skill performs a paid video-account search, but it also tells the agent to install or upgrade software and configure credentials on the user's machine, so it needs review before use.

Install only if you are comfortable with qhkit, npm/Node setup, and an iqinghu API token being used for a paid external data service. Prefer a pre-provisioned or sandboxed environment with qhkit already installed, approve paid calls deliberately, and avoid letting the skill modify shell startup files or install latest-version packages automatically unless you trust those sources.

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

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger definition says the skill 'must' be invoked for similar requests and includes broad keyword matching, making activation criteria ambiguous and expansive. Over-broad invocation can cause the agent to enter a paid external-tool workflow unexpectedly, leading to unnecessary data disclosure to third-party services or unintended charges.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill’s stated purpose is searching videos within an account, but it additionally directs the agent to install Node, install global packages, configure API credentials, and modify the runtime environment. This materially expands the trust boundary from a narrow data-query action to host-level software deployment and credential handling, which can expose the system to supply-chain compromise, token leakage, and unintended system changes.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

These sections instruct the agent to use external package registries, network downloads, mirrors, and local installation flows unrelated to the core search operation. Such bootstrap behavior broadens attack surface substantially and creates an opportunity for supply-chain attacks or execution of unreviewed software in environments where the user only requested a search task.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning an exact version, which permits fetching whatever package version is current at execution time. In a skill that already performs environment bootstrap and package installation, this increases supply-chain risk and makes executions non-reproducible; a compromised or breaking upstream release could execute unexpected code.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
90% confidence
Finding

This duplicate persistence finding points to the same behavior: extracting software into a user-controlled directory and adjusting PATH for continued availability. In the context of a narrow data-retrieval skill, persistent environment mutation is disproportionate and increases the blast radius of any supply-chain issue or operator mistake.

Content

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

This duplicate persistence finding points to the same behavior: extracting software into a user-controlled directory and adjusting PATH for continued availability. In the context of a narrow data-retrieval skill, persistent environment mutation is disproportionate and increases the blast radius of any supply-chain issue or operator mistake.

Content

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

Vague Triggers

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The trigger example '账号内搜索' is quite short and generic, and the section does not provide negative examples or contextual limits for when it applies. In isolation, this may overlap with other account-internal search tasks beyond this specific 视频号 use case.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.