pub
pub CLI 包装技能,本质为文档型技能,无脚本代码,allowed-tools 已做命令级作用域限制。唯一高危 IOC 为文档中记录的 curl|bash 安装命令,存在被利用执行恶意脚本的理论风险,但无代码层面影子功能或凭证收割行为。
Why this conclusion was reached
2/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
1 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 1 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · SKILL.md:40
Escalation · SKILL.md:40
Impact · https://pub.blue/install.sh
What drove the risk score up
SKILL.md:40 明确展示 'curl -fsSL https://pub.blue/install.sh | bash',属于高危 install 模式,可被滥用执行远程脚本
Bash 限制于 pub:* 和 node:* 子命令,Read/Write 有文件系统访问但受任务范围约束
该技能无 scripts/ 目录,所有操作均通过 pub CLI 委托执行,无自含恶意逻辑
install.sh 从外部 URL 拉取内容且无哈希校验,存在供应链风险
代码层面无遍历环境变量、读取 SSH/AWS 密钥或外传数据的影子功能
Most important evidence
文档中记录 curl|bash 远程脚本执行
SKILL.md:40 展示 'curl -fsSL https://pub.blue/install.sh | bash' 安装命令,该模式允许远程服务器在任何时候向目标主机投递并执行任意脚本,属于 install-time 权限提升风险。若 pub.blue 被入侵或 DNS 被劫持,可用于投递恶意 payload。
SKILL.md:40 install.sh 无完整性校验
文档中的 install.sh 从外部 URL 拉取,无版本锁定、无 SHA256/PGP 签名校验,存在中间人攻击或供应链注入风险。
SKILL.md:40 文档中声明的 allowed-tools 覆盖操作与实际能力
allowed-tools 仅声明 Bash(pub:*) Bash(node:*) Read Write,但 SKILL.md 中描述的功能涉及与 pub.blue 远程服务器的网络通信、P2P WebSocket 连接以及浏览器会话启动。这些网络和浏览器相关能力未在 allowed-tools 中声明,但通过 Bash 调用的 pub CLI 间接实现。
SKILL.md:9 Declared capability vs actual capability
allowed-tools: Bash(pub:*) Bash(node:*) — 作用域限定于 pub 和 node 命令 allowed-tools: Read Write — SKILL.md 文档 pub create/update/write 等文件写入操作 pub CLI 与 pub.blue 服务器通信(create/update/list 等 API 调用),通过 Bash 间接实现 SKILL.md 声明使用 PUB_API_KEY、PUB_HOME、XDG_CONFIG_HOME 等环境变量,pub CLI 读取但不外传 无跨 skill 调用行为 无剪贴板操作 pub create 生成的 HTML 输出和 pub start 启动的 P2P 实时会话涉及浏览器交互 无直接数据库访问,通过 pub API 与 pub.blue 远程服务交互 Suspicious artifacts and egress
curl -fsSL https://pub.blue/install.sh | bash SKILL.md:40
https://pub.blue SKILL.md:6
https://pub.blue/install.sh SKILL.md:40
https://pub.blue/agents SKILL.md:54
https://clawhub.ai/user/xmanatee skill-card.md:7
https://clawhub.ai/xmanatee/pub skill-card.md:27
Dependencies and supply chain
There are no structured dependency warnings.
File composition
SKILL.md skill-card.md