Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

OKX Trade Kit

v1.0.1

Setup, install, and use OKX Agent Trade Kit — the official OKX toolkit for AI-powered trading. Use this skill whenever the user mentions: OKX trading, agent...

0· 421·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for chingchiu169/okx-trade.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "OKX Trade Kit" (chingchiu169/okx-trade) from ClawHub.
Skill page: https://clawhub.ai/chingchiu169/okx-trade
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install okx-trade

ClawHub CLI

Package manager switcher

npx clawhub@latest install okx-trade
Security Scan
Capability signals
Crypto
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
Name/description and the SKILL.md are coherent: this is an OKX trading toolkit (market data, trading, portfolio, bots). However the registry metadata declared no required binaries or credentials while SKILL.md explicitly requires Node.js (Node 18+) and instructs using npm/npx to install packages — an undocumented dependency. This mismatch is likely sloppy metadata but worth calling out.
Instruction Scope
Instructions stay inside the claimed scope (installing the toolkit, configuring ~/.okx/config.toml with API keys, demo vs live, and example NL trading commands). They explicitly tell users not to paste API keys in chat and recommend sub-accounts and demo mode. One operational concern: SKILL.md suggests running installation commands (npx/npm) which will fetch and run remote code — expected for this purpose but increases runtime risk if the downloaded package is unverified. Instructions do not ask to read unrelated system files or exfiltrate data.
Install Mechanism
There is no formal install spec in the registry, but SKILL.md tells users to run `npx skills add okx/agent-skills` and `npm install -g @okx_ai/okx-trade-mcp` — i.e., npm/npx installs from remote registries. npm/npx downloads and runs remote code at install/run time; this is a common way to install Node tools but is a moderate risk compared to purely instruction-only skills with no network installs. The SKILL.md points to GitHub and okx domains (expected), but the skill gives no guidance on verifying package integrity or pinned versions.
Credentials
Registry metadata lists no required env vars or credentials, yet SKILL.md requires creating ~/.okx/config.toml with API keys/secret/passphrase (demo and live). Storing exchange API credentials locally is expected for a trading toolkit, and the SKILL.md recommends least-privilege (sub-account, no withdrawal rights) and demo mode. The mismatch between metadata and the runtime need for credentials should be resolved by the publisher, but the credential request itself is proportionate to the stated purpose.
Persistence & Privilege
The skill is user-invocable, not always: true, and does not request persistent elevated privileges or modifications to other skills. Nothing in the materials asks the skill to alter other agent configs or grant itself platform-wide privileges.
What to consider before installing
This instruction-only skill looks like a legitimate OKX trading toolkit, but there are a few things to check before installing: 1) Metadata omitted Node/npm as required — SKILL.md requires Node.js 18+ and uses npx/npm to fetch packages. Make sure you have a trustworthy source (confirm the GitHub repo and npm package names and prefer pinned versions). 2) npx/npm will download and run remote code at install time — only proceed if the package is from the official OKX organization and you trust the release. 3) The skill stores API credentials in ~/.okx/config.toml — follow its advice: use a sub-account with no withdrawal permission, test in demo mode first, and never paste keys into chat. 4) Because this is instruction-only, static scanning couldn’t inspect code; if possible, review the GitHub repository (https://github.com/okx/agent-trade-kit) and npm package contents before running npx or npm install. 5) If you want to minimize risk, run the MCP/tooling in read-only or demo mode first and consider running installations in an isolated environment (VM or container).

Like a lobster shell, security has layers — review code before you run it.

latestvk97achffx2wvgg0230qc780tns84jsvw
421downloads
0stars
2versions
Updated 22h ago
v1.0.1
MIT-0

OKX Agent Trade Kit Skill

OKX Agent Trade Kit 係 OKX 官方出嘅 open-source toolkit,讓 AI agent 直接用自然語言執行交易。

Overview

三種使用方式:

  1. Skills(OpenClaw 用戶首選)npx skills add okx/agent-skills,一行搞掂
  2. MCP Server — 適合 Claude Desktop、Claude Code、Cursor、VS Code
  3. CLI — terminal 直接落指令,可以 pipe 入 script

流程判斷

用戶係用 OpenClaw?
  ├─ Yes → 用 Skills 安裝方式(最快,一行指令)
  └─ No  → 用 MCP 安裝方式(npm install + setup)

用戶想交易?
  ├─ 先確認有無配置 API key
  ├─ 建議先用 demo 模式測試
  └─ 提醒用 sub-account API key,唔好用 main account

安裝:OpenClaw(Skills 方式)⭐ 推薦

Step 1 — 安裝 Skills

直接係 OpenClaw chat 入面 貼呢句(唔係 terminal):

Run `npx skills add okx/agent-skills`, resolve any issues you encounter, then check the BTC price.

呢個會自動裝好四個 skills:

SkillPackage功能需要 API Key?
Market Dataokx-cex-market實時行情、K 線、資金費率、未平倉量❌ 唔需要
Tradingokx-cex-tradeSpot、合約、期權、Algo 訂單、Grid Bot✅ 需要
Portfoliookx-cex-portfolio餘額、持倉、P&L、帳單、手續費率✅ 需要
Botsokx-cex-botGrid Bot(現貨/合約)、DCA 策略✅ 需要

Step 2 — 配置 API Key

打開 Terminal,執行:

mkdir -p ~/.okx && cat > ~/.okx/config.toml << 'EOF'
default_profile = "demo"

[profiles.live]
api_key    = "your-live-api-key"
secret_key = "your-live-secret-key"
passphrase = "your-live-passphrase"

[profiles.demo]
api_key    = "your-demo-api-key"
secret_key = "your-demo-secret-key"
passphrase = "your-demo-passphrase"
demo       = true
EOF

之後用文字編輯器開 ~/.okx/config.toml,填入真實嘅 API credentials。

去哪攞 API Key?https://www.okx.com/account/my-api

  • ✅ 建議先攞 demo key 試用
  • ✅ 用 sub-account 嘅 API key,唔好用 main account
  • ⚠️ 永遠唔好將 API key 貼入 chat 入面

安裝:MCP Clients(Claude Desktop / Cursor / VS Code)

詳細步驟見 → references/mcp-setup.md


自然語言交易指令示例

裝好之後,可以直接係 AI chat 入面講:

# 行情查詢(唔需要 API key)
What's the BTC price on OKX?
Show BTC-USDT order book
BTC-USDT-SWAP 嘅資金費率係幾多?

# 帳戶(需要 API key)
Show my account balance
我而家有咩持倉?

# 交易(demo 模式,無風險)
Buy 100 USDT of BTC at market on demo
Set a limit buy for 0.01 BTC at 80000 on demo
Place a stop-loss at 84000 for my BTC-USDT-SWAP long

# Grid Bot
Create a BTC grid bot between 80000 and 100000 with 10 grids and 100 USDT

安全提示(每次涉及交易時都要提醒)

  1. 永遠唔好 將 API Key 貼入 chat — 只放喺 ~/.okx/config.toml
  2. sub-account 專門做 AI trading,唔好用 main account,唔好開 withdrawal 權限
  3. 先用 demo mode 測試,確認無問題先 switch 去 live
  4. 只開放需要嘅 API 權限(唔需要提款權限就唔開)
  5. AI 係 non-deterministic,唔可以完全依賴,重大決策要人工確認

Agent Trade Kit 有 4 層內建安全保護

  • --demo Demo 模式 — 模擬資金,唔會動真錢
  • --read-only 只讀模式 — 只能查數據,無法下單
  • Smart Registration — 啟動時自動檢查 API Key 權限,Key 唔能交易嘅話 order tools 根本唔會顯示畀 AI
  • Risk Labels — 所有涉及金錢操作嘅 tool 都標 [CAUTION],AI 會先確認再執行

常見問題

Q: 點解 market data 唔需要 API key? A: OKX 市場數據係公開嘅,market module 直接 call 公開 API。

Q: demo 同 live 有咩分別? A: demo 用模擬資金,config.toml 入面 demo = true 就係 demo 模式。

Q: 我係歐洲用戶 / 美國用戶點辦? A: 要係 config.toml 加 site = "eea" (歐洲) 或 site = "us" (美國)。

Q: 裝唔到 / 有 error 點辦? A: 確認 Node.js 已安裝(node --version),要求 Node.js 18+。


參考資料

Comments

Loading comments...