{"score":80,"grade":"B","scannedAt":"2026-12-05T23:10:13.007Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@guardbee/mcp-model-scanner","version":"0.4.1","license":"MIT","repository":"https://github.com/GuardBee/guardbee-mcp","firstPublished":"2026-09-23T10:53:04.882Z","lastPublished":"2026-12-04T12:21:30.373Z","versions":11,"maintainers":1,"files":44,"bytes":182083,"hosts":["guardbee.ai","huggingface.co"]},"capabilities":{"network":false,"files":true,"shell":false,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/dangerousGlobals.js","line":252,"snippet":"recommendation: \"dill evaluates a repr string with eval() while loading.\","},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/dangerousGlobals.js","line":294,"snippet":"recommendation: \"dill evaluates a repr string with eval() while loading (dill < 0.3).\","},{"rule":"bidi","severity":"medium","title":"Hidden text-direction characters outside a string, which can make code look different from what runs (Trojan Source)","file":"dist/ggufScanner.js","line":27,"snippet":"const HIDDEN_CHARS = /[<U+200B>-‏<U+202A>-<U+202E><U+2060>-⁤<U+FEFF>]|[\\u{E0000}-\\u{E007F}]/u;"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/safetensorsScanner.js","line":52,"snippet":"… some other downstream code path (e.g. a custom loader that eval()s a metadata field), this content is worth a manual look.\", filePath));"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/hf.js","line":30,"snippet":"let endpoint = options.endpoint ?? process.env.HF_ENDPOINT ?? \"https://huggingface.co\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/hf.js","line":33,"snippet":"const token = options.token ?? process.env.HF_TOKEN ?? process.env.HUGGING_FACE_HUB_TOKEN;"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/hf.js","line":128,"snippet":"rmSync(dir, { recursive: true, force: true });"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.GuardBee/model-scanner","description":"Scans ML model files (PyTorch, joblib, NumPy, GGUF, TensorFlow…) and HF repos for supply-chain risks","repository":"https://github.com/GuardBee/guardbee-mcp","version":"0.4.1"}}