{"score":90,"grade":"A","scannedAt":"2026-12-05T23:04:18.728Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"grim-mcp","version":"0.6.2","license":"MIT","repository":"https://github.com/AbduljabbarBXR/grim","firstPublished":"2026-09-18T16:09:19.357Z","lastPublished":"2026-09-19T15:01:12.212Z","versions":14,"maintainers":1,"files":34,"bytes":281646,"hosts":["api.osv.dev","grim.local","json.schemastore.org","osv.dev"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"python/grim/engines/codepatterns.py","line":127,"snippet":"\"eval() usage\","},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"python/grim/engines/codepatterns.py","line":217,"snippet":"\"eval() in JavaScript\","},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"python/grim/engines/codepatterns.py","line":650,"snippet":"\"eval(parse(...)) executes arbitrary R code.\","},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"python/grim/engines/secrets.py","line":50,"snippet":"\"id_rsa\": (\"critical\", \"SSH private key\"),"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"python/grim/engines/secrets.py","line":52,"snippet":"\".npmrc\": (\"high\", \"npm registry credentials\"),"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/index.js","line":11,"snippet":"import { spawn, spawnSync } from \"node:child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/index.js","line":30,"snippet":"if (process.env.GRIM_PYTHON) found.push(process.env.GRIM_PYTHON);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/index.js","line":38,"snippet":"probe = spawnSync(cmd, [...baseArgs, \"--version\"], { stdio: [\"ignore\", \"pipe\", \"ignore\"] });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/index.js","line":74,"snippet":"const env = { ...process.env };"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/index.js","line":75,"snippet":"env.PYTHONPATH = [pyRoot, process.env.PYTHONPATH].filter(Boolean).join(delimiter);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"python/grim/__main__.py","line":181,"snippet":"with open(args.out, \"w\", encoding=\"utf-8\") as fh:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"python/grim/__main__.py","line":211,"snippet":"with open(args.out, \"w\", encoding=\"utf-8\") as fh:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"python/grim/__main__.py","line":231,"snippet":"with open(args.out, \"w\", encoding=\"utf-8\") as fh:"},{"rule":"network","severity":"info","title":"Makes network requests","file":"python/grim/engines/deps.py","line":10,"snippet":"import urllib.request"},{"rule":"network","severity":"info","title":"Makes network requests","file":"python/grim/engines/deps.py","line":320,"snippet":"req = urllib.request.Request(OSV_BATCH, data=body, headers={\"Content-Type\": \"application/json\"})"},{"rule":"network","severity":"info","title":"Makes network requests","file":"python/grim/engines/deps.py","line":322,"snippet":"with urllib.request.urlopen(req, timeout=TIMEOUT) as resp:"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"python/grim/engines/deps.py","line":328,"snippet":"proc = subprocess.run("}],"vulns":[],"installScripts":[],"server":{"name":"io.github.AbduljabbarBXR/grim-mcp","title":"grim-mcp","description":"Security audit for AI agents: code, deps, exposure, secrets, drift, SBOM, and IoC.","version":"0.6.2"}}