MCP server safety grade
MCPVetter
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
npx -y mcpvetter · npm mcpvetter 0.1.3 · score 90/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Not seen: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Hidden text-direction characters outside a string, which can make code look different from what runs (Trojan Source)
dist/scanner/rules/live.js:84const INVISIBLE = /[\u{E0000}-\u{E007F}<U+200B>-<U+202A>-<U+202E><U+2060>-<U+2066>-<U+2069><U+FEFF>]/u;
Worth knowing
Not scored. Often harmless (security tools, denylists and chat bots mention these too), shown so you can judge.
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
dist/scanner/rules/live.js:25…:ssh|aws|gnupg|kube|docker)\b|\bid_(?:rsa|ed25519|ecdsa)\b|\.npmrc\b|\.netrc\b|\bcredentials\.json\b/i, label: "references credential files" },
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-11-03 |
| This version published | 2026-11-03 |
| Versions | 5 |
| Maintainers | 1 |
| Licence | MIT |
| Source repository | github.com/jaablon/mcpvetter |
| Runs scripts on install | No |
| Files in package | 71 (195 KB) |
| Web addresses in code | api.fixed.com mcpvetter.com |
Where we saw each capability (10 examples)
- Writes, moves or deletes files
dist/cli.js:87writeFileSync(jsonOut, body);
- Writes, moves or deletes files
dist/cli.js:156writeFileSync(join(stateDir(), "accept.log"), `${new Date().toISOString()}\t${name}\t${values.reason.replace(/\s+/g, " ")}\n`, { flag: "a" }); - Writes, moves or deletes files
dist/cli.js:205writeFileSync(p, JSON.stringify({ ...cfg, apiKey: key }, null, 2), { mode: 0o600 }); - Reads environment variables (where API keys usually live)
dist/scanner/discover.js:9? process.env.APPDATA ?? join(home, "AppData", "Roaming")
- Reads environment variables (where API keys usually live)
dist/scanner/discover.js:10: process.env.XDG_CONFIG_HOME ?? join(home, ".config");
- Reads environment variables (where API keys usually live)
dist/scanner/fingerprint.js:38return process.env.MCPVETTER_HOME ?? join(homedir(), ".mcpvetter");
- Runs shell commands or other programs
dist/code/rules/llmout.js:13{ kind: "shell command", re: /(?:(?<![\w.])|\b(?:child_process|childProcess|cp)\.)(?:execSync|exec|spawnSync|spawn|execFileSync)\s*\(|\bos\.system\s*\(|\bos - Runs shell commands or other programs
dist/code/rules/llmout.js:27…l, Markup), eval / exec / new Function, a shell call (exec, execSync, spawn, os.system, subprocess with shell=True), a raw SQL call, or a file write path. Lines
- Makes network requests
dist/mcp/local-backend.js:40const res = await fetch(`${this.origin}${path}`, { - Makes network requests
dist/code/rules/ssrf.js:41method: "Flags outbound HTTP calls (fetch, axios, got, http.get, requests, httpx, urllib urlopen, client.get) whose URL argument is request input or model o
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/com-mcpvetter-mcpvetter)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).