rtk-integration
RTK集成技能通过curl|sh从第三方GitHub仓库安装二进制工具,无版本锁定且未披露install.sh内容,构成供应链风险。PATH写入行为合理但缺乏透明性。
Why this conclusion was reached
3/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 0 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · SKILL.md:1
Escalation · scripts/rtk-setup.sh:39
Impact · 未知
What drove the risk score up
从raw.githubusercontent.com管道执行install.sh,无法验证内容且无版本锁定
install.sh内容未知,master分支无版本语义,第三方依赖无安全审计
SKILL.md提到PATH写入但未明确修改~/.bashrc等文件的行为范围
Most important evidence
远程脚本管道执行无完整性校验
scripts/rtk-setup.sh:39 执行 `curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh`,从第三方GitHub仓库下载并直接执行脚本,无版本锁定、无SHA256校验、无GPG签名。master分支无版本语义,作者可随时修改内容。
scripts/rtk-setup.sh:39 install.sh脚本内容完全不透明
技能未提供install.sh的源码或行为说明。管道执行的黑盒脚本可能包含:安装任意二进制、执行特权操作、修改系统配置、外传环境信息等。用户无法在安装前审查安装器行为。
SKILL.md:26 PATH修改行为声明不透明
SKILL.md提到'添加RTK到PATH'但未明确指出会修改~/.bashrc/.zshrc/.profile。rtk-setup.sh实现了具体修改逻辑但文档未完整披露修改范围。
SKILL.md:21 Homebrew安装路径无版本控制
macOS通过brew install rtk安装,同样无版本锁定(Homebrew formula通常为滚动版本),与curl|sh分支风险相当。
scripts/rtk-setup.sh:35 Declared capability vs actual capability
scripts/rtk-setup.sh:45-47 写入 ~/.bashrc/.zshrc/.profile scripts/rtk-setup.sh 全文件 scripts/rtk-setup.sh:39 从GitHub下载install.sh scripts/rtk-setup.sh:45-47 向shell profile写入PATH变量 Suspicious artifacts and egress
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh SKILL.md:26
Dependencies and supply chain
There are no structured dependency warnings.
File composition
SKILL.md scripts/rtk-setup.sh