x402-mcp-commerce (nirholas/x402-mcp-commerce) is an MCP server listed on the M8ven Trust Index. It scores 58 out of 100, grade D. It declares 3 tools. No publisher has claimed this listing.
MCP server that gives Claude/GPT agents commerce tools — each tool call pays an upstream x402 endpoint and returns its artifact.
Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
nirholas
Source: Glama
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
ALLOWED_TOOLScomma-separated allowlist; empty = allATTESTATION_TTL_SECONDSFACILITATOR_URLEVM base-sepolia NETWORK=base PAY_TO_ADDRESS (default https://x402.org/facilitator)MAX_CALLS200 # total paid callsMAX_PER_CALL_USD0.05 # most this agent will pay for one callMAX_SESSION_USD1 # total for this processNETWORKEVM base-sepolia =base PAY_TO_ADDRESS FACILITATOR_URL (default https://x402.org/facilitator)PAY_TO_ADDRESSEVM base-sepolia NETWORK=base FACILITATOR_URL (default https://x402.org/facilitator)PRIVATE_KEYthe EVM wallet that signs Base payments. Without it the EVM rail is unavailable.SIGNING_SECRETHMAC key behind the attestation signature.SOLANA_DEVNET_RPC_URLSOLANA_FACILITATOR_URLSolana solana SOLANA_NETWORK=devnet for testing SOLANA_PAY_TO_ADDRESS (default https://facilitator.payai.network)SOLANA_FEE_PAYERSOLANA_NETWORKSolana solana =devnet for testing SOLANA_PAY_TO_ADDRESS SOLANA_FACILITATOR_URL (default https://facilitator.payai.network)SOLANA_PAY_TO_ADDRESSSolana solana SOLANA_NETWORK=devnet for testing SOLANA_FACILITATOR_URL (default https://facilitator.payai.network)SOLANA_PRIVATE_KEYbase58 or JSON-array secret key for the Solana rail. Optional; leave itSOLANA_RPC_URLused to build the SPL transfer. The public endpoint is heavily rate limited.X402_RAILServer-wide env =solanaX402_TIMEOUT_MSX402_TOOLS_CONFIG./config/tools.sandbox.json npx tsx examples/agent-client.tsPORTTool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
3/3 tools missing one or more hints — list_commerce_tools (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); spending_report (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); discover_service (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint). OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Tool inputs are validated
Only 1/3 tool handlers declare input schemas (33%)
Declare an inputSchema with zod/joi/yup on every tool definition.
Tool handlers catch errors
Only 1/3 tool handlers wrap calls in try/catch (33%)
Wrap each tool handler body in try/catch and return a structured error response.
Tests exist
No test files found
Add tests that exercise each declared tool.
Shell command execution
2 child_process calls — runs shell commands
Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.
Production dependencies are patched
0 critical, 3 high severity in production deps — @modelcontextprotocol/sdk@1.12.0 (high), @modelcontextprotocol/sdk@1.12.0 (high)
Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/nirholas/x402-mcp-commerce)?variant=verified from the URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check