Back to skill

Security audit

抖音关键词搜索爬虫

Security checks for vulnerabilities and agentic risk

Overview

ClawScan’s verdict is benign, while noting that the skill includes account searches, creator and comment collection, and lead-generation workflows beyond its stated popular-content search purpose; some analysis is incomplete.

The verdict is benign, but confidence is medium and analysis coverage is partial. Before installing, consider whether you need the extra account, creator, comment, and lead-generation functions, and whether you are comfortable sending supplied links or IDs to www.guaikei.com. The results do not establish that the incompletely analyzed portions are safe.

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

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The code's primary operation is userSearch.createUserSearchTask followed by userSearch.getUserSearchTask, with command metadata consistently identifying user_search. Its help text explicitly distinguishes account searches from video/image-post searches and directs those searches to a different CLI. The only search parameters are keyword and limit; no date filtering or popularity-specific selection is shown. This is a material primary-purpose mismatch, not merely an implementation detail. The imported output helpers are not supplied, so exact table rendering cannot be verified.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Although both concern popular Douyin content and the description includes a trending-list trigger, this entry point has a materially different primary operation: parameterless real-time trending-list retrieval. The advertised keyword search and date filtering are absent and incompatible with its argument handling. Token validation and output handling 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
99% confidence
Finding

声明与代码的核心查询对象和查询方式存在实质差异:声明面向关键词驱动的热门内容搜索,实际代码要求指定博主身份,并通过 createPostTask/getPostTask 获取该博主的数据。数量设为 0 时还支持仅获取博主互动数据。令牌认证、参数校验和日志属于配套实现,本身不构成额外不匹配;判断依据是主要功能不同以及缺失声明中的关键词、日期范围和热门内容筛选能力。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

代码的核心行为是向 /api/douyin/comment/url 提交评论任务,并通过 /api/douyin/comment/info 获取结果。其输入为视频 URL 和评论数量,没有实现关键词搜索、日期范围筛选或热门作品查询。评论采集并非所声明作品搜索功能的普通实现细节,因此该代码块与声明用途存在实质性不符。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

该代码的主要用途是评论采集:必填输入为作品 URL 或 aweme_id,核心调用为 createCommentTask 和 getCommentTask,返回的也是评论数据。这与声明的热门作品关键词搜索在输入、操作及结果类型上均存在实质差异。认证、参数校验及日志属于辅助实现细节,本身不构成额外的不匹配。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

该代码的核心行为是按关键词查找用户账号,处理的也是用户资料及主页链接,与声明的视频作品搜索用途存在实质差异。代码未体现日期范围筛选或表格展示,但这些功能可能由其他模块实现,因此不将其缺失单独作为判定依据。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

代码的输入、API 调用和输出均围绕单条指定作品的详情获取展开,没有关键词搜索、热门或爆款筛选、日期范围参数或结果列表构建逻辑。虽然两者都涉及抖音作品数据,但该代码块的主要用途与声明的搜索功能存在实质差异。令牌读取、错误处理和日志处理属于实现细节,本身不构成额外的能力不匹配。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The documented command targets user-search-cli.js, and the examples describe finding accounts and creators. This is materially different from searching video works. Date filtering, popularity selection, and structured table output are not demonstrated. Because the CLI implementation is not supplied, its internal behavior cannot be verified; the mismatch is supported by the documented command and examples.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

createPostTask 将 url 和 limit 提交到 /api/douyin/post/url;getPostTask 使用相同参数轮询 /api/douyin/post/info,并返回 post 和 user。该代码的核心行为是获取指定博主的已发布作品,与声明的关键词热门作品搜索存在实质差异。所提供代码中也未体现关键词输入、日期范围筛选、热度筛选或表格展示;其中展示功能可能由其他模块承担,但这不消除当前接口用途与声明之间的差异。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

声明的主要用途是搜索抖音热门作品,而所提供的命令示例用途是获取已知视频的评论,两者属于不同的数据查询任务。判断仅基于展示的命令及说明,未推断未提供的 comment-cli.js 内部实现。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

所提供片段是命令使用文档,未展示底层实现。其明确描述的操作以指定博主及其作品、账号统计信息为中心,与声明的关键词热门内容搜索用途存在实质差异。片段也未体现日期范围筛选或结构化表格输出,但不能仅凭文档片段断定底层程序不支持这些功能。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The keyword video-search commands align with the declared purpose, and video details and trending results are reasonably related to the description and its trigger terms. However, account discovery, creator-level data retrieval, and comment collection are distinct capabilities not disclosed by the description. These support a scope mismatch, although the supplied material documents command interfaces rather than proving their runtime behavior. Structured-table output and explicit date-range filtering cannot be verified from this chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The supplied command targets comment retrieval through comment-cli.js using a video identifier and a result limit. Comment retrieval is not declared and is materially different from keyword-based video discovery. The chunk does not show keyword search, date filtering, or structured video-result presentation. The CLI implementation is not supplied, so further behavior cannot be established.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Video search, detail lookup, and hot-list retrieval align with the declared purpose. User discovery, profile-based post collection, and comment retrieval are additional capabilities not adequately disclosed by a description centered on keyword searches for popular works. This assessment is limited to the displayed CLI invocations; their underlying implementations and the meaning of --limit 0 are not supplied. The absence of demonstrated date filtering or table formatting alone is not the basis for the mismatch.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

声明的核心用途是关键词搜索与日期筛选,但代码片段展示的是 detail-cli.js 的 --url 调用,用于获取已知视频的详情,查询方式与主要用途存在实质差异。片段也未展示日期筛选或结构化表格输出,不过不能仅凭这些功能未出现就断定完整实现不支持它们。未发现访问无关资源或其他额外行为的证据。

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'

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 110)May include surrounding context.

md
| 运营 / 投放 | 按关键词找对标账号、达人 | `user-search-cli.js` |

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 129)May include surrounding context.

md
| 搜用户/达人/账号、按词找对标 | `node src/douyin/user-search-cli.js` | `--keyword` |