MCP, MCP server
X402 Payments Mcp
X402 Payments Mcp, an MCP server listed in the PlugVet directory.
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.
INSTALL_UNPINNED NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- INSTALL_UNPINNED Low
Dependencies use a range or git URL with no lockfile.
package.json, line 58
@modelcontextprotocol/sdk - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/lib/api.js, line 18
res = await fetch(url, { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.gitignore, line 2
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/tools/pay-and-call.js, line 73
const sessionToken = args?.session_token || process.env.PAYMENT_SESSION_TOKEN || '';
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
Concern
dependencies are not pinned.
INSTALL_UNPINNED
package.json, line 58
@modelcontextprotocol/sdk
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
src/lib/api.js, line 18
res = await fetch(url, {
src/lib/x402-buyer.js, line 54
const res = await globalThis.fetch(input, init);
src/lib/x402-buyer.js, line 161
res = await fetch(url, {
Show more
src/tools/pay-and-call.js, line 92
res = await fetch(`${THREE_WS_BASE}/api/pay/execute`, {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/tools/pay-and-call.js, line 73
const sessionToken = args?.session_token || process.env.PAYMENT_SESSION_TOKEN || '';
.gitignore, line 1
node_modules/
.gitignore, line 2
.env
Show more
.gitignore, line 4
!.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 58c46f22ca2a. dependencies are not pinned. 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: 58c46f22ca2aea637ee8ea49fb42adf6968a6003
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.