{"score":90,"grade":"A","scannedAt":"2026-12-05T22:58:12.592Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@grantor/mcp","version":"0.2.0","license":"SEE LICENSE IN LICENSE","firstPublished":"2026-08-21T06:31:18.207Z","lastPublished":"2026-09-01T16:49:01.949Z","versions":10,"maintainers":1,"files":27,"bytes":146943,"hosts":["basescan.org","chaingrantor.com","mcp.chaingrantor.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cli.js","line":196,"snippet":"const statePath = process.env[STATE_PATH_ENV] ?? defaultStatePath();"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/config.js","line":29,"snippet":"export function loadBrokerConfig({ configPath, env = process.env } = {}) {"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/verbs/demo.js","line":7,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/verbs/demo.js","line":106,"snippet":"rmSync(tmp, { recursive: true, force: true });"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/wrap/run.js","line":5,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/verbs/setup.js","line":64,"snippet":"const res = await fetch(rpcUrl, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/verbs/setup.js","line":146,"snippet":"…igPath, periods = 12, tier = 1, tenant, emitRpc, out, env = process.env, makeChainImpl }) {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/verbs/setup.js","line":266,"snippet":"writeFileSync(outPath, `${JSON.stringify(sandboxConfig, null, 2)}\\n`, { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/state.js","line":38,"snippet":"writeFileSync(tmp, JSON.stringify(state, grantorJsonReplacer, 2), { mode: 0o600 });"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/verbs/tools.js","line":8,"snippet":"import { spawn } from \"node:child_process\";"}],"vulns":[],"installScripts":[],"server":{"name":"com.chaingrantor/grantor-mcp","description":"Wrap any MCP server with enforced, bounded, revocable permissions — grant, narrow, check, revoke.","websiteUrl":"https://chaingrantor.com/docs/guide/mcp-broker.html","version":"0.2.0"}}