Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Okx Agent Trade Kit

Repository: github.com/dex-original/okx-agent-trade-kit

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit f619ddf3bb4a, unchanged since the check below.

NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV INSTALL_DOCUMENTED_INSTALLER SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP

Why this grade

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    packages/cli/src/commands/diagnose.ts, line 239 `Try: curl ${config.baseUrl}/api/v5/public/time`,

  • NETWORK_UNNAMED_HOST Low

    Calls a fixed host that the description does not name.

    packages/cli/src/commands/diagnose.ts, line 239 `Try: curl ${config.baseUrl}/api/v5/public/time`,

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    .gitignore, line 2 .env

  • INSTALL_DOCUMENTED_INSTALLER Note

    Documentation shows an installer that pipes a download into a shell.

    docs/configuration.md, line 10 curl -fsSL https://raw.githubusercontent.com/dex-original/okx-agent-trade-kit/master/scripts/install.sh | bash

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    packages/core/src/config.ts, line 83 const apiKey = process.env.OKX_API_KEY?.trim() ?? toml.api_key;

  • OBFUSCATION_FILE_OVER_READ_CAP Note

    A file was over the read cap and was not fully read.

    packages/core/test/tools.test.ts, line 1 /**

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Note

    The docs document an installer that pipes a download into a shell.

    INSTALL_DOCUMENTED_INSTALLER

    docs/configuration.md, line 10

    curl -fsSL https://raw.githubusercontent.com/dex-original/okx-agent-trade-kit/master/scripts/install.sh | bash

    scripts/install.sh, line 3

    # Usage: curl -fsSL https://raw.githubusercontent.com/dex-original/okx-agent-trade-kit/master/scripts/install.sh | bash

    scripts/install.sh, line 40

    echo " curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash"

  • Network

    Concern

    can reach a host that is not written as a fixed address. can reach registry.npmjs.org. The description does not name that host.

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    packages/cli/src/commands/diagnose.ts, line 239

    `Try: curl ${config.baseUrl}/api/v5/public/time`,

    packages/core/src/client/rest-client.ts, line 501

    response = await fetch(url, {

    packages/core/src/client/rest-client.ts, line 552

    return await fetch(`${conn.baseUrl}${path}`, fetchOptions as RequestInit);

    Show more

    packages/core/src/client/rest-client.ts, line 678

    response = await fetch(url, fetchOptions as RequestInit);

    packages/core/src/utils/update-check.ts, line 52

    const res = await fetch(`https://registry.npmjs.org/${encodeURIComponent(packageName)}`, {

    packages/core/src/utils/update-check.ts, line 69

    const res = await fetch(`https://registry.npmjs.org/${encodeURIComponent(packageName)}/latest`, {

    skills/okx-cex-earn/references/workflows.md, line 119

    1. Run parallel pre-display fetch (spot price + balance + products) as above

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    packages/core/src/config.ts, line 83

    const apiKey = process.env.OKX_API_KEY?.trim() ?? toml.api_key;

    packages/core/src/config.ts, line 84

    const secretKey = process.env.OKX_SECRET_KEY?.trim() ?? toml.secret_key;

    .gitignore, line 2

    .env

    Show more

    .gitignore, line 1

    # Environment & secrets

    .gitignore, line 3

    .env.local

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Note

    a file was over the read cap and was not fully read.

    OBFUSCATION_FILE_OVER_READ_CAP

    packages/core/test/tools.test.ts, line 1

    /**

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit f619ddf3bb4a. The docs document an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. can reach registry.npmjs.org. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read.

Date and source

Date checked:

View source

github.com

Commit graded: f619ddf3bb4aa5f3fdaa507a46f7a844573a65fd

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen