Scan Report
5 /100
polymarket-autotrade
Polymarket prediction market CLI - Browse markets, check prices, execute trades, and manage portfolio
Polymarket trading CLI with transparent private key handling and declared network access to official Polymarket API endpoints only.
Safe to install
No action needed. Skill operates within declared boundaries. Consider pinning py-clob-client to a specific version for reproducibility.
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | Dependency versions not upper-pinned | requirements.txt:2 |
| Low | Crypto wallet address hardcoded | skill.py:17 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ/WRITE | READ/WRITE | ✓ Aligned | skill.py:37 reads CREDS_FILE; skill.py:61 writes API_CREDS_FILE |
| Network | READ | READ | ✓ Aligned | skill.py:203-245 GET requests to gamma-api.polymarket.com; skill.py:304 POST to … |
| Environment | READ | READ | ✓ Aligned | skill.py:30 os.environ.get('POLYMARKET_PRIVATE_KEY') and 'POLYMARKET_PROXY_ADDRE… |
| Shell | NONE | NONE | — | No subprocess, os.system, or shell execution found |
7 findings
Medium External URL 外部 URL
https://gamma-api.polymarket.com/events/pagination SKILL.md:192 Medium External URL 外部 URL
https://data-api.polymarket.com/positions SKILL.md:193 Medium External URL 外部 URL
https://clob.polymarket.com SKILL.md:194 Medium Wallet Address 加密货币钱包地址
0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 skill.py:17 Medium External URL 外部 URL
https://polygon-rpc.com skill.py:18 Medium External URL 外部 URL
https://polymarket.com/event/ skill.py:241 Medium External URL 外部 URL
https://gamma-api.polymarket.com/events/slug/ skill.py:245 File Tree
5 files · 22.2 KB · 711 lines Python 1f · 489L
Markdown 1f · 194L
TOML 1f · 20L
JSON 1f · 5L
Text 1f · 3L
├─
_meta.json
JSON
├─
pyproject.toml
TOML
├─
requirements.txt
Text
├─
SKILL.md
Markdown
└─
skill.py
Python
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
requests | >=2.31.0 | pip | No | Minimum version pinned, no upper bound |
py-clob-client | >=1.5.0 | pip | No | Minimum version pinned, no upper bound; official Polymarket SDK |
Security Positives
✓ Private key is never transmitted over the network - only used locally for signing via py-clob-client
✓ All network requests go to explicitly declared Polymarket endpoints (gamma-api, data-api, clob, polygon-rpc)
✓ SKILL.md documents credential handling in detail, including security warnings for using dedicated wallets
✓ API credentials are auto-generated and cached locally rather than requiring manual entry
✓ Skill uses standard requests library with proper timeout values
✓ No subprocess, shell execution, or dynamic code evaluation (eval, exec) found
✓ No access to sensitive paths like ~/.ssh, ~/.aws, or .env files
✓ Filesystem access is scoped to ~/.openclaw/credentials/ directory, a dedicated skill credential store