← 返回 Skills 市场
deliverydriver

Polymarket Bot Skill

作者 deliverydriver · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
736
总下载
2
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install polymarket-bot
功能描述
Automate Polymarket bot operations including fetching market data, placing trades, and implementing strategies like arbitrage. Use when users need to build o...
安全使用建议
Key points before installing or running this skill: - Metadata mismatch: The registry metadata claims no required environment variables, but the code expects a POLY_PRIVATE_KEY and derives API credentials. Treat that as a red flag: ask the publisher to update the metadata to list required secrets. - Sensitive operations: The code will sign messages with your private key and POST them to Polymarket endpoints to derive API credentials. Only provide private keys if you fully trust the code and publisher — prefer hardware wallets, ephemeral keys, or limited-scope keys where possible. - Test mode first: Run with dry_run=True and on a testnet or with a throwaway account to validate behavior. Do not run with dry_run=False on a funded account until you fully audit the code. - Audit network behavior: The scripts make HTTP requests to polymarket domains (gamma-api.polymarket.com, clob.polymarket.com, data-api.polymarket.com) — verify those endpoints and ensure TLS is used. Inspect any unexpected outbound hosts before using. - Code quality issues to fix before trusting: auth uses signTypedData (ensure correct EIP-712 usage), authenticate_with_clob posts a signed_message (review what is sent), and some code passes api_creds into requests.get via auth=self.api_creds (this may not be correct and could leak data). Have a developer review these details. - Dependency management: The skill relies on web3.py, requests, dotenv, asyncio, etc. Install these from official sources and run in an isolated virtual environment or container. - Operational risk: The bot can automatically place trades (including copy-trading). This exposes you to financial loss, MEV, front-running, slippage, and rate-limit issues. Use rate limiting, position limits, and monitoring as suggested in references. - If you cannot audit the code, avoid providing real private keys. Ask the publisher for clearer metadata, dependency lists, and a security/privacy statement. Consider running the skill in a sandbox or with a read-only API credential (if available).
功能分析
Type: OpenClaw Skill Name: polymarket-bot Version: 1.0.0 This skill is classified as suspicious due to a significant prompt injection vulnerability and its engagement in high-risk operations. The `SKILL.md` file explicitly instructs the AI agent to use prompts from `references/prompts.md` and `references/strategy_examples.md` to 'generate code for strategies'. While the current prompts in these files are not overtly malicious, this mechanism creates a direct vector for prompt injection, allowing an attacker to potentially instruct the agent to generate and execute arbitrary malicious code. Furthermore, the skill's core functionality involves handling sensitive private keys (via `scripts/auth_setup.py` and `scripts/bot_integration.py`) and performing automated cryptocurrency trades, which are inherently high-risk operations, amplifying the potential impact of a successful injection.
能力评估
Purpose & Capability
The name/description align with the included scripts (market fetch, auth, strategy, integration, copy-trading). Functionality requested (fetch markets, place trades, arbitrage, copy trading) is coherent with the code — however the registry metadata claims no required env vars/credentials while the code clearly requires a private key and produces API credentials, which is an important inconsistency.
Instruction Scope
SKILL.md and references instruct running scripts that handle private keys, derive API keys, and post signed messages to remote endpoints. The instructions implicitly permit long-running, autonomous trading (infinite loops, copying trades). The skill's runtime instructions and included code direct reading of environment variables (POLY_PRIVATE_KEY) and sending signatures/requests to external Polymarket endpoints — behaviors within the domain but sensitive and not declared in metadata.
Install Mechanism
There is no install spec (instruction-only install), which reduces installation risk. However, the code depends on third-party Python packages (web3, requests, dotenv, asyncio, possibly pandas) that are not declared; installing/running them will be required by the user and could pull external packages.
Credentials
The skill metadata lists no required env vars, yet scripts expect a POLY_PRIVATE_KEY and produce/handle API keys/secrets. Requesting a raw private key (and deriving/POSTing signatures) is high sensitivity — the skill should clearly declare this as a required credential and explain secure handling. The number and sensitivity of credentials used (private key → API creds) is proportionate to trading functionality but is not reflected in the registry metadata.
Persistence & Privilege
The skill is not marked always:true, does not request system-wide config changes, and does not attempt to modify other skills or agent config. It runs as scripts and will only persist data if the user runs them locally — no elevated platform privilege is requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install polymarket-bot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /polymarket-bot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release based on SOP for Polymarket bot operations
元数据
Slug polymarket-bot
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Polymarket Bot Skill 是什么?

Automate Polymarket bot operations including fetching market data, placing trades, and implementing strategies like arbitrage. Use when users need to build o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 736 次。

如何安装 Polymarket Bot Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install polymarket-bot」即可一键安装,无需额外配置。

Polymarket Bot Skill 是免费的吗?

是的,Polymarket Bot Skill 完全免费(开源免费),可自由下载、安装和使用。

Polymarket Bot Skill 支持哪些平台?

Polymarket Bot Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Polymarket Bot Skill?

由 deliverydriver(@deliverydriver)开发并维护,当前版本 v1.0.0。

💬 留言讨论