MCP server safety grade
PromptGuard
Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client
npx -y @promptguard/mcp-server · npm @promptguard/mcp-server 1.2.5 · score 100/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
- 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
None of the risk patterns we check for were found.
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-04-05 |
| This version published | 2026-11-13 |
| Versions | 10 |
| Maintainers | 1 |
| Licence | MIT |
| Source repository | github.com/promptguardhq/promptguard |
| Runs scripts on install | No |
| Files in package | 3 (6 KB) |
| Web addresses in code | docs.promptguard.co |
Where we saw each capability (8 examples)
- Runs shell commands or other programs
bin/run.js:22const { spawn, spawnSync } = require("node:child_process") - Runs shell commands or other programs
bin/run.js:44const probe = spawnSync(command, ["--version"], { stdio: "ignore", windowsHide: true }) - Reads environment variables (where API keys usually live)
bin/run.js:65? process.env.LOCALAPPDATA || path.join(os.homedir(), "AppData", "Local")
- Reads environment variables (where API keys usually live)
bin/run.js:66: process.env.XDG_CACHE_HOME || path.join(os.homedir(), ".cache")
- Makes network requests
bin/run.js:71const response = await fetch(url, { redirect: "follow" }) - Writes, moves or deletes files
bin/run.js:115fs.writeFileSync(partial, body, { mode: 0o755 }) - Writes, moves or deletes files
bin/run.js:116fs.renameSync(partial, binary)
- Reads environment variables (where API keys usually live)
bin/run.js:122let command = process.env.PROMPTGUARD_CLI
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/co-promptguard-security)
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).