Grades are a hygiene check, not a security guarantee.

MCP, MCP server

io.github.Z333Q/p402

AI payment router. Route across 300+ models, settle per request in USDC on Base or USDC.e on Tempo.

Compatibility: Not stated.

Grade C

One Medium finding. Read the findings 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 94c8cc991bc0, unchanged since the check below.

SECRETS_PATH_CREDENTIAL

Why this grade

  • SECRETS_PATH_CREDENTIAL Medium

    Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).

    .github/BRANCH_PROTECTION.md, line 126 git config --global user.signingkey ~/.ssh/id_ed25519.pub

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

    examples/02-openai-migration/index.ts, line 5

    * 1. Raw fetch (same payload shape as OpenAI)

    examples/02-openai-migration/index.ts, line 27

    const res = await fetch(`${P402_BASE_URL}/chat/completions`, {

    examples/03-nextjs-session-budget/app/page.tsx, line 49

    const res = await fetch('/api/chat', {

    Show more

    examples/04-a2a-agents/index.ts, line 32

    const res = await fetch(`${P402_BASE}/.well-known/agent.json`);

    examples/04-a2a-agents/index.ts, line 72

    const res = await fetch(`${P402_BASE}/api/a2a`, {

    examples/04-a2a-agents/index.ts, line 109

    const res = await fetch(`${P402_BASE}/api/a2a`, {

    examples/04-a2a-agents/index.ts, line 151

    const createRes = await fetch(`${P402_BASE}/api/v2/governance/mandates`, {

    packages/cli/src/client.ts, line 32

    const res = await fetch(`${base}${path}`, {

    skills/p402/SKILL.md, line 76

    const response = await fetch('https://api.openai.com/v1/chat/completions', {

    skills/p402/SKILL.md, line 82

    const response = await fetch('https://p402.io/api/v2/chat/completions', {

    skills/p402/references/a2a-protocol.md, line 33

    curl https://p402.io/.well-known/agent.json

    skills/p402/references/a2a-protocol.md, line 216

    curl -X POST https://p402.io/api/a2a/mandates \

    skills/p402/references/a2a-protocol.md, line 265

    curl -X POST https://p402.io/api/a2a/mandates/mandate_abc/use \

    skills/p402/references/a2a-protocol.md, line 374

    curl https://p402.io/api/v2/bazaar/discover?capability=web-search

    skills/p402/references/a2a-protocol.md, line 399

    curl https://p402.io/api/v2/bazaar/listings

    skills/p402/references/a2a-protocol.md, line 405

    curl -X POST https://p402.io/api/v2/bazaar/call \

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    examples/01-quickstart/index.ts, line 14

    apiKey: process.env['P402_API_KEY'],

    examples/02-openai-migration/index.ts, line 13

    const P402_API_KEY = process.env['P402_API_KEY'] ?? '';

    .github/BRANCH_PROTECTION.md, line 126

    git config --global user.signingkey ~/.ssh/id_ed25519.pub

    Show more

    examples/03-nextjs-session-budget/app/api/chat/route.ts, line 10

    apiKey: process.env['P402_API_KEY'],

    examples/04-a2a-agents/index.ts, line 14

    'Authorization': `Bearer ${process.env['P402_API_KEY'] ?? ''}`,

    examples/04-a2a-agents/index.ts, line 182

    if (!process.env['P402_API_KEY']) {

    packages/cli/src/config.ts, line 30

    return process.env['P402_API_KEY'] ?? readConfig().apiKey;

    packages/mcp-server/src/index.ts, line 11

    const API_KEY = process.env["P402_API_KEY"];

    packages/mpp-method/src/index.ts, line 14

    * secretKey: process.env.MPP_SECRET_KEY!,

    skills/p402-agent-setup/references/environments.md, line 26

    # /home/workspace/my-agent/.env

    skills/p402-agent-setup/references/environments.md, line 64

    echo 'P402_API_KEY=your-key-here' > /home/agent/.env

    skills/p402-agent-setup/references/environments.md, line 65

    chmod 600 /home/agent/.env

    skills/p402-agent-setup/references/environments.md, line 124

    - .env

    skills/p402-agent-setup/references/environments.md, line 128

    # .env (not committed to Git)

    .gitignore, line 4

    *.d.ts.map

    .gitignore, line 5

    .env

  • 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

    package-lock.json, 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 94c8cc991bc0. can reach a host that is not written as a fixed address. 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: 94c8cc991bc06bfd448377ec19b1f520f3b613e5

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