Skill Trust Decision

summarize

安装脚本包含从 GitHub 远程 URL 下载并执行 shell 脚本的危险命令,该能力未在 SKILL.md 中声明,构成文档欺骗;用户名 gtbwpkwjnb-alt 高度可疑。

Install decision first Source: ClawHub Scanned: 22 days ago
Files 35
Artifacts 3
Violations 2
Findings 6
Most direct threat evidence
Critical RCE
远程 Shell 脚本执行(curl|bash 管道)

安装文档和脚本使用 curl 下载远程脚本并通过管道直接执行 bash,这是典型的高危远程代码执行模式。攻击者可通过篡改 GitHub 仓库中的脚本内容,在受害者机器上执行任意代码。

references/installation.md:6

Why this conclusion was reached

3/4 dimensions flagged
Block
Declared vs actual capability

2 undeclared or violating capabilities were inferred.

Block
Hidden execution and egress

2 high-risk artifacts or egress signals were extracted.

Block
Attack chain and severe findings

The report includes 4 attack-chain steps and 4 severe findings.

Review
Dependencies and supply chain hygiene

Dependency information is incomplete, so supply-chain confidence stays limited.

Attack Chain

01
用户通过 SKILL.md 了解技能,误以为只是无害的会话总结工具

Entry · SKILL.md:1

02
用户阅读 installation.md 或 README.md,看到一键安装命令

Entry · references/installation.md:6

03
用户执行 curl|bash 命令,远程脚本被下载并执行

Escalation · references/installation.md:6

04
攻击者可在受害者机器上执行任意代码(若 GitHub 仓库被入侵或用户名被劫持)

Impact · N/A

What drove the risk score up

远程代码执行(curl|bash管道) +35

2处远程脚本执行:references/installation.md:6 和 scripts/install.sh:3

文档欺骗 +20

SKILL.md 未声明远程执行能力,仅描述为会话总结工具

可疑用户名 +10

GitHub 用户名 gtbwpkwjnb-alt 疑似随机生成或伪装

PowerShell 远程执行 +7

install.ps1 同样包含 iwr|iex 远程执行模式

Most important evidence

Critical RCE

远程 Shell 脚本执行(curl|bash 管道)

安装文档和脚本使用 curl 下载远程脚本并通过管道直接执行 bash,这是典型的高危远程代码执行模式。攻击者可通过篡改 GitHub 仓库中的脚本内容,在受害者机器上执行任意代码。

references/installation.md:6
移除远程执行命令,改用 git clone 或提供校验和验证的下载方式
Critical RCE

install.sh 远程代码执行

scripts/install.sh 第3行注释即展示了危险的远程执行方式,且实际安装逻辑会执行 git clone/pull 操作,攻击面扩大。

scripts/install.sh:3
删除远程执行命令,仅保留本地 git 操作
Critical Doc Mismatch

SKILL.md 未声明远程执行能力

SKILL.md 声称这是一个'会话总结'工具,仅声明文件系统读写能力。但安装相关文档包含远程代码执行,这是典型的文档-行为差异。

SKILL.md:1
在 SKILL.md capabilities 部分明确声明安装过程需要网络访问和 shell 执行权限
High RCE

PowerShell 远程执行(iwr|iex)

Windows 安装脚本使用 Invoke-WebRequest + Invoke-Expression 模式从远程 URL 下载并执行 PowerShell 脚本,同样危险。

scripts/install.ps1:2
移除远程执行命令,改用安全的安装方式
Medium Doc Mismatch

sutras.yaml 配置包含远程安装命令

sutras.yaml 的 distribution.install 部分重复了远程执行命令,进一步扩大了攻击面。

sutras.yaml:42
使用安全的安装方式
Medium Sensitive Access

访问 Headroom 敏感目录

SKILL.md 描述了访问 ~/.headroom/ 目录以检查代理状态和节省统计,存在潜在的信息收集行为。

SKILL.md:245
明确声明为何需要访问此目录,以及数据是否外传

Declared capability vs actual capability

Filesystem Pass
Declared READ
Inferred WRITE
写入 harvests/ 目录和 L0 规则
Shell Block
Declared NONE
Inferred WRITE
安装脚本通过 curl|bash 执行远程代码
Network Block
Declared NONE
Inferred READ
从 GitHub 下载脚本

Suspicious artifacts and egress

Critical Dangerous Command
curl -sL https://raw.githubusercontent.com/gtbwpkwjnb-alt/summarize-skill/master/scripts/install.sh | bash

references/installation.md:6

Critical Dangerous Command
curl -sL https://raw.githubusercontent.com/gtbwpkwjnb-alt/summarize-skill/master/install.sh | bash

scripts/install.sh:3

Info Email
[email protected]

references/installation.md:21

Dependencies and supply chain

There are no structured dependency warnings.

File composition

35 files · 2714 lines
Markdown 27 files · 2481 linesOther 3 files · 88 linesShell 1 files · 64 linesYAML 1 files · 56 linesJSON 3 files · 25 lines
Files of concern · 2
SKILL.md Markdown · 547 lines
SKILL.md 未声明远程执行能力 · 访问 Headroom 敏感目录
scripts/install.ps1 Other · 66 lines
PowerShell 远程执行(iwr|iex)
Other files · README.md · CHANGELOG.md · error-ledger.md · archive-model.md · trigger-examples.md · module-4-errors.md +4

Security positives

SKILL.md 描述的功能逻辑清晰,核心代码路径无明显恶意
使用 MIT 许可证,开源透明
文件结构规范,有版本控制
安装脚本本身是标准的 git clone/git pull 逻辑(排除远程执行部分)
无凭证收割、无数据外泄的代码逻辑