Scan Report
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.
Safe to install
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.
Findings 4 items
| Severity | Finding | Location |
|---|---|---|
| Medium | Shell execution not declared in SKILL.md Doc Mismatch | index.js:105 |
| Medium | App Secret stored in plain-text config file without declaration Credential Theft | index.js:97 |
| Low | Broad execSync scope — no command allowlist Doc Mismatch | index.js:105 |
| Low | HOME directory path access without scope declaration Sensitive Access | index.js:21 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✗ Violation | index.js:89 writes to ~/.openclaw/openclaw.json |
| Shell | NONE | WRITE | ✗ Violation | index.js:105,112 execSync calls to openclaw CLI |
| Network | NONE | NONE | — | No direct network calls; Feishu API calls would be made by the openclaw gateway … |
| Environment | NONE | READ | ✗ Violation | index.js:21 reads process.env.HOME for config paths |
| Skill Invoke | NONE | NONE | — | No cross-skill invocation observed |
| Clipboard | NONE | NONE | — | No clipboard access |
| Browser | NONE | NONE | — | SKILL.md references a URL but no browser automation |
| Database | NONE | NONE | — | No database access |
1 findings
Medium External URL 外部 URL
https://open.feishu.cn/page/openclaw?form=multiAgent SKILL.md:14 File Tree
5 files · 18.1 KB · 580 lines 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
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
readline | ^1.3.0 | npm | No | Built-in Node.js module; pinned version |
Security Positives
✓ 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)