扫描报告
20 /100
minimax-usage-monitor
MiniMax Token Plan usage query and monitoring via web scraping with Playwright
Legitimate MiniMax usage monitor that performs declared web scraping with Playwright. Minor documentation gap: filesystem WRITE for logging is not declared.
可以安装
Document the filesystem WRITE usage (daily log file append) in SKILL.md. Consider pinning Playwright to a specific version for reproducibility.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | Undeclared filesystem WRITE permission | scripts/notify_usage.js:252 |
| 低危 | Unpinned Playwright dependency | scripts/package.json:14 |
| 提示 | Pre-scan false positive: Not an IP address | scripts/get_usage.js:43 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✗ 越权 | scripts/notify_usage.js:252 - fs.appendFileSync(logPath, logLine) |
| 网络访问 | READ | READ/WRITE | ✓ 一致 | Web scraping (GET) and notification POSTs (Discord/Telegram/OpenClaw) |
| 命令执行 | NONE | NONE | — | No subprocess or shell execution found |
| 环境变量 | READ | READ | ✓ 一致 | .env reading for credentials is declared in SKILL.md |
| 浏览器 | WRITE | WRITE | ✓ 一致 | Playwright automation for web scraping declared in SKILL.md |
1 高危 9 项发现
高危 IP 地址 硬编码 IP 地址
120.0.0.0 scripts/get_usage.js:43 中危 外部 URL 外部 URL
https://discord.com/api/webhooks/... SKILL.md:59 中危 外部 URL 外部 URL
https://npmmirror.com/mirrors references/setup.en.md:35 中危 外部 URL 外部 URL
https://discord.com/api/webhooks/xxxxx/yyyyy references/setup.en.md:102 中危 外部 URL 外部 URL
https://api.telegram.org/bot references/setup.en.md:108 中危 外部 URL 外部 URL
https://platform.minimaxi.com/login references/troubleshooting.md:19 中危 外部 URL 外部 URL
https://platform.minimaxi.com/user-center/payment/token-plan references/troubleshooting.md:113 中危 外部 URL 外部 URL
https://discord.com scripts/notify_usage.js:221 中危 外部 URL 外部 URL
https://api.telegram.org/bot$ scripts/notify_usage.js:233 目录结构
9 文件 · 48.4 KB · 1574 行 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
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
playwright | ^1.40.0 | npm | 否 | Version not pinned - minor risk only |
安全亮点
✓ No credential exfiltration detected - credentials only used for MiniMax login
✓ No remote code execution or shell injection vectors
✓ No base64/eval obfuscation or hidden payloads
✓ No access to sensitive paths (~/.ssh, ~/.aws, .env files)
✓ No curl|bash or wget|sh remote script execution
✓ Environment variable reading is properly declared in SKILL.md
✓ Network requests are limited to declared MiniMax platform and notification channels
✓ .env.example is properly excluded from packaging via .clawhubignore