MCP server safety grade
mcp-scan
Passive security scanner: audits MCP servers against the OWASP MCP Top 10, graded A-F.
npx -y owasp-mcp-scan · npm owasp-mcp-scan 0.2.1 · score 80/100 · scanned 2026-12-05
What it can do
- Not seen: Network access
- Yes: Writes or deletes files
- Not seen: 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/detectors/injection.js:40const INVISIBLE_RE = /[<U+200B>-<U+202A>-<U+202E><U+2060>-<U+FEFF>]/;
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/detectors/injection.js:30…pass)\b[^.!?\n]{0,50}\b(~\/\.|\.ssh|\.aws|\.env|credentials|id_rsa|private key|config file)\b/i, - Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
dist/checks/mcp06-resource-access.js:21…ile the server process can access (e.g. ../../etc/passwd, ~/.ssh/id_rsa, .env).`,
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-07-11 |
| This version published | 2026-07-11 |
| Versions | 2 |
| Maintainers | 1 |
| Licence | MIT |
| Source repository | none listed |
| Runs scripts on install | No |
| Files in package | 87 (152 KB) |
| Web addresses in code | json.schemastore.org |
Where we saw each capability (2 examples)
- Writes, moves or deletes files
dist/cli.js:179writeFileSync(opts.output, payload);
- Reads environment variables (where API keys usually live)
dist/connect.js:60env: { ...process.env, ...(target.env ?? {}) },
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-codingselim-mcp-scan)
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).