Back to skill

Security audit

抖音实时搜索

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated benign with medium confidence, but scanners report capabilities beyond its stated Douyin search purpose and incomplete inspection of some files.

The verdict is benign, but confidence is medium and analysis is partial: 31 of 53 components were fully scanned, with 22 only partially inspected. Before installing, consider whether you are comfortable with the extra account, creator, detail, comment, and hot-list functions, the reported possibility of reused search tasks, and supplied links or IDs being sent to a third-party API.

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

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The primary operation is comment retrieval: the CLI invokes createCommentTask and getCommentTask for a specified post. This is materially different from the declared real-time keyword search for Douyin posts. Sharing the Douyin platform and GUAIKEI authentication does not make these capabilities equivalent. The mismatch is functional; the supplied chunk does not itself show malicious behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The declared primary purpose is real-time keyword search, but this code implements a detail command requiring a specific post identifier. Its core calls are detail.createDetailTask and detail.getDetailTask, with no keyword-search operation or declared search filters. Although both involve Douyin and GUAIKEI, single-post detail retrieval is a materially different capability. The imported API implementations are not shown, so caching and freshness cannot be verified from this chunk.

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 workflow is creator-specific post retrieval: its required input is a profile URL or sec_uid, and its API calls are createPostTask and getPostTask. This materially differs from the declared keyword-based real-time search workflow. The only additional retrieval argument is a quantity limit. Although both concern Douyin and use GUAIKEI authentication, that overlap does not resolve the functional mismatch. The imported API implementation is not shown, so caching and actual data freshness cannot be determined from this chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied module implements video-comment retrieval, not real-time post search. Its inputs are a video URL and comment limit; it provides no keyword search, sorting, or publication-time filtering. Although both concern Douyin, comment collection is a materially different capability from the declared purpose. The timestamp parameter does not establish that returned content is live or uncached.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

代码调用 /api/douyin/user-search/keyword 和 /api/douyin/user-search/info,且结果处理面向用户记录及用户主页链接,表明其主要功能是用户搜索,与声明的实时作品搜索存在实质差异。创建请求中的时间戳本身不能证明数据为最新或非缓存;所示代码也未实现作品排序及发布时间筛选。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

代码调用 createUserSearchTask 和 getUserSearchTask,命令及输出类型均为 user_search。帮助文本明确说明“按关键词搜用户/达人/账号;搜视频/图文请用 search-cli.js”。因此,其主要功能与声明的实时作品搜索存在实质性差异。此外,参数仅包含 keyword 和 limit,没有声明中的排序或发布时间筛选;所提供代码也不足以验证结果具有“最新、非缓存”的时效保证。令牌校验、参数验证和结果输出属于支持性实现细节,不单独构成不匹配。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

createPostTask 向 /api/douyin/post/url 提交 url 和 limit;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
99% confidence
Finding

声明描述的是可配置的实时作品搜索,代码实现的却是固定的无参数热榜获取流程,两者虽同属抖音数据查询,但主要用途和输入能力存在实质差异。代码未展示 hot.getHotSearch 的内部实现,因此无法确认底层接口或数据是否确为实时;令牌读取、验证和输出处理属于配套实现细节,不单独构成不匹配。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The code calls /api/douyin/detail/url and /api/douyin/detail/info to retrieve individual post details. This is a materially different operation from the declared real-time keyword search. The task-creation request includes a timestamp, but that alone does not establish that results are live or uncached. 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
98% confidence
Finding

The supplied commands describe a materially different operation: fetching an individual video's details instead of performing real-time keyword searches. They show no keyword input, sorting, publication-time filtering, or GUAIKEI search call. The underlying CLI implementation is not supplied, so its internal behavior and data freshness cannot be verified.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

所提供片段调用 comment-cli.js,并明确以获取指定视频的 100 条评论为示例,其展示的主要用途是评论采集,而非实时作品搜索。片段未展示 GUAIKEI 调用、关键词搜索、排序或发布时间筛选。由于没有提供该 CLI 的实现,无法确认底层接口或数据时效性,但已展示的功能与声明用途存在实质差异。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

所提供代码的主要功能是读取抖音热榜,与声明的关键词实时作品搜索存在实质区别。虽然声明的触发词包含“实时抖音热门”,但其核心功能描述仍是按关键词搜索作品,不能准确代表此处的热榜接口。代码也未提供足够证据证明返回数据一定为最新、非缓存数据;未发现其他无关操作。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

声明的核心用途是关键词驱动的实时作品搜索,而代码片段展示的是面向指定用户的作品列表及账号信息查询,主要用途存在实质差异。片段未展示关键词、排序或发布时间筛选参数,也未提供 GUAIKEI 调用或实时性保证的证据。由于提供的是命令示例而非脚本实现,无法确认底层接口及缓存行为,但可明确识别其公开展示的查询能力与声明不符。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The commands target src/douyin/user-search-cli.js, and their accompanying text explicitly describes account searches. This is a materially different search target from the declared real-time works search. The snippet does not include the CLI implementation, so GUAIKEI usage, freshness guarantees, sorting, and publication-time filtering cannot be verified.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Only the work-search command directly matches the declared keyword-based real-time search purpose. The other commands expose additional standalone retrieval capabilities that are not merely implementation details of that search. Hot-list retrieval has some overlap with the declared trending-content trigger, but the user-search, profile-post, comment, and detail commands clearly extend beyond the description. Because the underlying JavaScript files are not supplied, this chunk does not establish whether requests use GUAIKEI or return live rather than cached data.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

关键词作品搜索及其排序、时间筛选与声明一致,但其余示例呈现了多个独立的查询和采集能力,不只是搜索的支持性实现细节。它们均属于抖音数据功能,却明显超出声明限定的实时关键词作品搜索范围。由于材料仅为 README 中的调用示例,本结论针对其明确展示的能力范围,不推断未提供实现中的网络访问、缓存或其他行为。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

The supplied command targets comment-cli.js with an aweme_id and a limit. This indicates comment retrieval, a capability not described in the declared real-time work-search purpose. The snippet does not expose the CLI implementation, so its exact API usage and data freshness cannot be verified.

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'