{"score":100,"grade":"A","scannedAt":"2026-12-05T22:57:32.683Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@promptguard/mcp-server","version":"1.2.5","license":"MIT","repository":"https://github.com/promptguardhq/promptguard","firstPublished":"2026-04-05T11:25:13.483Z","lastPublished":"2026-11-13T03:35:56.221Z","versions":10,"maintainers":1,"files":3,"bytes":5957,"hosts":["docs.promptguard.co"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/run.js","line":22,"snippet":"const { spawn, spawnSync } = require(\"node:child_process\")"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/run.js","line":44,"snippet":"const probe = spawnSync(command, [\"--version\"], { stdio: \"ignore\", windowsHide: true })"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/run.js","line":65,"snippet":"? process.env.LOCALAPPDATA || path.join(os.homedir(), \"AppData\", \"Local\")"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/run.js","line":66,"snippet":": process.env.XDG_CACHE_HOME || path.join(os.homedir(), \".cache\")"},{"rule":"network","severity":"info","title":"Makes network requests","file":"bin/run.js","line":71,"snippet":"const response = await fetch(url, { redirect: \"follow\" })"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"bin/run.js","line":115,"snippet":"fs.writeFileSync(partial, body, { mode: 0o755 })"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"bin/run.js","line":116,"snippet":"fs.renameSync(partial, binary)"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/run.js","line":122,"snippet":"let command = process.env.PROMPTGUARD_CLI"}],"vulns":[],"installScripts":[],"server":{"name":"co.promptguard/security","title":"PromptGuard","description":"Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client","websiteUrl":"https://promptguard.co","repository":"https://github.com/promptguardhq/promptguard","version":"1.2.5"}}