CA

cisco-ai-defense/mcp-scanner

Security testing

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

1100 stars 153 forks 品質 81 トレンド 44Apache-2.0

潜在的な脅威やセキュリティの発見をMCPサーバーでスキャンしてください。

概要

MCP(モデルコンテキストプロトコル)サーバーおよび潜在的なセキュリティ発見のためのツールをスキャンするためのPythonツール。MCPスキャナーはCisco AI Defense inspect API、YARAルール、LLMas-a-jaidを組み合わせて悪意のあるMCPツールを検出します。 MCPスキャナーは、セキュリティ調査のためのMCPサーバーおよびツールのスキャンのための包括的なソリューションを提供します。3つの強力なスキャニングエンジン(Yara、LLM-as-judge、Cisco AI Defense)を活用し、単独または単独で使用できます。 このSDKは使いやすい設計でありながら、強力なスキャン機能、柔軟な認証オプション、カスタマイズ性を提供します。 - スキャナーをスタンドアロンのCLIツールまたはREST APIサーバーとして実行- : 3つのスキャンエンジンを必要に応じて同時にまたは独立して使用。- : pip-audit統合を用いて既知の脆弱性(CVE/PYSEC/GHSA)をPython依存関係でスキャン。- : 本番環境の準備状況(タイムアウト、再試行、エラー処理)に対する依存性ゼロの静的解析。

概要(AI 翻訳)

MCP(モデルコンテキストプロトコル)サーバーおよび潜在的なセキュリティ発見のためのツールをスキャンするためのPythonツールです。MCPスキャナーはCisco AI DefenseのインスペクションAPI、YARAルール、LLMベースの分析を組み合わせて悪意のあるMCPツールを検出します。

概要

MCPスキャナーは、MCPサーバーやセキュリティ調査ツールのスキャンのための包括的なソリューションを提供します。3つの強力なスキャニングエンジン(Yara、LLMベースの分析、Cisco AI Defense)を活用し、単独または併用可能です。

このSDKは使いやすい設計でありながら、強力なスキャン機能、柔軟な認証オプション、カスタマイズ性を提供します。

特徴

  • 複数モード: スキャナーをスタンドアロンのCLIツールまたはREST APIサーバーとして実行
  • マルチエンジンセキュリティ解析:必要に応じて3つのスキャンエンジンを一緒にまたは独立して使用してください。
  • 脆弱性パッケージスキャン:pip監査統合を用いて既知の脆弱性(CVE/PYSEC/GHSA)をPython依存関係でスキャンします。
  • 準備度スキャン:生産準備度の問題(タイムアウト、再試行、エラー処理)に対するゼロ依存性静的解析。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Scanner

A Python tool for scanning MCP (Model Context Protocol) servers and tools for potential security findings. The MCP Scanner combines Cisco AI Defense inspect API, YARA rules and LLM-based analysis to detect malicious MCP tools.

Overview

The MCP Scanner provides a comprehensive solution for scanning MCP servers and tools for security findings. It leverages three powerful scanning engines (Yara, LLM-based analysis, Cisco AI Defense) that can be used together or independently.

The SDK is designed to be easy to use while providing powerful scanning capabilities, flexible authentication options, and customization.

Features

  • Multiple Modes: Run scanner as a stand-alone CLI tool or REST API server
  • Multi-Engine Security Analysis: Use all three scanning engines together or independently based on your needs.
  • Vulnerable Packages Scanning: Scan Python dependencies for known vulnerabilities (CVE/PYSEC/GHSA) using pip-audit integration.
  • Readiness Scanning: Zero-dependency static analysis for production readiness issues (timeouts, retries, error handling).
  • Comprehensive Scanning: Scan MCP tools, prompts, resources, and server instructions for security findings
  • Behavioural Code Scanning: Scan Source code of MCP servers for finding threats.
  • VirusTotal Binary Scanning: Automatically detect malware in binary files (images, PDFs, executables, archives) bundled with MCP servers using VirusTotal hash lookups.
  • PyPI Package Scanning: Download and scan PyPI packages inside a Docker sandbox with behavioral analysis.
  • Behavioural Code Scanning: Scan Source code of MCP servers for detecting threats.
  • Static/Offline Scanning: Scan pre-generated JSON files without live server connections - perfect for CI/CD pipelines and air-gapped environments
  • Explicit Authentication Control: Fine-grained control over authentication with explicit Auth parameters.
  • OAuth Support: Full OAuth authentication support for both SSE and streamable HTTP connections.
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →