Skip to main content
Scans/github/okx/agent-trade-kit

okx/agent-trade-kit

github

Share

Summary

okx/agent-trade-kit v2026-03-18 was classified as CRITICAL RISK with a risk score of 248. Sigil detected 12 findings across 153 files, covering phases including provenance, install hooks, network exfiltration, code patterns, credential access. Review the findings below before installing this package.

Package description: OKX trading MCP server — connect AI agents to spot, swap, futures, options & grid bots via the Model Context Protocol.

CRITICAL RISK(248)

v2026-03-18

20 March 2026, 11:54 UTC

by Sigil Bot

Risk Score

248

Findings

12

Files Scanned

153

Provenance

Findings by Phase

Phase Ordering

Phases are ordered by criticality, with the most dangerous at the top. Click any phase header to expand or collapse its findings. Critical phases are expanded by default.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

repo/docs/configuration.md:10

```bash
curl -fsSL https://raw.githubusercontent.com/okx/agent-tradekit/master/scripts/install.sh | bash
```
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-npm-postinstall

CRITICAL

npm lifecycle script — runs automatically on install

repo/packages/cli/package.json:17

    "clean": "rm -rf dist scripts",
    "postinstall": "node scripts/postinstall.js || exit 0",
    "test:unit": "node --import tsx/esm --test test/*.test.ts",
Why was this flagged?

npm lifecycle scripts like postinstall run automatically during package installation with no user interaction required. This is the #1 attack vector for malicious npm packages — attackers embed data theft or backdoor installation in these hooks. Rated CRITICAL because code executes before the developer can review it.

install-npm-postinstall

CRITICAL

npm lifecycle script — runs automatically on install

repo/packages/mcp/package.json:18

    "clean": "rm -rf dist scripts",
    "postinstall": "node scripts/postinstall.js || exit 0",
    "test:unit": "node --import tsx/esm --test test/*.test.ts"
Why was this flagged?

npm lifecycle scripts like postinstall run automatically during package installation with no user interaction required. This is the #1 attack vector for malicious npm packages — attackers embed data theft or backdoor installation in these hooks. Rated CRITICAL because code executes before the developer can review it.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

repo/scripts/install.sh:3

# OKX Trade MCP — one-line installer
# Usage: curl -fsSL https://raw.githubusercontent.com/okx/agent-tradekit/master/scripts/install.sh | bash
#
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

install-makefile-curl

HIGH

Makefile/script pipes remote content to shell

repo/scripts/install.sh:40

    echo "    # nvm (recommended)"
    echo "    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash"
    echo "    nvm install --lts"
Why was this flagged?

A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.

Badge

Sigil scan badge for github/okx/agent-trade-kit

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/github/okx/agent-trade-kit)](https://sigilsec.ai/scans/8A12972C-2AEF-4C56-AC37-C9E378B5756C)

HTML

<a href="https://sigilsec.ai/scans/8A12972C-2AEF-4C56-AC37-C9E378B5756C"><img src="https://sigilsec.ai/badge/github/okx/agent-trade-kit" alt="Sigil Scan"></a>

Run This Scan Yourself

Scan your own packages

Run Sigil locally to audit any package before it touches your codebase.

curl -sSL https://sigilsec.ai/install.sh | sh
Read the docs →Free. Apache 2.0.

Early Access

Get cloud scanning, threat intel, and CI/CD integration.

Join 150+ developers on the waitlist.

Get threat intelligence and product updates

Security research, new threat signatures, and product updates. No spam.

Other github scans

Believe this result is incorrect? Request a review or see our Terms of Service and Methodology.

Scanned bySigil Bot