Scan Report
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.
Safe to install
Document the filesystem WRITE usage (daily log file append) in SKILL.md. Consider pinning Playwright to a specific version for reproducibility.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | Undeclared filesystem WRITE permission | scripts/notify_usage.js:252 |
| Low | Unpinned Playwright dependency | scripts/package.json:14 |
| Info | Pre-scan false positive: Not an IP address | scripts/get_usage.js:43 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✗ Violation | scripts/notify_usage.js:252 - fs.appendFileSync(logPath, logLine) |
| Network | READ | READ/WRITE | ✓ Aligned | Web scraping (GET) and notification POSTs (Discord/Telegram/OpenClaw) |
| Shell | NONE | NONE | — | No subprocess or shell execution found |
| Environment | READ | READ | ✓ Aligned | .env reading for credentials is declared in SKILL.md |
| Browser | WRITE | WRITE | ✓ Aligned | Playwright automation for web scraping declared in SKILL.md |
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 | Version not pinned - minor risk only |
Security Positives
✓ 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