Skill Trust Decision

pub

pub CLI 包装技能,本质为文档型技能,无脚本代码,allowed-tools 已做命令级作用域限制。唯一高危 IOC 为文档中记录的 curl|bash 安装命令,存在被利用执行恶意脚本的理论风险,但无代码层面影子功能或凭证收割行为。

Install decision first Source: ClawHub Scanned: Jun 11, 2026
Files 4
Artifacts 6
Violations 0
Findings 3

Why this conclusion was reached

2/4 dimensions flagged
Pass
Declared vs actual capability

Declared resources and inferred behavior are broadly aligned.

Block
Hidden execution and egress

1 high-risk artifacts or egress signals were extracted.

Block
Attack chain and severe findings

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

Review
Dependencies and supply chain hygiene

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

Attack Chain

01
用户通过 SKILL.md 了解 pub CLI 安装方式

Entry · SKILL.md:40

02
Agent 执行文档中的 curl|bash 安装命令,从 pub.blue 拉取并执行 install.sh

Escalation · SKILL.md:40

03
若 pub.blue 或中间人被入侵,install.sh 可投递恶意脚本完成任意代码执行

Impact · https://pub.blue/install.sh

What drove the risk score up

文档记录的 curl|bash 安装命令 +20

SKILL.md:40 明确展示 'curl -fsSL https://pub.blue/install.sh | bash',属于高危 install 模式,可被滥用执行远程脚本

allowed-tools 作用域合理 +-10

Bash 限制于 pub:* 和 node:* 子命令,Read/Write 有文件系统访问但受任务范围约束

无脚本代码 +-10

该技能无 scripts/ 目录,所有操作均通过 pub CLI 委托执行,无自含恶意逻辑

install.sh 内容未知 +10

install.sh 从外部 URL 拉取内容且无哈希校验,存在供应链风险

无凭证收割或数据外泄证据 +-10

代码层面无遍历环境变量、读取 SSH/AWS 密钥或外传数据的影子功能

Most important evidence

High Priv Escalation

文档中记录 curl|bash 远程脚本执行

SKILL.md:40 展示 'curl -fsSL https://pub.blue/install.sh | bash' 安装命令,该模式允许远程服务器在任何时候向目标主机投递并执行任意脚本,属于 install-time 权限提升风险。若 pub.blue 被入侵或 DNS 被劫持,可用于投递恶意 payload。

SKILL.md:40
优先使用 GitHub Releases 预编译包(已记录在文档中)或要求用户通过包管理器安装,避免 curl|bash 模式。如必须使用,应增加脚本内容校验(如 SHA256 校验)或要求用户手动审查脚本后再执行。
Medium Supply Chain

install.sh 无完整性校验

文档中的 install.sh 从外部 URL 拉取,无版本锁定、无 SHA256/PGP 签名校验,存在中间人攻击或供应链注入风险。

SKILL.md:40
建议使用经过签名的发布包或包管理器(apt/yum/brew)进行安装,并增加对下载脚本的哈希校验步骤。
Low Doc Mismatch

文档中声明的 allowed-tools 覆盖操作与实际能力

allowed-tools 仅声明 Bash(pub:*) Bash(node:*) Read Write,但 SKILL.md 中描述的功能涉及与 pub.blue 远程服务器的网络通信、P2P WebSocket 连接以及浏览器会话启动。这些网络和浏览器相关能力未在 allowed-tools 中声明,但通过 Bash 调用的 pub CLI 间接实现。

SKILL.md:9
建议在 allowed-tools 中补充说明网络通信范围(pub.blue API 域名),或在 metadata.requires.env 中明确 PUB_API_KEY 的用途和作用域。

Declared capability vs actual capability

Shell Pass
Declared WRITE
→
Inferred WRITE
allowed-tools: Bash(pub:*) Bash(node:*) — 作用域限定于 pub 和 node 命令
Filesystem Pass
Declared READ
→
Inferred WRITE
allowed-tools: Read Write — SKILL.md 文档 pub create/update/write 等文件写入操作
Network Pass
Declared NONE
→
Inferred READ
pub CLI 与 pub.blue 服务器通信(create/update/list 等 API 调用),通过 Bash 间接实现
Environment Pass
Declared NONE
→
Inferred READ
SKILL.md 声明使用 PUB_API_KEY、PUB_HOME、XDG_CONFIG_HOME 等环境变量,pub CLI 读取但不外传
Skill Invoke Pass
Declared NONE
→
Inferred NONE
无跨 skill 调用行为
Clipboard Pass
Declared NONE
→
Inferred NONE
无剪贴板操作
Browser Pass
Declared NONE
→
Inferred READ
pub create 生成的 HTML 输出和 pub start 启动的 P2P 实时会话涉及浏览器交互
Database Pass
Declared NONE
→
Inferred NONE
无直接数据库访问,通过 pub API 与 pub.blue 远程服务交互

Suspicious artifacts and egress

Critical Dangerous Command
curl -fsSL https://pub.blue/install.sh | bash

SKILL.md:40

Medium External URL
https://pub.blue

SKILL.md:6

Medium External URL
https://pub.blue/install.sh

SKILL.md:40

Medium External URL
https://pub.blue/agents

SKILL.md:54

Medium External URL
https://clawhub.ai/user/xmanatee

skill-card.md:7

Medium External URL
https://clawhub.ai/xmanatee/pub

skill-card.md:27

Dependencies and supply chain

There are no structured dependency warnings.

File composition

4 files · 226 lines
Markdown 2 files · 210 linesJSON 2 files · 16 lines
Files of concern · 2
SKILL.md Markdown · 168 lines
文档中记录 curl|bash 远程脚本执行 · install.sh 无完整性校验 · 文档中声明的 allowed-tools 覆盖操作与实际能力 · curl -fsSL https://pub.blue/install.sh | bash · https://pub.blue · https://pub.blue/install.sh · https://pub.blue/agents
skill-card.md Markdown · 42 lines
https://clawhub.ai/user/xmanatee · https://clawhub.ai/xmanatee/pub
Other files · claw.json · _meta.json

Security positives

无脚本代码实体,技能本身不包含任何可执行恶意逻辑
allowed-tools 作用域精细,仅允许 pub:* 和 node:* 子命令,无法执行裸 shell
pub CLI 具备 MIT 开源许可证,代码可审计
GitHub Releases 下载作为替代安装方式已记录在案
无凭证收割、环境变量遍历或敏感文件读取行为
无 base64 编码执行、eval() 或其他代码混淆技术
skill-card.md 中已知风险(pub delete 命令和 API key)已标注并给出缓解建议
pub 默认私有发布,信息默认不公开外泄