Back to skill

Security audit

抖音-视频评论采集 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill has a coherent Douyin-comment collection purpose, but it asks the agent to install and update external tooling and modify local qhkit credentials/configuration, which needs review before use.

Install only if you are comfortable with the agent installing or updating Node/qhkit and changing qhkit API-key configuration on your machine. Before use, require explicit confirmation for installs, upgrades, token changes, and every paid data-collection batch, and avoid invoking it unless the request clearly names Douyin video comments or includes a Douyin video URL.

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
  • 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
Findings (9)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The requirement that similar requests 必须触发 is ambiguous and creates pressure to invoke the skill even when the match is fuzzy. In an agent setting, ambiguous mandatory triggering can bypass normal intent disambiguation and lead to unintended external calls or charges.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The requirement that similar requests 必须触发 is ambiguous and creates pressure to invoke the skill even when the match is fuzzy. In an agent setting, ambiguous mandatory triggering can bypass normal intent disambiguation and lead to unintended external calls or charges.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The trigger list again includes a generic phrase without sufficient context, reinforcing a broad auto-invocation policy for requests that may not actually be about Douyin comments. Because this skill can lead to external calls and billing, weak trigger specificity is materially risky rather than merely a UX issue.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill goes far beyond comment retrieval by instructing the agent to install Node, install packages, download binaries, modify PATH, and bootstrap an execution environment. This materially expands the attack surface and can cause the agent to make persistent system changes or execute untrusted tooling unrelated to the narrow user task.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
84% confidence
Finding

The skill directs fallback execution via npx @iqinghu/qhkit without pinning an exact version, which makes behavior dependent on whatever package version is resolved at runtime. In a security-sensitive agent context, this increases supply-chain and reproducibility risk because a newer or compromised package version could be fetched and executed unexpectedly.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
92% confidence
Finding

This duplicate finding points to the same persistence behavior: unpacking software into the home directory and altering execution paths. In the context of a simple comment-collection skill, such persistence is unjustified and increases the risk of unintended system modification and future execution of newly installed binaries.

Content

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

This duplicate finding points to the same persistence behavior: unpacking software into the home directory and altering execution paths. In the context of a simple comment-collection skill, such persistence is unjustified and increases the risk of unintended system modification and future execution of newly installed binaries.

Content

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

The skill instructs reading configuration state and altering credentials or environment (qhkit config show, config set, QHKIT_TOKEN, QHKIT_ENV) even though the stated purpose is only collecting Douyin comments. Accessing and modifying local auth/config state can expose secrets, overwrite existing configuration, or interfere with unrelated accounts and services.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The file instructs the agent to send specific Chinese guidance text to the user, including domestic-site key retrieval wording, without offering a language choice. This can violate language/locale policy when the user prefers another language or has not opted into Chinese-only communication.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.