扫描报告
45 /100
feishu-evolver-wrapper
Feishu-integrated wrapper for capability-evolver with lifecycle management and reporting
Feishu evolver wrapper with significant undocumented shell execution, dynamic code evaluation, process control, and persistence mechanisms that lack clear security justification in documentation.
谨慎使用
Review shell execution calls and evaluate if the scope can be reduced. The new Function() evaluation for untrusted JSON represents high-risk dynamic code execution. Ensure all network calls are explicitly documented.
安全发现 8 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Dynamic code evaluation on untrusted input 代码混淆 | index.js:1230 |
| 中危 | Undeclared shell execution for git operations 权限提升 | index.js:400 |
| 中危 | Undeclared openclaw CLI execution 权限提升 | lifecycle.js:150 |
| 中危 | Missing declaration of process control 文档欺骗 | lifecycle.js:200 |
| 低危 | Thought injection via external file 提示注入 | index.js:450 |
| 低危 | Session lock file deletion 敏感访问 | index.js:500 |
| 低危 | Version not pinned in dependencies 供应链 | package.json:8 |
| 低危 | Skills monitor can execute arbitrary node code 敏感访问 | skills_monitor.js:50 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 命令执行 | NONE | WRITE | ✗ 越权 | index.js:execSync lines, lifecycle.js:execSync for git/CLI, self-repair.js, skil… |
| 网络访问 | NONE | WRITE | ✗ 越权 | feishu-helper.js:90 - POSTs to open.feishu.cn API |
| 文件系统 | NONE | WRITE | ✗ 越权 | Writes to memory/, logs/, workspace/ directories with atomic tmp+rename patterns |
| 环境变量 | NONE | READ | ✗ 越权 | Reads EVOLVE_*, FEISHU_*, OPENCLAW_* vars, sets them for child processes |
| 浏览器 | NONE | NONE | — | N/A |
| 数据库 | NONE | NONE | — | N/A |
| 剪贴板 | NONE | NONE | — | N/A |
| 技能调用 | NONE | WRITE | ✗ 越权 | Spawns openclaw agent sessions and manages evolver lifecycle |
3 项发现
中危 外部 URL 外部 URL
https://open.feishu.cn/open-apis/docx/v1/documents/$ export_history.js:76 中危 外部 URL 外部 URL
https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type= feishu-helper.js:90 中危 外部 URL 外部 URL
https://open.feishu.cn/open-apis/im/v1/chats?page_size=100$ report.js:260 目录结构
24 文件 · 190.7 KB · 4554 行 JavaScript 19f · 4452L
Shell 1f · 47L
Markdown 2f · 41L
JSON 2f · 14L
├─
▾
utils
│ ├─
dashboard-generator.js
JavaScript
│ ├─
logger.js
JavaScript
│ └─
sleep.js
JavaScript
├─
_meta.json
JSON
├─
check_health.js
JavaScript
├─
cleanup.js
JavaScript
├─
commentary.js
JavaScript
├─
daemon.sh
Shell
├─
exec_cache.js
JavaScript
├─
export_history.js
JavaScript
├─
feishu-helper.js
JavaScript
├─
index.js
JavaScript
├─
issue_tracker.js
JavaScript
├─
lifecycle.js
JavaScript
├─
package.json
JSON
├─
README.md
Markdown
├─
report.js
JavaScript
├─
self-repair.js
JavaScript
├─
send-card-cli.js
JavaScript
├─
SKILL.md
Markdown
├─
skills_monitor.js
JavaScript
├─
trigger.js
JavaScript
├─
visualize_dashboard.js
JavaScript
└─
weekly_insight.js
JavaScript
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
evolver | file:../evolver | local | 否 | Local path dependency, not version pinned |
fetchWithAuth | N/A | ../feishu-common | 否 | Local shared module |
安全亮点
✓ Secret scanning mechanism exists in feishu-helper.js with SECRET_PATTERNS to prevent credential exfiltration
✓ Atomic file operations used (tmp+rename pattern) for PID files and cycle counters
✓ Circuit breaker pattern for failure handling prevents resource exhaustion
✓ Singleton guard prevents duplicate wrapper instances
✓ Kill switch mechanism for emergency stop
✓ Failure lessons logging to prevent repeated mistakes
✓ Process existence verification before killing PIDs (isWrapperProcess check)
✓ Debounce mechanisms on cron checks and ensure operations