Scan Report
8 /100
minimax-usage-monitor
MiniMax Token Plan 用量查询与监控工具,支持单次查询、定时 cron 监控、多渠道通知(QQ/Discord/Telegram)
MiniMax Token Plan 用量监控工具,代码功能与文档声明一致,无阴影行为,为合法 Web 自动化工具。
Safe to install
可安全使用。建议:1) 依赖版本锁定以防漏洞;2) .env 文件勿提交至版本控制;3) OpenClaw Gateway Token 勿泄露。
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Info | 预扫描误报:IP 120.0.0.0 | scripts/get_usage.js:43 |
| Low | 依赖版本未锁定 | scripts/package.json:14 |
| Info | localhost 内部通信 | scripts/notify_usage.js:184 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | scripts/notify_usage.js:263 写入 daily_usage.log |
| Network | READ+WRITE | READ+WRITE | ✓ Aligned | 访问 platform.minimaxi.com + 发送通知到 Discord/Telegram |
| Shell | NONE | NONE | — | 无 shell 调用 |
| Browser | WRITE | WRITE | ✓ Aligned | 使用 Playwright 控制浏览器自动化操作 |
1 High 9 findings
High IP Address 硬编码 IP 地址
120.0.0.0 scripts/get_usage.js:43 Medium External URL 外部 URL
https://discord.com/api/webhooks/... SKILL.md:59 Medium External URL 外部 URL
https://npmmirror.com/mirrors references/setup.en.md:35 Medium External URL 外部 URL
https://discord.com/api/webhooks/xxxxx/yyyyy references/setup.en.md:102 Medium External URL 外部 URL
https://api.telegram.org/bot references/setup.en.md:108 Medium External URL 外部 URL
https://platform.minimaxi.com/login references/troubleshooting.md:19 Medium External URL 外部 URL
https://platform.minimaxi.com/user-center/payment/token-plan references/troubleshooting.md:113 Medium External URL 外部 URL
https://discord.com scripts/notify_usage.js:221 Medium External URL 外部 URL
https://api.telegram.org/bot$ scripts/notify_usage.js:233 File Tree
9 files · 48.4 KB · 1574 lines Markdown 6f · 1042L
JavaScript 2f · 514L
JSON 1f · 18L
├─
▾
references
│ ├─
cron-guide.en.md
Markdown
│ ├─
cron-guide.zh.md
Markdown
│ ├─
setup.en.md
Markdown
│ ├─
setup.zh.md
Markdown
│ └─
troubleshooting.md
Markdown
├─
▾
scripts
│ ├─
get_usage.js
JavaScript
│ ├─
notify_usage.js
JavaScript
│ └─
package.json
JSON
└─
SKILL.md
Markdown
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
playwright | ^1.40.0 | npm | No | 使用 caret 语义版本,建议锁定主版本 |
Security Positives
✓ SKILL.md 详尽描述所有功能,无文档-行为差异
✓ 代码开源透明,无阴影功能(隐藏的凭证收割、远程执行等)
✓ 网络请求仅指向声明的合法目标(MiniMax 平台 + 通知渠道)
✓ 使用 Playwright 进行真实的浏览器自动化,非逆向 API
✓ 支持 .clawhubignore 排除 .env 文件
✓ 多渠道通知(QQ/Discord/Telegram)符合声明用途