pub
install.sh 远程安装命令超出 allowed-tools 声明范围,但为合法 CLI 工具安装场景,无阴影行为
allowed-tools 声明 Bash(pub:*) 和 Bash(node:*),仅覆盖 pub CLI 和 node 调用。但 curl | bash 是任意 shell 执行,属于 shell:WRITE 级别的全命令执行权限,超出声明范围。
SKILL.md:40 Why this conclusion was reached
3/4 dimensions flagged1 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 0 attack-chain steps and 1 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
What drove the risk score up
声明 Bash(pub:*) Bash(node:*) Read Write,但执行 curl | bash 属于 filesystem:WRITE + shell:WRITE 级别的任意命令执行,未被声明
curl -fsSL https://pub.blue/install.sh | bash — 无 SHA256 校验、无版本锁定,攻击者可劫持 DNS 将安装替换为恶意脚本
install.sh 在注释示例中但被预扫描标记为 CRITICAL IOC,混淆了文档与可执行操作的边界
Most important evidence
shell 命令超出 allowed-tools 声明范围
allowed-tools 声明 Bash(pub:*) 和 Bash(node:*),仅覆盖 pub CLI 和 node 调用。但 curl | bash 是任意 shell 执行,属于 shell:WRITE 级别的全命令执行权限,超出声明范围。
SKILL.md:40 远程安装脚本无完整性校验
install.sh 通过管道传递给 bash 执行,无 SHA256 校验、无版本锁定。攻击者可对 pub.blue 域实施 DNS 劫持或供应链投毒,将安装脚本替换为恶意内容。
SKILL.md:40 CDN 资源引用产生隐式网络访问
SKILL.md 引用 cdn.jsdelivr.net 加载 daisyUI 和 Tailwind CSS,浏览器实际访问时会产生对外部 CDN 的网络请求,但该网络行为未在 allowed-tools 中声明。
SKILL.md:76 Declared capability vs actual capability
SKILL.md:40 — curl -fsSL https://pub.blue/install.sh | bash 属于任意 shell 执行,非仅 pub CLI 调用 SKILL.md:60 — pub write -c canvas 用于写入 HTML 文件 SKILL.md:37,76 — 引用 cdn.jsdelivr.net 和 pub.blue URL,产生隐式网络访问;CDN 资源加载属于未声明行为 claw.json & SKILL.md:44 — PUB_API_KEY 声明为必需环境变量 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
Dependencies and supply chain
There are no structured dependency warnings.
File composition
SKILL.md