Scan Report
20 /100
work-mail-notifier
QQ邮箱工作邮件监控与标注已读
Legitimate QQ邮箱邮件监控工具,使用himalaya CLI读取和标记邮件,SKILL.md未声明subprocess使用但无恶意行为。
Safe to install
建议在SKILL.md中明确声明subprocess调用himalaya CLI的使用方式,以便用户了解实际执行的命令。
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | SKILL.md未声明subprocess/shell执行 | SKILL.md:1 |
| Info | 硬编码路径限制可移植性 | scripts/work_mail_notifier.py:17 |
| Info | 硬编码QQ邮箱账号 | scripts/work_mail_notifier.py:16 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | READ | ✓ Aligned | scripts/work_mail_notifier.py:103 读取STATE_PATH JSON文件; scripts/mark_read.py:17 读… |
| Filesystem | NONE | WRITE | ✓ Aligned | scripts/work_mail_notifier.py:107 写入STATE_PATH; scripts/work_mail_notifier.py:13… |
| Shell | NONE | WRITE | ✓ Aligned | scripts/work_mail_notifier.py:52 使用subprocess.run执行himalaya命令; scripts/mark_read… |
| Network | NONE | NONE | — | 无直接网络请求,仅通过本地himalaya CLI工具访问邮件 |
| Environment | NONE | NONE | — | 未访问os.environ,仅使用硬编码账户配置 |
1 findings
Info Email 邮箱地址
[email protected] scripts/work_mail_notifier.py:18 File Tree
3 files · 10.0 KB · 348 lines Python 2f · 295L
Markdown 1f · 53L
├─
▾
scripts
│ ├─
mark_read.py
Python
│ └─
work_mail_notifier.py
Python
└─
SKILL.md
Markdown
Security Positives
✓ 无远程代码执行风险,所有操作通过本地himalaya CLI工具执行
✓ 无凭证采集或数据外泄行为
✓ 无访问敏感路径(~/.ssh, ~/.aws, .env等)
✓ 使用anchor机制避免重复通知,设计合理
✓ 通知分组逻辑清晰,状态持久化设计完善
✓ 所有文件操作为本地JSON状态文件,无网络传输敏感数据
✓ 重试机制设计合理(指数退避)
✓ 使用正则解析CLI输出,相对安全