{"score":100,"grade":"A","scannedAt":"2026-12-05T23:02:31.271Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@paidfor/mcp","version":"0.7.8","license":"MIT","repository":"https://github.com/sarmadahsan/paidfor-index","firstPublished":"2026-10-28T19:54:03.573Z","lastPublished":"2026-11-24T19:15:53.571Z","versions":18,"maintainers":1,"files":32,"bytes":374455,"hosts":["basescan.org","mainnet.base.org","mcp.paidfor.dev","paidfor.dev"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/clients.js","line":344,"snippet":"await writeFile(bak, await readFile(real), { flag: \"wx\", mode: mode & ~0o077 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/clients.js","line":376,"snippet":"await writeFile(tmp, text, { mode });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/clients.js","line":378,"snippet":"await rename(tmp, real);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/http.js","line":8,"snippet":"const port = Number(process.env.PORT ?? 3402);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/http.js","line":48,"snippet":"…dfor MCP (streamable http) listening on :${port}, reading ${process.env.PAIDFOR_URL ?? \"https://paidfor.dev\"}`);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.js","line":17,"snippet":"const base = (process.env.PAIDFOR_API_BASE ?? process.env.PAIDFOR_URL ?? DEFAULT_BASE).replace(/\\/$/, \"\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/index.js","line":27,"snippet":"fetch(`${base}/v1/summary`, { headers: { Accept: \"application/json\", \"User-Agent\": `paidfor-mcp/${VERSION}`, \"X-Paidfor-Client\": HOSTED_CLIENT_HEADER } })"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/init.js","line":9,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/init.js","line":961,"snippet":"const res = await d.fetch(`${baseUrl}/v1/check?url=${encodeURIComponent(VERIFY_HOST)}`, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/server.js","line":181,"snippet":"const res = await fetch(url, { headers: { Accept: \"application/json\", \"User-Agent\": `paidfor-mcp/${VERSION}`, \"X-Paidfor-Client\": client } });"}],"vulns":[],"installScripts":[],"server":{"name":"dev.paidfor/paidfor","title":"paidfor","description":"Check an x402 seller before paying: verdict, failure rate and evidence from paid calls on Base.","websiteUrl":"https://paidfor.dev/install","repository":"https://github.com/sarmadahsan/paidfor-index","version":"0.7.8"}}