Back to skill

Security audit

TikTok-视频详情查询 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s TikTok lookup purpose is clear, but it tells the agent to install runtime tools and persist account credentials/configuration in ways users should review before installing.

Install only if you are comfortable with the agent installing qhkit/Node tooling, running unpinned npm package commands, storing a qhkit token in persistent config, and steering the account site to the cn environment. Paid data calls require user consent in the skill, but setup/configuration changes should be approved deliberately first.

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

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest description says the skill must trigger when the user says phrases like「查一下这条 TikTok 视频的数据」or「这个视频播放和带货怎么样」and also for 'similar requests'. These examples are natural everyday requests and the added '同类需求时必须触发' broadens scope without clear boundaries or exclusion conditions, increasing the risk of unintended invocation.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The activation section provides two short example phrases but does not define precise trigger criteria, limits, or non-matching cases. Because the phrases are common user requests, the skill could be invoked for loosely related conversations rather than only when the user wants TikTok video-detail lookup by video_id.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill includes broad environment bootstrapping steps—installing Node, downloading archives, modifying PATH, and handling package installation—even though the skill's stated purpose is just querying TikTok video details. Expanding scope this far increases attack surface and can cause the agent to perform risky system changes unrelated to the user task.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

The skill recommends executing npx @iqinghu/qhkit without pinning an exact package version. That creates a supply-chain risk because the agent may fetch and run whatever version is current at execution time, including a compromised or breaking release, despite the skill only needing a stable query tool.

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: unpacking Node into $HOME/.local/lib and exporting a modified PATH. Even with checksum verification, the skill is directing durable environment changes unrelated to the narrow lookup function, which violates least privilege and increases long-term risk.

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

This duplicate finding points to the same persistence behavior: unpacking Node into $HOME/.local/lib and exporting a modified PATH. Even with checksum verification, the skill is directing durable environment changes unrelated to the narrow lookup function, which violates least privilege and increases long-term risk.

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

The skill directs the agent to configure persistent credentials with qhkit config set and inspect environment-derived configuration. For a query-only skill, instructing the agent to write tokens into persistent config and reason about environment variables exceeds least privilege and risks credential exposure or unintended account reconfiguration.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill forces use of a specific domestic site/configuration unless the user explicitly states otherwise, causing the agent to steer account configuration and endpoint selection without user opt-in. This can route credentials or requests to an unintended service context and may create privacy, compliance, or account-misconfiguration issues.

Content

No source excerpt is available for this finding.