OKX Trader

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

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

The bot could cancel existing user orders or place real trades automatically, which can cause financial loss.

Why it was flagged

The maintenance tool mutates the OKX account by cancelling orders and submitting new buy/sell orders. Cancellation identifies bot orders by matching size on the configured instrument, not by a bot-specific client order ID or tag, so unrelated manual orders of the same size could be cancelled.

Skill content
const toCancel = pendingOrders.filter(o => Math.abs(parseFloat(o.sz) - CONFIG.sizePerGrid) < 0.000001) ... client.request('/trade/cancel-order' ...); ... client.request('/trade/order', 'POST', JSON.stringify(ord))
Recommendation

Use simulation first, run on a dedicated subaccount, set strict grid and position limits, and modify the bot to tag its own orders and cancel only tagged orders.

What this means

Using the skill means giving the agent API credentials capable of trading on the user’s OKX account.

Why it was flagged

The bundled skill declares required OKX credentials for account access, while the supplied registry requirements say there are no required environment variables and no primary credential. For a trading bot, this under-declares a sensitive permission boundary.

Skill content
"env": { "OKX_API_KEY": { "description": "OKX API Access Key", "required": true }, "OKX_SECRET_KEY": { "description": "OKX API Secret Key", "required": true }, "OKX_PASSPHRASE": { "description": "OKX API Passphrase", "required": true } }
Recommendation

Use a trade-only OKX API key with withdrawals disabled, IP restrictions if available, and a low-balance subaccount; registry metadata should accurately declare the required credentials.

What this means

A user may expect a safer simulated default but accidentally run the bot against real funds.

Why it was flagged

The documentation warns users to test in simulation first, but the declared default is false, meaning live trading is the default unless the user explicitly sets simulation mode.

Skill content
"OKX_IS_SIMULATION": { "description": "Enable simulation mode (true/false)", "default": "false" }
Recommendation

Set simulation mode explicitly before first use, and prefer changing the skill default to simulation-on unless live trading is explicitly confirmed.

NoteHigh Confidence
ASI10: Rogue Agents
What this means

If scheduled, the bot may continue trading repeatedly without a fresh prompt each time.

Why it was flagged

The skill provides a recurring schedule template that can run the trading-maintenance task every five minutes. This is disclosed and purpose-aligned, but it creates ongoing autonomous trading behavior if enabled.

Skill content
"cronTemplates": [ ... { "name": "OKX Grid Auto-Maintenance", "schedule": "*/5 * * * *", "task": "okx_grid_maintain" } ... ]
Recommendation

Enable cron only after simulation testing, and add explicit stop conditions, order caps, and monitoring alerts.

What this means

Local files may reveal account value, holdings, trading activity, and strategy parameters if the workspace is shared or exposed.

Why it was flagged

The snapshot tool stores account balances, assets, trading summaries, pending-order counts, and strategy settings in local JSON files. This is expected for reporting, and no hidden external destination is shown, but the data is sensitive.

Skill content
const snapshot = { timestamp: now.toISOString(), totalEquityUsd, assets, prices, tradingSummary24h: tradingSummary, pendingOrders: pendingCounts, gridSettings: settings }; ... fs.writeFileSync(path.join(SNAPSHOT_DIR, `${dateStr}.json`), JSON.stringify(snapshot, null, 2));
Recommendation

Protect the okx_data directory, avoid sharing snapshots, and consider retention or redaction for sensitive financial history.

What this means

Users have less registry-level assurance about where the skill came from and what credentials/tools it requires.

Why it was flagged

For a high-impact trading skill, the registry metadata gives limited provenance and omits requirements that are declared inside skill.json. No remote installer or hidden dependency is shown, so this is a provenance/metadata note rather than evidence of malicious code.

Skill content
Source: unknown; Homepage: none; Required binaries: none; Required env vars: none
Recommendation

Verify the source repository and package contents before use, and prefer accurate registry metadata for runtime and credential requirements.