Back to skill

Security audit

TikTok 视频转文字 · TikTok transcript

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because its code accepts broader content than the TikTok-only description suggests, sends requests to an external service, and uses an unpinned optional dependency; the evidence is incomplete because a referenced item was missing from analysis.

Consider the broader platform support, external API and API-key use, and unpinned optional dependency before installing. The scan is partial: a referenced item was missing from analysis, so the available evidence cannot settle all questions about the skill.

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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (8)

Tainted flow: 'req' from os.environ.get (line 103, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/linkdigest.py (reported line 111)May include surrounding context.

python
if data is not None:
        req.add_header("Content-Type", "application/json")
    try:
        with urllib.request.urlopen(req, timeout=timeout, context=_SSL["context"]) as resp:
            status, headers, raw = resp.status, resp.headers, resp.read()
    except urllib.error.HTTPError as err:
        status, headers, raw = err.code, err.headers, err.read()

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied chunk targets a hard-coded video on Douyin, a platform/domain outside the declared TikTok inputs, and does not accept the user's link. This is an input-resource mismatch. Calling a digest API, using an API key, and polling for results are otherwise consistent supporting implementation details. The chunk alone does not establish which transcript or metadata fields the remote API returns.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The external digest API and API-key authentication are consistent supporting implementation details. However, the supplied command targets a fixed Douyin resource, not the user-provided TikTok links specified in the description. Douyin is a separate platform despite its relationship to TikTok. The API response is not shown, so the code does not establish which transcript or metadata fields are returned.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The core API workflow is consistent with the declared TikTok extraction purpose, and network requests, API-key access, polling, and output formatting are supporting implementation details rather than mismatches. However, the exposed CLI is broader than the TikTok-specific description and includes a separate breakdown capability. The code delegates extraction to a remote service, so actual transcript quality, pricing, and backend platform support cannot be verified from this chunk alone. No unrelated local-file collection or command execution is evident.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 70)May include surrounding context.

直接调 HTTP(没有 Python 时)

bash
curl -sS -X POST https://linkdigest.dev/api/v1/digest \
  -H "Authorization: Bearer $LINKDIGEST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://v.douyin.com/VeXgdE_QwTE", "format": "json"}'

MCP server referenced without pinned version: 'npx mcp-remote'.

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The optional integration command uses npx to execute mcp-remote without a version pin, so a fresh installation can fetch a different package release without review. A compromised release could execute with the user's local privileges and access the API key supplied to the command; this is a supply-chain exposure, not evidence that the current package is malicious.

Content

No source excerpt is available for this finding.

The TikTok-only manifest wraps a multi-platform client that accepts and submits non-TikTok content.

Low
Category
Excessive Agency
Confidence
90% confidence
Finding

The manifest scopes this skill to tiktok.com and vm.tiktok.com links, but the CLI explicitly advertises Xiaohongshu, Douyin, YouTube, X, and WeChat article processing at L265. It accepts arbitrary links or share text and places the entire input in the API request at L285–L290, subsequently submitting it at L311 without a TikTok-domain restriction.

Content

No source excerpt is available for this finding.