扫描报告
30 /100
feishu-bot-manager
飞书多账户机器人配置管理 skill
Feishu bot management skill with legitimate config-file and CLI operations, but with minor documentation gaps: shell execSync calls and App Secret plain-text storage are not explicitly declared in SKILL.md.
可以安装
Add explicit declarations in SKILL.md for shell:WRITE (execSync for openclaw gateway restart and config set) and credential storage behavior. Consider whether App Secret can be stored in a more secure vault instead of plain JSON.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Shell execution not declared in SKILL.md 文档欺骗 | index.js:105 |
| 中危 | App Secret stored in plain-text config file without declaration 凭证窃取 | index.js:97 |
| 低危 | Broad execSync scope — no command allowlist 文档欺骗 | index.js:105 |
| 低危 | HOME directory path access without scope declaration 敏感访问 | index.js:21 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✗ 越权 | index.js:89 writes to ~/.openclaw/openclaw.json |
| 命令执行 | NONE | WRITE | ✗ 越权 | index.js:105,112 execSync calls to openclaw CLI |
| 网络访问 | NONE | NONE | — | No direct network calls; Feishu API calls would be made by the openclaw gateway … |
| 环境变量 | NONE | READ | ✗ 越权 | index.js:21 reads process.env.HOME for config paths |
| 技能调用 | NONE | NONE | — | No cross-skill invocation observed |
| 剪贴板 | NONE | NONE | — | No clipboard access |
| 浏览器 | NONE | NONE | — | SKILL.md references a URL but no browser automation |
| 数据库 | NONE | NONE | — | No database access |
1 项发现
中危 外部 URL 外部 URL
https://open.feishu.cn/page/openclaw?form=multiAgent SKILL.md:14 目录结构
5 文件 · 18.1 KB · 580 行 JavaScript 2f · 320L
Markdown 2f · 248L
JSON 1f · 12L
├─
▾
lib
│ └─
validator.js
JavaScript
├─
▾
references
│ └─
new-agent-governance.md
Markdown
├─
index.js
JavaScript
├─
package.json
JSON
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
readline | ^1.3.0 | npm | 否 | Built-in Node.js module; pinned version |
安全亮点
✓ No base64-encoded payloads, reverse shells, or obfuscated code
✓ No network requests from the skill itself (Feishu API calls go through openclaw gateway)
✓ Automatic backup of config before modification (line 87) — a good safety practice
✓ Input validation on App ID, Account ID, Chat ID formats via lib/validator.js
✓ Graceful error handling with fallback messages when CLI commands fail
✓ No iteration over environment variables for credential harvesting
✓ No cron, startup hooks, or persistence mechanisms installed
✓ No external script downloads (curl|bash, wget|sh patterns)
✓ Minimal dependencies (only readline, built-in Node.js modules)