- ✓Actively maintained (<30d)
- ✓Topics declared
- ✓Documented (README)
- !No standard license detected
- !No description
claude mcp add mcp-security-auditor -- uvx mcp-security-auditor{
"mcpServers": {
"mcp-security-auditor": {
"command": "uvx",
"args": ["mcp-security-auditor"]
}
}
}MCP Servers overview
# MCP Security Scanner & Vulnerability Auditor | Zero-Trust AI Agent Shield
[](https://apify.com/neon_innovation_lab/mcp-security-auditor)
⚡ **Run directly on Apify Cloud**: [MCP Security Auditor](https://apify.com/neon_innovation_lab/mcp-security-auditor)
👉 **Companion Open-Source Repo**: [github.com/Ansarii/mcp-security-auditor](https://github.com/Ansarii/mcp-security-auditor)
[](https://modelcontextprotocol.io)
[](https://cwe.mitre.org/)
[](https://neoninnovationlab.com/tools/mcp-security-scanner)
Giving an autonomous AI agent access to a third-party **Model Context Protocol (MCP)** server provides enormous productivity—and severe security risk. Vulnerable MCP tools expose agent runtimes to remote code execution (RCE), arbitrary file exfiltration, and prompt injection attacks.
This Actor is a **zero-execution static AST security scanner** for MCP servers. Before connecting any public or private server to **Claude Desktop**, **Cursor IDE**, or an enterprise agent fleet, scan it here to obtain a verified **Trust Score (0–100)**, Letter Grade, and line-by-line CWE remediation plan.
---
## 🛡️ Why Use This Actor?
Following 30+ CVE disclosures against community MCP servers in 2025 and 2026, enterprise security standards strictly prohibit connecting unverified servers to developer environments or corporate databases.
Unlike dangerous runtime scanners that execute arbitrary `stdio` binaries (creating direct RCE risks on the scanning host), this Actor uses **pure static Abstract Syntax Tree (AST) analysis**. It inspects Python, TypeScript, and JSON-RPC implementations without ever executing untrusted code.
---
## 🌍 Global Enterprise & Regional Compliance (GEO Targeting)
### 🇺🇸 North America (Silicon Valley, New York, Seattle, Austin)
- **SOC 2 Type II Compliance**: Satisfies CC6.6 and CC6.8 controls by maintaining an immutable static audit log before onboarding third-party agent tools.
- **Enterprise Secret Shield**: Discovers hardcoded AWS keys (`AKIA...`), OpenAI API keys, and corporate service credentials buried in tool repos.
### 🇪🇺 Europe & 🇬🇧 United Kingdom (London, Berlin, Paris, Amsterdam)
- **EU AI Act Article 15 (Cybersecurity & Resilience)**: Generates the mandatory risk assessment documentation and static vulnerability reports required for enterprise AI software.
- **GDPR Article 32 (Security of Processing)**: Ensures MCP servers connecting to European customer data do not expose unauthorized file system read/write primitives.
### 🌏 Asia-Pacific & 🇮🇳 India (Singapore, Tokyo, Sydney, Bengaluru, Hyderabad)
- **Offshore Development Quality Gate**: Audits tools developed by third-party contractors before deployment to production agent clusters.
- **Cross-Border Security Verification**: Guarantees external MCP tools do not transmit internal environment variables or telemetry to untrusted third-party hosts.
---
## 🔍 Vulnerability Checks Covered
| Rule ID | Severity | CWE | Vulnerability Category | Description & Impact |
| :--- | :--- | :--- | :--- | :--- |
| **MCP-SEC-001** | CRITICAL | **CWE-78** | **Command Injection** | Detects `subprocess.run(shell=True)`, `os.system()`, and unsanitized string formatting passed to shell interpreters. |
| **MCP-SEC-002** | HIGH | **CWE-22** | **Path Traversal / Arbitrary File Access** | Detects file tools lacking strict path canonicalization (`Path.is_relative_to()`), ZipSlip/TarSlip vulnerabilities, and unbounded directory crawls. |
| **MCP-SEC-003** | CRITICAL | **CWE-798** | **Hardcoded Secrets & API Keys** | Identifies leaked OpenAI, Anthropic, AWS, GitHub, Stripe, and Slack tokens, and flags tools exporting raw `os.environ`. |
| **MCP-SEC-004** | HIGH | **CWE-306** | **Unauthenticated Remote Transport** | Flags SSE or HTTP servers binding to `0.0.0.0` without bearer tokens or mutual TLS authentication. |
| **MCP-SEC-005** | HIGH | **CWE-1384** | **Tool Poisoning & Prompt Injection** | Flags adversarial instructions, hidden unicode homoglyphs, and jailbreaks embedded inside tool docstrings or schemas. |
---
## 📥 Input Configuration
```json
{
"repositoryUrls": [
"https://github.com/modelcontextprotocol/servers"
],
"subDirectories": [
"src/everything",
"src/fetch"
],
"minimumPassScore": 80
}
```
- **`repositoryUrls`** *(Required, Array)*: List of public Git URLs for the MCP server repositories to audit.
- **`subDirectories`** *(Optional, Array)*: Specific subdirectories to audit individually (ideal for monorepos).
- **`minimumPassScore`** *(Optional, Integer, Default: `80`)*: The minimum score (0–100) required to achieve a passing audit grade.
---
## 📤 Output & Audit Artifacts
### 1. Structured Dataset Records
Each audited server produces a structured JSON record containing:
- `trust_score`: Score from `0` to `100`.
- `grade`: Security letter grade (`A+`, `A`, `B`, `C`, `F`).
- `passed`: Boolean indicating whether the score meets `minimumPassScore`.
- `findings`: Array of detailed findings with file paths, line numbers, CWE IDs, code snippets, and remediation steps.
### 2. Downloadable Markdown Report
The full human-readable audit report is saved to the run's default Key-Value store under **`OUTPUT_REPORT.md`**.
---
## 🌐 Free Online Interactive Scanner
Test single repositories in real time using our free interactive tool:
**[https://neoninnovationlab.com/tools/mcp-security-scanner](https://neoninnovationlab.com/tools/mcp-security-scanner)**
What people ask about mcp-security-auditor
What is Ansarii/mcp-security-auditor?
+
Ansarii/mcp-security-auditor is mcp servers for the Claude AI ecosystem with 0 GitHub stars.
How do I install mcp-security-auditor?
+
You can install mcp-security-auditor by cloning the repository (https://github.com/Ansarii/mcp-security-auditor) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is Ansarii/mcp-security-auditor safe to use?
+
Our security agent has analyzed Ansarii/mcp-security-auditor and assigned a Trust Score of 60/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains Ansarii/mcp-security-auditor?
+
Ansarii/mcp-security-auditor is maintained by Ansarii. The last recorded GitHub activity is dated 2026-09-12, with 0 open issues.
Are there alternatives to mcp-security-auditor?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy mcp-security-auditor to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/ansarii-mcp-security-auditor)<a href="https://claudewave.com/repo/ansarii-mcp-security-auditor"><img src="https://claudewave.com/api/badge/ansarii-mcp-security-auditor" alt="Featured on ClaudeWave: Ansarii/mcp-security-auditor" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.