Scan Report
This report was generated in Chinese. Some content may be in Chinese.
15 /100
calendar_memo
本地日程记事本 - 添加、查看、完成和删除待办事项和日程安排
本地日程管理工具,代码逻辑清晰但 reminder.js 中使用 child_process.exec 实现消息推送未在 SKILL.md 中明确声明。
Safe to install
建议在 SKILL.md 的 allowed-tools 中声明 shell:WRITE(用于 openclaw 消息推送),或在文档中补充说明提醒功能依赖外部 openclaw 命令。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | Shell 执行能力未声明 Doc Mismatch | reminder.js:20 |
| Info | 潜在的命令注入风险(已缓解) RCE | reminder.js:26 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | SKILL.md 声明读写 MEMORY.md,代码通过 fs.readFileSync/writeFileSync 实现 |
| Shell | NONE | WRITE | ✗ Violation | reminder.js:20 使用 child_process.exec 执行 openclaw 命令推送消息 |
File Tree
4 files · 11.3 KB · 363 lines Markdown 3f · 279L
JavaScript 1f · 84L
├─
MEMORY.md
Markdown
├─
reminder.js
JavaScript
├─
SKILL.md
Markdown
└─
SOUL.md
Markdown
Dependencies 3 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
fs (内置) | Node.js built-in | nodejs | No | Node.js 内置模块,无供应链风险 |
path (内置) | Node.js built-in | nodejs | No | Node.js 内置模块,无供应链风险 |
child_process (内置) | Node.js built-in | nodejs | No | Node.js 内置模块,用于执行 openclaw 命令发送通知 |
Security Positives
✓ 仅使用 Node.js 内置模块(fs, path, child_process),无第三方依赖风险
✓ 代码结构清晰,文件操作(读写 MEMORY.md)与声明功能一致
✓ 对用户输入进行了基本的长度截断和转义处理
✓ 功能边界清晰:仅用于本地日程管理
✓ 无环境变量遍历、无敏感路径访问、无网络外传行为