Grades are a hygiene check, not a security guarantee.

MCP, MCP server

io.github.Kali123411/kx402

An agent-centric payer for x402 services settled on Kaspa L1.

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 42d074626c4f, unchanged since the check below.

NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV

Why this grade

  • NETWORK_NO_FIXED_HOST Low

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

    scripts/fetch-wasm-sdk.sh, line 14 curl -fSL "$URL" -o "$DEST/kaspa-wasm32-sdk.zip"

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    src/mcp.mjs, line 7 // Config comes from the environment (see .env.example):

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

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    scripts/fetch-wasm-sdk.sh, line 14

    curl -fSL "$URL" -o "$DEST/kaspa-wasm32-sdk.zip"

    src/core.mjs, line 761

    const response = await fetch(url, { redirect: "error" });

    src/core.mjs, line 773

    const response = await fetch(url, {

    Show more

    src/core.mjs, line 789

    return fetch(input, {

    src/core.mjs, line 798

    const response = await fetch(new URL(pathName, baseUrl), {

    src/wallet.mjs, line 69

    const r = await fetch(`https://${s}/v2/kaspa/${networkId}/tls/wrpc/borsh`, { signal: AbortSignal.timeout(8000) });

    src/wallet.mjs, line 84

    const r = await fetch(url, { signal: AbortSignal.timeout(8000) });

    src/wallet.mjs, line 95

    const r = await fetch(`${apiBase.replace(/\/+$/, "")}/transactions/${txid.toLowerCase()}?inputs=true&outputs=true&resolve_previous_outpoints=no`);

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    src/mcp.mjs, line 7

    // Config comes from the environment (see .env.example):

    .env.example, line 1

    # kx402 configuration - copy to .env (or pass with --config-file <file>) and fill in.

    .gitignore, line 7

    .kaspa-x402-live/

    Show more

    .gitignore, line 8

    .env

    .gitignore, line 10

    !.env.example

    .gitignore, line 12

    *.env

    .gitignore, line 13

    !.env.example

    README.md, line 37

    Copy `.env.example` to `.env` and fill it in (or pass any of these as flags / env vars):

  • Agent instructions

    Pass

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

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • 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 42d074626c4f. can reach a host that is not written as a fixed address. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 42d074626c4f57ea0436eed520c691ac9b2a56fd

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