Back to skill

Security audit

视频号-ID转username | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s main purpose is understandable, but it tells an agent to make persistent local tool and credential configuration changes that are broad for a simple ID conversion task.

Review this skill before installing if you do not want agents to install global npm packages, add a local Node runtime, change PATH, or overwrite qhkit token/site configuration. If used, require explicit confirmation before any install, upgrade, PATH, or qhkit config change, and prefer a preinstalled, pinned qhkit version in a contained environment.

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

The trigger definition is overly broad and says the skill 'must' activate for similar requests, which can cause the agent to invoke this skill outside a tightly scoped context. In practice, that increases the chance of unnecessary external calls, package installation, or credential-handling steps being initiated when a safer or simpler path would suffice.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

For a narrow ID-to-username conversion task, the skill instructs broad host modification: installing Node.js, globally installing a package, setting tokens, and upgrading tooling. This meaningfully expands the attack surface and could lead an agent to perform persistent system changes and execute third-party code far beyond what is necessary for the requested capability.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill includes installation, upgrade, and configuration steps that modify the host environment, but it does not require explicit user confirmation before performing those actions. In an agent setting, this can lead to unexpected execution of installers, global package changes, and credential configuration without informed consent.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The skill permits fallback execution via npx @iqinghu/qhkit without pinning an exact package version. That creates a supply-chain and reproducibility risk because future package updates or a compromised upstream release could change behavior at runtime and execute unreviewed code in the host environment.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
93% confidence
Finding

This duplicate finding points to the same persistence behavior: writing Node.js under the user home directory and exporting a modified PATH. Even with checksum verification, persisting executables for future use is broader than necessary and can leave the environment in a changed state after the skill completes.

Content

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

This duplicate finding points to the same persistence behavior: writing Node.js under the user home directory and exporting a modified PATH. Even with checksum verification, persisting executables for future use is broader than necessary and can leave the environment in a changed state after the skill completes.

Content

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

The instructions strongly steer the agent to use the domestic CN site and to overwrite existing configuration unless the user explicitly says otherwise. That can cause cross-tenant or cross-region misconfiguration, accidental credential misuse, and replacement of a previously valid environment setting on the host.

Content

No source excerpt is available for this finding.