Skill Trust Decision

demo-text-summarizer

SKILL.md 声称是纯文本摘要工具,但存在未声明的 workflow.taskflow.yaml 文件,执行文件验证、shell命令和外部网络发布操作,违反文档-行为一致性原则。

Install decision first Source: ClawHub Scanned: 11 days ago
Files 3
Artifacts 0
Violations 4
Findings 3
Most direct threat evidence
01
用户安装 demo-text-summarizer 技能 Entry · SKILL.md
02
workflow.taskflow.yaml 被激活,执行文件遍历和 shell 命令 Escalation · workflow.taskflow.yaml
03
通过 clawhub 命令将技能元数据外传到 ClawHub 外部服务 Impact · workflow.taskflow.yaml

Why this conclusion was reached

2/4 dimensions flagged
Block
Declared vs actual capability

4 undeclared or violating capabilities were inferred.

Pass
Hidden execution and egress

No obvious high-risk egress or execution signals were found.

Block
Attack chain and severe findings

The report includes 3 attack-chain steps and 0 severe findings.

Review
Dependencies and supply chain hygiene

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

Attack Chain

01
用户安装 demo-text-summarizer 技能

Entry · SKILL.md:1

02
workflow.taskflow.yaml 被激活,执行文件遍历和 shell 命令

Escalation · workflow.taskflow.yaml:14

03
通过 clawhub 命令将技能元数据外传到 ClawHub 外部服务

Impact · workflow.taskflow.yaml:46

What drove the risk score up

未声明的 workflow 文件 +20

SKILL.md 描述纯文本摘要,但包含执行 shell 命令和外部网络通信的 workflow.taskflow.yaml

未声明的 shell 执行 +15

workflow 使用 test/grep/sed/python3 -c 等 shell 命令执行文件验证

未声明的网络访问 +10

workflow.taskflow.yaml 第 46 行调用 clawhub publish 发布到外部 ClawHub

Most important evidence

Medium Doc Mismatch

未声明的 workflow.taskflow.yaml 阴影功能

SKILL.md 描述为纯文本摘要工具,但实际包含执行文件验证、shell 命令和外部网络发布的 TaskFlow workflow。这违反了文档-行为一致性原则。

workflow.taskflow.yaml:1
将 workflow.taskflow.yaml 移出技能包,保留在 CI/CD 配置中;或明确在 SKILL.md 中声明此 workflow 存在及其所需权限
Medium Supply Chain

clawhub 命令来源不明

workflow.taskflow.yaml 调用外部命令 'clawhub' 进行发布,但未声明该工具来源,也未验证其完整性。

workflow.taskflow.yaml:46
验证 clawhub 命令的可信度,或使用带 hash 校验的版本锁定方式调用
Low Priv Escalation

workflow 使用 shell 命令执行任意操作

workflow 中的 shell 命令(如 grep -q、sed、python3 -c)可被注入利用,执行超出声明范围的操作。

workflow.taskflow.yaml:14
如需保留 workflow,使用更安全的参数化方式,避免 shell 管道和字符串拼接

Declared capability vs actual capability

Filesystem Block
Declared NONE
Inferred READ
workflow.taskflow.yaml:14 grep -q 读取 SKILL.md 内容
Shell Block
Declared NONE
Inferred WRITE
workflow.taskflow.yaml:14-15 test/grep/sed 多处 shell 命令
Network Block
Declared NONE
Inferred WRITE
workflow.taskflow.yaml:46 clawhub publish 外传元数据
Environment Block
Declared NONE
Inferred READ
workflow.taskflow.yaml:33-34 提取 SLUG/VERSION 环境变量

Suspicious artifacts and egress

No obvious IOC was extracted.

Dependencies and supply chain

There are no structured dependency warnings.

File composition

3 files · 135 lines
YAML 1 files · 73 linesMarkdown 1 files · 55 linesJSON 1 files · 7 lines
Files of concern · 1
workflow.taskflow.yaml YAML · 73 lines
未声明的 workflow.taskflow.yaml 阴影功能 · clawhub 命令来源不明 · workflow 使用 shell 命令执行任意操作
Other files · SKILL.md · _meta.json

Security positives

SKILL.md 功能描述清晰,权限声明为 NONE(无危险权限)
文本摘要功能本身无恶意行为
workflow 中的操作有合理的业务解释(发布管道)