扫描报告
45 /100
polymarket-opportunities-scanning
Scan Polymarket prediction markets for book arbitrage opportunities, generate formatted report, deliver via Telegram and email
Skill declares only network:READ via public API, but actual code uses shell:WRITE (execSync/osascript) and filesystem:WRITE without disclosure in documentation.
谨慎使用
SKILL.md must be updated to declare shell execution, filesystem writes, and environment variable access. Consider if shell execution via execSync is necessary or if a safer alternative exists.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Shell execution undeclared in SKILL.md 文档欺骗 | scripts/send-report.js:47 |
| 高危 | osascript/AppleScript execution undeclared 文档欺骗 | scripts/send-report.js:55 |
| 中危 | Filesystem write access not declared 文档欺骗 | scripts/scanner.js:217 |
| 中危 | .env loading not documented 文档欺骗 | scripts/send-report.js:15 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 网络访问 | READ | READ | ✓ 一致 | scanner.js:13 fetches gamma-api.polymarket.com |
| 命令执行 | NONE | WRITE | ✗ 越权 | send-report.js:47 execSync, send-report.js:55 osascript |
| 文件系统 | NONE | WRITE | ✗ 越权 | scanner.js:217 fs.writeFileSync |
| 环境变量 | NONE | READ | ✗ 越权 | send-report.js:15-24 .env loading |
3 项发现
中危 外部 URL 外部 URL
https://polymarket.com/event/... SKILL.md:65 中危 外部 URL 外部 URL
https://gamma-api.polymarket.com scripts/scanner.js:12 中危 外部 URL 外部 URL
https://polymarket.com/event/$ scripts/scanner.js:151 目录结构
4 文件 · 18.5 KB · 551 行 JavaScript 2f · 372L
Markdown 2f · 179L
├─
▾
references
│ └─
setup.md
Markdown
├─
▾
scripts
│ ├─
scanner.js
JavaScript
│ └─
send-report.js
JavaScript
└─
SKILL.md
Markdown
安全亮点
✓ Uses native fetch API, no external dependencies with known vulnerabilities
✓ No hardcoded credentials or API keys in source code
✓ No base64 obfuscation or suspicious encoding patterns
✓ Legitimate financial data analysis use case with plausible business justification
✓ Output file (opportunities.json) is local and not exfiltrated