Back to skill

Security audit

TikTok-视频评论 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s TikTok comment lookup purpose is clear, but it directs agents to install or upgrade tools, alter the user environment, and configure API tokens on the host.

Install only if you are comfortable letting the agent install or upgrade Node/npm tooling, use qhkit from npm, and configure a Qinghu API token on your machine. Prefer a preinstalled, pinned qhkit version and platform-managed secrets, and confirm costs before any paid comment retrieval.

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 description includes broad, catch-all wording such as 'or similar requests must trigger', which can cause the skill to activate on loosely related user messages. Over-broad invocation is risky here because the skill can lead to package installation, credential setup, and paid external calls rather than a narrow read-only lookup.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The example trigger phrases are common conversational language and may overlap with generic requests about comments or public sentiment. In this skill's context, accidental activation is more dangerous because invocation may initiate external tool use, authorization flow, and potentially paid operations.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill's stated purpose is to retrieve TikTok video comments, but it also instructs the agent to bootstrap Node.js, install global packages, upgrade tooling, and modify the execution environment. This expands scope from data retrieval to host modification, increasing the chance of unintended code execution, persistence, and supply-chain compromise.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning a specific version, which allows execution of whatever package version is current at runtime. That creates a supply-chain risk and makes behavior non-deterministic, especially because the same file also encourages installation and execution on the host environment.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
95% confidence
Finding

This duplicated finding identifies the same persistence behavior: unpacking software into the user's home directory and exporting a modified PATH. Such changes outlive the specific comment-query task and can influence later command resolution, creating a durable foothold for unintended or compromised tooling.

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

This duplicated finding identifies the same persistence behavior: unpacking software into the user's home directory and exporting a modified PATH. Such changes outlive the specific comment-query task and can influence later command resolution, creating a durable foothold for unintended or compromised tooling.

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

The skill directs the agent to configure credentials in the host environment using qhkit config set or environment variables, including persistent token setup. This crosses a major security boundary by causing the agent to handle and store secrets on the host, potentially exposing credentials to logs, shell history, other processes, or later sessions.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.