← 返回 Skills 市场
371
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install polymarket-5m-bot
功能描述
Polymarket 5-minute crypto UP/DOWN market automated trading bot. AI-powered prediction using Binance technical analysis (Position, Momentum, RSI, Volume), au...
安全使用建议
Do not run this code unmodified. Specific actions to consider before installing or executing:
- Replace the hardcoded Telegram token/chat ID with your own or remove remote notifications; treat the included token as a secret already compromised and avoid sending sensitive info to it.
- Inspect (or obtain) the ai_trader package/modules that the scripts import via the absolute sys.path; do not let the skill import unknown code from outside the bundle. Prefer bundling dependencies or explicitly pointing to vetted modules.
- Remove eval() usage on API-returned strings and replace with safe JSON parsing to avoid remote code execution risks.
- Understand the Polymarket CLI/gnosis-safe wallet setup: the bot will invoke the CLI and can place orders using your wallet. Only run after you confirm the CLI uses the wallet you intend, ideally in a limited/simulated environment first.
- Avoid running as root. Adjust file paths (logs/state) to a directory you control and verify file permissions.
- If you want to use the notification feature, create your own Telegram bot/token and configure it via environment variables or a config file rather than editing scripts with hardcoded secrets.
- Consider running in an isolated environment (VM/container) and perform code review of any external modules (ai_trader.*) before giving the bot access to real funds.
If you want, I can: highlight the exact lines to change to remove hardcoded tokens, show how to replace eval() with safe parsing, or list a minimal checklist to sandbox and test the bot safely.
功能分析
Type: OpenClaw Skill
Name: polymarket-5m-bot
Version: 3.1.0
The bundle contains a Polymarket trading bot with significant security vulnerabilities and hardcoded credentials. Most notably, `auto_bot_v2.py` uses `eval()` on data fetched from an external API to parse token IDs, creating a Remote Code Execution (RCE) risk. Additionally, `monitor_bets.py` and `position_monitor.py` contain hardcoded Telegram Bot API tokens (8315083265:AAGM_rUxfOzmnTDYd6v2n6n-kEArK37tKKk) and Chat IDs (1609325006), which is a major security flaw that exposes the bot's communication channel. While the code's logic is consistent with its stated purpose of automated trading, these critical flaws and the use of subprocesses to manage a financial wallet make the bundle high-risk.
能力评估
Purpose & Capability
The name/description align with the code (market discovery, AI decision, bet execution, notifications). However the code injects an absolute workspace path (sys.path.insert('/root/.openclaw/...')) to import ai_trader.* modules that are not bundled here, which is unexpected and increases the trust surface. Also SKILL.md says to 'configure Telegram token', but valid Telegram credentials are already hardcoded in multiple scripts.
Instruction Scope
Runtime instructions and code read/write logs in the workspace and call external APIs (Polymarket, CLOB endpoints, Binance, Telegram). The monitor scripts will transmit bet/position info to a hardcoded Telegram bot/chat. The code also evaluates network-derived strings with eval() when extracting token IDs, and relies on subprocess.exec of the polymarket CLI (which will use the user's configured wallet). SKILL.md omits some details (e.g., Playwright browser install) and the code references files/paths outside the skill bundle.
Install Mechanism
No install spec (instruction-only) — lowest install risk. The SKILL.md suggests pip install requests playwright and installing the Polymarket CLI, which is consistent but the SKILL.md does not fully enumerate Playwright/browser setup. No archived downloads or external install URLs are used.
Credentials
Registry metadata declares no required env vars, but scripts contain hardcoded Telegram bot token and chat ID (sensitive credentials belonging to a third party). The bot also expects a configured Polymarket CLI/gnosis-safe wallet (implicit credential/privilege requirement) but does not declare or request those credentials. The hardcoded tokens mean notifications (and thus some operational data) will be sent to an external third party without you being asked to configure that endpoint.
Persistence & Privilege
The skill does not set always:true and does not modify other skills, but it writes state/log files under absolute paths (e.g., /root/.openclaw/.../logs and /tmp) and injects an absolute path into sys.path allowing imports from outside the skill bundle. This expands the code's effective scope to other code in that workspace and is a notable privilege escalation vector for accidental or intentional data access.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install polymarket-5m-bot - 安装完成后,直接呼叫该 Skill 的名称或使用
/polymarket-5m-bot触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.1.0
v3.1.0: Added take-profit monitor (+15% threshold, 3s scan), Telegram notification on profit-take
v3.0.0
v3.0.0: AI-powered 5-min crypto trading bot with optimized strategy
元数据
常见问题
Polymarket Bot 是什么?
Polymarket 5-minute crypto UP/DOWN market automated trading bot. AI-powered prediction using Binance technical analysis (Position, Momentum, RSI, Volume), au... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 371 次。
如何安装 Polymarket Bot?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install polymarket-5m-bot」即可一键安装,无需额外配置。
Polymarket Bot 是免费的吗?
是的,Polymarket Bot 完全免费(开源免费),可自由下载、安装和使用。
Polymarket Bot 支持哪些平台?
Polymarket Bot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Polymarket Bot?
由 0xshahai(@hanguang254)开发并维护,当前版本 v3.1.0。
推荐 Skills