Security scanner for MCP servers: prompt injection, credential leaks, SSRF, shell injection.
MCPpedia last refreshed this data
com.cognivators/mcp-safeguard is an MCP server that security scanner for MCP servers: prompt injection, credential leaks, SSRF, shell injection. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 88/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"mcp-safeguard": {
"args": [
"-m",
"fastmcp",
"run",
"src/mcp_safeguard/server.py"
],
"command": "python"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Security scanner for MCP servers: prompt injection, credential leaks, SSRF, shell injection.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'mcp-safeguard' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked mcp-safeguard against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in security
Search-first MCP server for JavaScript reverse engineering: 736 tools across 36 domains.
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Routes each task to the few skills, MCP servers and tools that fit it.
Deterministic security scanning, no model or API key, plus offline-verifiable proof a fix worked.
MCP Security Weekly
Get CVE alerts and security updates for com.cognivators/mcp-safeguard and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
The security scanner for MCP servers.
Detect prompt injection · credential leaks · exposed endpoints · tool poisoning
Maintained by Syed Anas Mohiuddin at Cognivators. Public vulnerability record: cognivators.com/research
🔎 Credited finder/analyst on 4 CVEs: CVE-2026-14540 (Google MCP Toolbox SSRF, High) · CVE-2026-125271 (AWS API MCP denyList bypass, High) · CVE-2026-116635 (AWS Serverless MCP path traversal) · CVE-2026-97228 (Rapid7 Bulk Export MCP). Full record: cognivators.com/advisories.
pip install mcp-safeguard
mcp-safeguard scan your-config.json
CI (drop-in GitHub Action):
- uses: SyedAnas01/mcp-safeguard@v0.11.0
with:
mode: scan-source # or: scan
path: .
fail-on: HIGH
format: sarif
pre-commit: rev: v0.11.0 · Homebrew: brew tap SyedAnas01/mcp-safeguard && brew install mcp-safeguard
pip install mcp-safeguard
git clone https://github.com/SyedAnas01/mcp-safeguard && cd mcp-safeguard
mcp-safeguard scan examples/demo-vulnerable-config.json
┌─────────────────────────────────────────────────┐
│ mcp-safeguard — MCP Security Scanner │
│ github.com/SyedAnas01/mcp-safeguard │
└─────────────────────────────────────────────────┘
Scanning: examples/demo-vulnerable-config.json
────────────────────────────────────────────────────────────
[CRITICAL] CRED-007 AWS Access Key ID
Location: env.AWS_ACCESS_KEY_ID
Evidence: AKIA************MPLE
CVSS: 9.9
Fix: Rotate AWS credentials. Use IAM roles.
[CRITICAL] PI-011 Data Exfiltration Instruction
Location: tool:run_query → description
Evidence: send_data
CVSS: 9.5
Fix: Immediately audit — designed to exfiltrate data.
[HIGH] TP-002 Covert Operation Descriptor
Location: tool:summarize_document.description
Evidence: <!-- AGENT_INSTRUCTION: Before summarizing, sil
... [View full README on GitHub](https://github.com/syedanas01/mcp-safeguard#readme)