Grades are a hygiene check, not a security guarantee.

MCP, MCP server

x402 Merchant Check

Pre-payment merchant trust checks for x402 agents on Base and Solana.

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

NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ

Why this grade

  • NETWORK_NO_FIXED_HOST Low

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

    scripts/mainnet-http-check-test.ts, line 43 const firstResponse = await fetch(url);

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    scripts/demo-client.ts, line 9 * Requires .env.demo (gitignored) with DEMO_PAYER_PRIVATE_KEY funded with

  • SECRETS_ENV_READ Note

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

    scripts/demo-client.ts, line 18 const PAYER_KEY = process.env.DEMO_PAYER_PRIVATE_KEY;

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/mainnet-http-check-test.ts, line 43

    const firstResponse = await fetch(url);

    scripts/mainnet-http-check-test.ts, line 60

    const paidResponse = await fetch(url, { headers: paymentHeaders });

    src/index.ts, line 49

    * - a fetch()/Request/Response-based transport explicitly documented as

    Show more

    src/index.ts, line 264

    // createServer() call, which fetch() (bottom of this file) invokes fresh

    src/index.ts, line 508

    async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> {

    src/categorize/model.ts, line 80

    res = await fetch(ANTHROPIC_API_URL, {

    src/refresh/indexer.ts, line 150

    const res = await fetch(`${BAZAAR_DISCOVERY_URL}?limit=${PAGE_SIZE}&offset=${offset}`, {

    src/refresh/indexer.ts, line 182

    const res = await fetch(`${BAZAAR_DISCOVERY_URL}?limit=${PAGE_SIZE}&offset=${offset}`, {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    scripts/demo-client.ts, line 6

    * Base Sepolia with the throwaway payer key in .env.demo.

    scripts/demo-client.ts, line 9

    * Requires .env.demo (gitignored) with DEMO_PAYER_PRIVATE_KEY funded with

    scripts/demo-client.ts, line 18

    const PAYER_KEY = process.env.DEMO_PAYER_PRIVATE_KEY;

    Show more

    scripts/demo-client.ts, line 21

    console.error("DEMO_PAYER_PRIVATE_KEY not set - run with: node --env-file=.env.demo ...");

    scripts/mainnet-http-check-test.ts, line 9

    * completed a real settlement yet. Reuses the same .env.mainnet-test

    scripts/mainnet-http-check-test.ts, line 19

    const PAYER_KEY = process.env.MAINNET_PAYER_PRIVATE_KEY;

    scripts/mainnet-http-check-test.ts, line 25

    " node --env-file=.env.mainnet-test --import tsx scripts/mainnet-http-check-test.ts\n" +

    scripts/mainnet-http-check-test.ts, line 26

    "Same .env.mainnet-test used by mainnet-live-test.ts - see README \"Mainnet live payment test\".",

    scripts/mainnet-live-test.ts, line 8

    * .env.mainnet-test file that never leaves your machine. See README

    scripts/mainnet-live-test.ts, line 20

    const PAYER_KEY = process.env.MAINNET_PAYER_PRIVATE_KEY;

    scripts/mainnet-live-test.ts, line 27

    " node --env-file=.env.mainnet-test --import tsx scripts/mainnet-live-test.ts\n" +

  • Agent instructions

    Pass

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

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Note

    no licence file found.

    LICENCE_MISSING

    No file path was stored.

    no licence file found.

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit e30ee5b5f12f. can reach a host that is not written as a fixed address. reads a credential or environment file. no licence file found.

Date and source

Date checked:

View source

github.com

Commit graded: e30ee5b5f12f048ecc16db9cd781f20eb5ad5d36

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