MCP server safety grade
grim-mcp
Security audit for AI agents: code, deps, exposure, secrets, drift, SBOM, and IoC.
npx -y grim-mcp · npm grim-mcp 0.6.2 · 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
- Yes: 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
- Builds and runs code at runtime
python/grim/engines/codepatterns.py:127"eval() usage",
- Builds and runs code at runtime
python/grim/engines/codepatterns.py:217"eval() in JavaScript",
- Builds and runs code at runtime
python/grim/engines/codepatterns.py:650"eval(parse(...)) executes arbitrary R code.",
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)
python/grim/engines/secrets.py:50"id_rsa": ("critical", "SSH private key"), - Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
python/grim/engines/secrets.py:52".npmrc": ("high", "npm registry credentials"),
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-09-18 |
| This version published | 2026-09-19 |
| Versions | 14 |
| Maintainers | 1 |
| Licence | MIT |
| Source repository | github.com/AbduljabbarBXR/grim |
| Runs scripts on install | No |
| Files in package | 34 (275 KB) |
| Web addresses in code | api.osv.dev grim.local json.schemastore.org osv.dev |
Where we saw each capability (12 examples)
- Runs shell commands or other programs
src/index.js:11import { spawn, spawnSync } from "node:child_process"; - Reads environment variables (where API keys usually live)
src/index.js:30if (process.env.GRIM_PYTHON) found.push(process.env.GRIM_PYTHON);
- Runs shell commands or other programs
src/index.js:38probe = spawnSync(cmd, [...baseArgs, "--version"], { stdio: ["ignore", "pipe", "ignore"] }); - Reads environment variables (where API keys usually live)
src/index.js:74const env = { ...process.env }; - Reads environment variables (where API keys usually live)
src/index.js:75env.PYTHONPATH = [pyRoot, process.env.PYTHONPATH].filter(Boolean).join(delimiter);
- Writes, moves or deletes files
python/grim/__main__.py:181with open(args.out, "w", encoding="utf-8") as fh:
- Writes, moves or deletes files
python/grim/__main__.py:211with open(args.out, "w", encoding="utf-8") as fh:
- Writes, moves or deletes files
python/grim/__main__.py:231with open(args.out, "w", encoding="utf-8") as fh:
- Makes network requests
python/grim/engines/deps.py:10import urllib.request
- Makes network requests
python/grim/engines/deps.py:320req = urllib.request.Request(OSV_BATCH, data=body, headers={"Content-Type": "application/json"}) - Makes network requests
python/grim/engines/deps.py:322with urllib.request.urlopen(req, timeout=TIMEOUT) as resp:
- Runs shell commands or other programs
python/grim/engines/deps.py:328proc = subprocess.run(
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-abduljabbarbxr-grim-mcp)
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).