OKX交易执行器

SuspiciousAudited by ClawScan on May 10, 2026.

Overview

This is a coherent OKX trading executor, but it can use OKX API keys to place live orders without declared credential requirements or built-in confirmation/limits.

Install only if you intend to let an agent operate an OKX account. Start with okx_demo, use a separate least-privileged OKX API key with withdrawals disabled, keep secrets out of prompts, and require manual review/confirmation before any okx_live order.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

An agent or strategy that has the credentials can submit real OKX trades, potentially moving funds if it is invoked incorrectly.

Why it was flagged

The same CLI exposes live OKX trading and order-placement actions; the artifacts do not show a confirmation flag, maximum order size, symbol allowlist, or other live-trading guard before order submission.

Skill content
choices=["okx_demo", "okx_live"] ... "place_market_order", "place_limit_order"
Recommendation

Require explicit human approval for each live order, add maximum size/notional limits, make demo mode the safe default, and consider separating live trading into a more tightly permissioned skill.

What this means

The skill may place an order larger than the user or calling agent requested.

Why it was flagged

A market buy below 10 USDT is silently increased to 10 USDT rather than rejected; similar minimum-size coercion exists for tiny sell/limit orders.

Skill content
if float(body['sz']) < 10:
                body['sz'] = "10.00"
Recommendation

Reject below-minimum order sizes with a clear error, or require explicit user confirmation before increasing the order amount.

What this means

Users may not realize before installation that the skill needs powerful exchange credentials capable of live trading.

Why it was flagged

This conflicts with the skill’s own documentation and .env template requiring OKX_API_KEY, OKX_API_SECRET, and OKX_PASSPHRASE for an account that can be queried and traded.

Skill content
Required env vars: none; Env var declarations: none; Primary credential: none
Recommendation

Declare the OKX credential requirements in metadata, document required scopes, and advise users to use least-privileged keys with withdrawals disabled.

What this means

Runtime behavior may depend on whatever Python packages are already installed in the environment.

Why it was flagged

The package still includes runnable Python code that imports external dependencies, so dependency versions and provenance are not pinned in the provided artifacts.

Skill content
No install spec — this is an instruction-only skill.
Recommendation

Provide a requirements file or install spec with pinned dependency versions and review the installed packages before using live credentials.