Skill Trust Decision

guaikei-douyin-pull-video-comments

技能为抖音数据抓取工具,存在2处文档-行为违规(错误提示中输出官网URL和微信联系方式),但无恶意行为证据,属于轻微违规的营销推广。

Install decision first Source: ClawHub Scanned: Oct 7, 2026
Files 35
Artifacts 13
Violations 0
Findings 3

Why this conclusion was reached

0/4 dimensions flagged
Pass
Declared vs actual capability

Declared resources and inferred behavior are broadly aligned.

Review
Hidden execution and egress

13 lower-risk artifacts were extracted and still need context.

Pass
Attack chain and severe findings

There is no explicit malicious chain in the report.

Pass
Dependencies and supply chain hygiene

Dependencies are present but no obvious high-risk issue stands out.

What drove the risk score up

文档-行为违规(官网URL) +15

SKILL.md禁止输出官网链接,但token.js第17行在令牌无效时打印'www.guaikei.com'

文档-行为违规(微信联系方式) +15

SKILL.md禁止输出联系方式,但request.js第57行在认证错误时输出微信'13395823479'

Most important evidence

Medium Doc Mismatch

令牌无效时输出官网URL(违反SKILL.md声明)

SKILL.md明确声明'令牌无效时仅输出中性错误,不输出联系方式、官网链接或营销话术',但src/utils/token.js第17行在令牌无效时打印'快速获取通道: www.guaikei.com',属于阴影功能。

src/utils/token.js:16
移除该行输出,仅保留警告消息或输出中性错误提示。
Medium Doc Mismatch

认证错误时输出微信联系方式(违反SKILL.md声明)

SKILL.md禁止输出联系方式(包括微信),但src/utils/request.js第57行在AUTH_ERROR时输出微信号码'13395823479',属于文档明确禁止的营销话术。

src/utils/request.js:56
修改AuthError消息为中性提示,如'请检查环境变量 GUAIKEI_API_TOKEN 是否正确配置'。
Low Priv Escalation

日志目录回溯路径构造

src/utils/log.js第22行使用path.join和'..'回溯路径构造输出路径,虽然有filename清理,但仍建议审查。

src/utils/log.js:22
当前实现已有基本防护(filename清理限制200字符),风险较低,可接受。

Declared capability vs actual capability

Network Pass
Declared READ
→
Inferred READ
src/utils/request.js:69-93 通过HTTPS向www.guaikei.com发请求
Filesystem Pass
Declared WRITE
→
Inferred WRITE
src/utils/log.js:28-33 写入logs/目录
Shell Pass
Declared NONE
→
Inferred NONE
仅使用node命令,无Bash执行
Environment Pass
Declared READ
→
Inferred READ
所有CLI读取process.env.GUAIKEI_API_TOKEN

Suspicious artifacts and egress

Medium External URL
https://www.douyin.com/user/MS4wLjABxxx

SKILL.md:120

Medium External URL
http://json-schema.org/draft-07/schema#

assets/comment_cli_req.schema.json:2

Medium External URL
https://www.guaikei.com

readme.md:24

Medium External URL
https://www.douyin.com/video/xxx

readme.md:47

Medium External URL
https://v.douyin.com/xxx

references/options.md:48

Medium External URL
https://clawhub.ai/user/engheng-art

skill-card.md:9

Medium External URL
https://clawhub.ai/engheng-art/skills/guaikei-douyin-pull-video-comments

skill-card.md:39

Medium External URL
https://www.douyin.com/user/$

src/api/comment.js:16

Medium External URL
https://www.douyin.com/note/xxx

src/douyin/comment-cli.js:37

Medium External URL
https://www.douyin.com/note/

src/validate/comment.js:10

Medium External URL
https://www.douyin.com/video/

src/validate/comment.js:12

Medium External URL
https://www.douyin.com/user/

src/validate/post.js:10

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
Node.js内置模块 >=16.14.0 内置 No 仅用querystring、https、fs等内置模块

File composition

35 files · 2771 lines
JavaScript 21 files · 1803 linesMarkdown 5 files · 542 linesJSON 9 files · 426 lines
Files of concern · 6
src/utils/token.js JavaScript · 36 lines
令牌无效时输出官网URL(违反SKILL.md声明)
readme.md Markdown · 227 lines
https://www.guaikei.com · https://www.douyin.com/video/xxx
SKILL.md Markdown · 153 lines
https://www.douyin.com/user/MS4wLjABxxx
src/utils/request.js JavaScript · 173 lines
认证错误时输出微信联系方式(违反SKILL.md声明)
src/douyin/comment-cli.js JavaScript · 168 lines
https://www.douyin.com/note/xxx
references/options.md Markdown · 86 lines
https://v.douyin.com/xxx
Other files · search-cli.js · post-cli.js · keyword.js · args.js · search_cli_resp.schema.json · search.js

Security positives

仅使用Node.js内置模块,无外部依赖风险
无版本锁定问题
未访问敏感路径(~/.ssh、~/.aws、.env等)
未使用Base64编码或eval执行
未发现凭证收割行为
无反向shell或远程代码执行
代码结构清晰,文档完善