Back to skill

Security audit

抖音智能爬虫

Security checks for vulnerabilities and agentic risk

Overview

ClawScan’s verdict is benign with medium confidence: the scanners found no AIG alerts, while Skillspector reports many capabilities beyond the skill’s stated Douyin comment-analysis purpose and incomplete analysis of some files.

The verdict is benign, but confidence is medium and the scan was partial. Before installing, consider whether you need the extra search, profile, post, trending, and lead-generation capabilities; also note Skillspector’s report that supplied links or IDs may be sent to a third-party API without clear notice in one workflow. The incomplete inspection means the scan does not establish that all files were fully assessed.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (65)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied module implements user search rather than comment retrieval, reply handling, or comment analysis. It submits keywords and result limits to /api/douyin/user-search/keyword, polls /api/douyin/user-search/info, and returns user records. User discovery is a distinct capability not disclosed in the description; this code does not establish it as merely a supporting implementation detail for comment analysis.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The code's primary operation is fetching a single Douyin work's details through createDetailTask and getDetailTask. Its help text explicitly states that it does not fetch comments. No comment retrieval, reply processing, sentiment analysis, or feedback summarization is present in the supplied chunk. Authentication, argument validation, and result logging are supporting details, not independent mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The code's primary operation is user/account search, which is not included in the declared comment-focused purpose. It accepts a search keyword and result limit and calls createUserSearchTask and getUserSearchTask; no comment retrieval, reply processing, or comment analysis is shown. Token handling and output formatting are supporting implementation details, not independent mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The code calls /api/douyin/post/url and /api/douyin/post/info and returns post and user data. It does not retrieve, reply to, or analyze comments. Creator-post and profile retrieval are distinct capabilities not disclosed in the comment-focused description, and the supplied chunk does not establish them as supporting a comment-analysis workflow.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied code retrieves trending-search rankings rather than comments or replies and performs no comment analysis. Although both concern Douyin, hot-search retrieval is a distinct capability and is not shown here as a supporting implementation detail of the declared comment-analysis purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied code's primary operation is collecting creator posts and associated creator data via createPostTask and getPostTask. It contains no visible comment or reply retrieval, comment analysis, sentiment assessment, or pain-point summarization. Creator-post collection is a materially different capability from the declared comment-focused purpose. Token handling, argument validation, and result logging are supporting implementation details, not independent mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The code's primary function is fetching and reporting Douyin trending-list records. It does not retrieve, reply to, or analyze comments, nor does it derive feedback or reputation insights. Trending-list retrieval is a distinct capability not disclosed by the declared description. Token handling and output formatting are supporting implementation details, not separate mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk primarily searches for videos and posts rather than retrieving or analyzing comments or comment replies. It contains no visible comment analysis, feedback summarization, or discussion-insight functionality. Content discovery might support a broader comment-analysis workflow, but this chunk exposes a standalone search capability not represented in the declared description. Token handling and logging are supporting implementation details, not separate mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

声明用途聚焦评论及评论回复分析,但代码片段展示的是作品列表与账号指标查询,属于不同的数据对象和功能。片段未体现这些查询如何支持评论分析,因此存在用途不匹配;此判断仅针对提供的调用示例,不推断未展示的 CLI 内部实现。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

声明的核心用途是评论及回复分析,而所提供文件展示的是账号发现与用户搜索,例如搜索 AI 账号和美妆达人,属于不同的主要能力。该文件仅包含命令用法,未提供 CLI 实现,因此无法确认其底层数据访问方式,但可明确识别展示功能与声明用途不一致。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied module implements a general content-search capability that the description does not disclose. It does not retrieve or analyze comments or replies. Although content search could support a broader comment-analysis workflow, this module exposes a distinct filtered search capability rather than merely an implementation detail of comment processing. No malicious behavior is evident in the supplied chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The visible commands perform keyword-based content discovery, including filtering videos by duration and sorting search results. They do not retrieve, reply to, or analyze comments. Although content search could support a broader comment-analysis workflow, no such connection appears in this snippet, whose demonstrated primary capability differs materially from the declared purpose. The underlying CLI implementation was not supplied, so this assessment is limited to the shown invocations.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Comment retrieval directly supports the declared purpose, and video details could provide supporting context. However, the supplied commands also expose general search, user discovery, user-post collection, and hot-content retrieval without connecting those operations to comment analysis. These materially broaden the skill beyond its comment-focused description. The CLI implementations are not supplied, so internal behavior and the meaning of --limit 0 cannot be verified.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

评论获取与声明的评论分析用途一致;视频详情也可能为评论分析提供上下文。但示例还明确提供独立的视频发现、账号搜索、博主数据获取及实时热榜查询能力,范围明显超出评论及评论回复分析,不能全部视为其支持性实现细节。因此存在能力范围不匹配。由于未提供 CLI 源码,本结论针对所展示的命令接口,不推断其内部网络、存储行为或是否实际实现评论分析与回复。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

The supplied command performs keyword search rather than comment retrieval, reply handling, or comment analysis. Although search could support a larger comment-analysis workflow, this chunk does not establish that connection and instead appears in a customer-acquisition reference. The CLI implementation is not supplied, so no additional behavior or data access is inferred.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The supplied module implements work-detail retrieval through /api/douyin/detail/url and /api/douyin/detail/info. It does not retrieve, reply to, or analyze comments. Although work details could provide context for comment analysis, this is a distinct data-retrieval capability not stated in the description, rather than merely polling or result-formatting implementation detail. This assessment is limited to the supplied code chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

Both examples invoke src/douyin/detail-cli.js with a video URL, and the accompanying text explicitly describes fetching video details. No comment retrieval, reply handling, or feedback analysis is shown. Although video details could support a broader comment-analysis workflow, the supplied chunk presents detail retrieval as its sole operation and does not establish that supporting role. This assessment is limited to the visible command examples.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- '抖音上"AI 教程"最火的视频 → node src/douyin/search-cli.js --keyword "AI 教程" --sort 1'

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- '最近一周关于"AI 模型"的最新内容,要 20 条 → node src/douyin/search-cli.js --keyword "AI 模型" --sort 2 --time 7 --limit 20'

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- '按关键词在评论区找高意向客户 → node src/douyin/search-cli.js --keyword "装修" --sort 1 --limit 20,再用 aweme_id 跑 comment-cli,结束后读 references/customer-acquisition.md'

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- '帮我找 1 分钟以内的减肥短视频,先来 30 条 → node src/douyin/search-cli.js --keyword "减肥" --duration 1 --limit 30'

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- '半年内最火的 AI 教程图文 → node src/douyin/search-cli.js --keyword "AI 教程" --sort 1 --time 180 --content 2'

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 搜视频/图文、爆款、选题 | `node src/douyin/search-cli.js` | `--keyword` |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node src/douyin/search-cli.js --keyword "AI 教程" --sort 1 --limit 10

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- '找做 AI 的对标账号 / 搜达人 → node src/douyin/user-search-cli.js --keyword "AI" --limit 20'