feishu-bot-config-helper
远程脚本执行(curl|bash)加上未声明的 shell 命令执行(Gateway 重启),构成明显的文档-行为差异,需进一步审查
SKILL.md 安装说明中包含 curl|bash 危险模式,将远程 shell 脚本通过管道直接执行,任何中间人攻击或仓库被篡改都将导致代码在用户机器上无限制执行
SKILL.md:29 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 4 attack-chain steps and 2 severe findings.
1 dependency or supply-chain issues need attention.
Attack Chain
Entry · SKILL.md:1
Escalation · SKILL.md:29
Escalation · install.sh:21
Impact · install.sh:25
What drove the risk score up
SKILL.md:29 包含 curl|bash 危险模式,直接从 GitHub 下载并执行 shell 脚本
SKILL.md 未声明将执行 shell:WRITE,但代码调用 exec('openclaw gateway restart')
解析并存储 App Secret 到本地配置,但属于功能必要范围
Most important evidence
危险远程脚本管道执行
SKILL.md 安装说明中包含 curl|bash 危险模式,将远程 shell 脚本通过管道直接执行,任何中间人攻击或仓库被篡改都将导致代码在用户机器上无限制执行
SKILL.md:29 未声明的 shell 命令执行
SKILL.md 声称「自动重启 Gateway」但未声明将通过 shell:WRITE 执行外部命令。代码实际调用 exec('openclaw gateway restart'),属于阴影功能
scripts/auto-configure-bot.js:262 飞书应用凭证解析与存储
代码解析用户输入的 App ID 和 App Secret 并存储到 openclaw.json。凭证为飞书 API 访问密钥,理论上可被恶意利用,但当前实现为本地存储而非外传
scripts/auto-configure-bot.js:57 功能描述与实现存在差距
SKILL.md 列出 7 种 Agent 角色和复杂配置规范,但核心脚本 auto-configure-bot.js 仅实现了基础解析,工作流描述与实际代码能力不完全匹配
SKILL.md:44 Declared capability vs actual capability
SKILL.md 声明更新 openclaw.json,实际代码 read/write 该文件 scripts/auto-configure-bot.js:262 执行 exec('openclaw gateway restart') 读取 HOME 环境变量定位配置文件路径,属于常规路径构造 Suspicious artifacts and egress
curl -fsSL https://raw.githubusercontent.com/jiebao360/feishu-bot-config-helper/main/install.sh | bash SKILL.md:29
https://docs.openclaw.ai README.md:256
https://open.feishu.cn/ README.md:257
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| node | * | bundled | No | 无外部 npm 依赖 |
File composition
scripts/auto-configure-bot.js README.md SKILL.md