扫描报告
20 /100
email-checker-for-mac
Automated email assistant for Apple Mail. Runs on a schedule, scores priority, drafts AI replies, sends reports.
A legitimate macOS email automation tool with AppleScript control of Mail.app. Shell execution via subprocess/osascript is documented in the os requirement and metadata but not explicitly declared as a SKILL.md allowed-tool, which is a minor doc-to-capability gap.
可以安装
Add 'shell:WRITE' to the allowed-tools declaration in SKILL.md and explicitly document that the LLM API key is read from config/settings.json and transmitted to the configured LLM endpoint. These are legitimate behaviors that should be made transparent.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | Shell execution not declared as allowed-tool 文档欺骗 | SKILL.md:1 |
| 提示 | LLM API key transmission to external endpoint not documented 敏感访问 | scripts/email/checker.py:150 |
| 提示 | Crontab installation creates scheduled persistence 持久化 | setup.sh:245 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 命令执行 | NONE | WRITE | ✓ 一致 | scripts/email/checker.py: subprocess.run(['osascript', ...]); scripts/email/send… |
| 文件系统 | WRITE | WRITE | ✓ 一致 | setup.sh writes config/settings.json; checker.py reads it; logs/ and temp/ dirs … |
| 网络访问 | NONE | READ | ✓ 一致 | checker.py: urllib.request.urlopen() to LLM_BASE_URL; LLM API key transmitted in… |
| 环境变量 | NONE | READ | ✓ 一致 | setup.sh passes LLM_API_KEY as env var during LLM test; checker.py reads config … |
| 技能调用 | NONE | READ | ✓ 一致 | SKILL.md describes OpenClaw integration via Telegram/WhatsApp invoking checker.p… |
2 项发现
提示 邮箱 邮箱地址
[email protected] README.md:111 提示 邮箱 邮箱地址
[email protected] README.md:122 目录结构
10 文件 · 59.0 KB · 1655 行 Python 3f · 796L
Shell 3f · 459L
Markdown 2f · 360L
JSON 2f · 40L
├─
▾
config
│ └─
settings.example.json
JSON
├─
▾
scripts
│ └─
▾
email
│ ├─
checker_wrapper.sh
Shell
│ ├─
checker.py
Python
│ ├─
send_reply.py
Python
│ ├─
template.py
Python
│ └─
template.sh
Shell
├─
_meta.json
JSON
├─
README.md
Markdown
├─
setup.sh
Shell
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
urllib | stdlib | python3 built-in | 否 | Standard library — no external dependency for HTTP calls |
subprocess | stdlib | python3 built-in | 否 | Standard library — used for osascript invocation, documented and necessary |
安全亮点
✓ No base64-encoded execution, no eval(), no obfuscated payloads
✓ No access to ~/.ssh, ~/.aws, .env, or other credential storage paths
✓ No direct IP connections to unknown external servers — only to user-configured LLM endpoints
✓ No data exfiltration observed — email content is processed locally and reports sent to the user's own configured email address
✓ API keys stored in config/settings.json (gitignored), not hardcoded
✓ AppleScript is the standard, documented macOS automation interface — not a custom shell escape
✓ LLM connection test in setup.sh is interactive and user-driven with visible output
✓ Settings.json validation is performed before writing