MCP, MCP server
x402nano
x402nano is machine-payable Polymarket market intelligence for AI agents and MCP clients.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit edfdf4efcd67, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
mcp-server/src/payment-budget.ts, line 128
await fs.unlink(lockPath).catch(error => { - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
examples/delta-polling.js, line 6
const response = await fetch(new URL(path, API_ORIGIN), options); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.gitignore, line 7
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
scripts/mainnet-x402-buyer.js, line 32
const privateKey = process.env.MAINNET_BUYER_PRIVATE_KEY?.trim();
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
Concern
can delete files.
PERMISSION_DELETE_FILES
mcp-server/src/payment-budget.ts, line 128
await fs.unlink(lockPath).catch(error => {
mcp-server/src/payment-budget.ts, line 144
if (Date.now() - stat.mtimeMs > 30_000) await fs.unlink(lockPath);
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/delta-polling.js, line 6
const response = await fetch(new URL(path, API_ORIGIN), options);
scripts/mainnet-x402-buyer.js, line 50
const response = await fetch(url, options);
server/index.js, line 1478
curl: `curl "${trendingUrl}"`
Show more
server/index.js, line 1481
curl: `curl -i "${paidUrl}"`,
server/index.js, line 1487
curl: `curl "${paidUrl}" -H "${PAYMENT_HEADER}: <signed-x402-payment>"`,
server/index.js, line 1491
curl: `curl -i "${deltaUrl}"`,
server/index.js, line 1497
curl: `curl "${deltaUrl}" -H "${PAYMENT_HEADER}: <signed-x402-payment>"`,
server/payment-providers.js, line 119
const response = await fetch(`${baseUrl}${path}`, {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
scripts/create-mainnet-buyer-wallet.js, line 6
const envPath = path.resolve(".env.mainnet.local");
scripts/mainnet-x402-buyer.js, line 32
const privateKey = process.env.MAINNET_BUYER_PRIVATE_KEY?.trim();
.gitignore, line 7
.env
Show more
scripts/mainnet-x402-buyer.js, line 29
await loadLocalEnv(".env.mainnet.local");
server/index.js, line 17
const FACILITATOR_SECRET = process.env.FACILITATOR_SECRET ?? "sandbox-facilitator-secret";
server/index.js, line 31
const ADMIN_TOKEN = process.env.LEAD_PACK_ADMIN_TOKEN?.trim() ?? "";
server/index.js, line 422
facilitatorApiKey: process.env.X402_FACILITATOR_API_KEY,
server/index.js, line 423
cdpApiKeyId: process.env.CDP_API_KEY_ID,
server/index.js, line 424
cdpApiKeySecret: process.env.CDP_API_KEY_SECRET
.dockerignore, line 4
*.log
.gitignore, line 6
data/production-lead-pack.runtime.json.tmp
.gitignore, line 9
!.env.example
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 edfdf4efcd67. can delete files. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: edfdf4efcd6735a73a20258036b193a3690ab78e
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.