MS

makalin/securemcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

140 stars 19 forks 품질 49 트렌드 16MIT

makalin/securemcp는 https://github.com/makalin/securemcp.에서 가져온 MCP 서버 후보입니다.

개요

makalin/securemcp는 https://github.com/makalin/securemcp.에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

SecureMCP는 모델 컨텍스트 프로토콜(MCP)을 사용하여 애플리케이션의 취약점과 잘못 구성을 탐지하기 위해 설계된 포괄적인 보안 감사 도구입니다. OAuth 토큰 유출, 프롬프트 인젝션 취약점, 악성 MCP 서버, 툴 중독 공격과 같은 위협을 사전에 식별합니다.


🛡️ 특징

오 오스 토큰 스캐너

  • 토큰 형식 검증 및 보안 검사
  • 만료 및 범위 분석
  • 스토리지 보안 평가
  • 토큰 엔드포인트 검증
  • JWT 토큰 분석

프롬프트 인젝션 테스터

  • 다중 주입 페이로드 유형
  • 다양한 주입 위치 시험
  • 반응 분석
  • 시스템 프롬프트 오버라이드 감지
  • 역할 혼동 공격 탐지

인증 및 서버 무결성 검사

  • SSL/TLS 구성 검증
  • 인증 방법 테스트
  • 보안 헤더 검증
  • 서버 보안 평가
  • HSTS 및 CSP 검증

보고서 생성

  • HTML 및 JSON 보고서 형식
  • 취약성 분류
  • 심각도 평가
  • 정화 제안
  • 요약 통계

👨 💻 누가 SecureMCP를 사용해야 할까요?

  • 애플리케이션에 MCP를 통합하는 AI 개발자
  • AI 모델 상호작용을 보호하는 보안 팀

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

SecureMCP

SecureMCP is a comprehensive security auditing tool designed to detect vulnerabilities and misconfigurations in applications using the Model Context Protocol (MCP). It proactively identifies threats like OAuth token leakage, prompt injection vulnerabilities, rogue MCP servers, and tool poisoning attacks.


🛡️ Features

OAuth Token Scanner

  • Token format validation and security checks
  • Expiration and scope analysis
  • Storage security assessment
  • Token endpoint validation
  • JWT token analysis

Prompt Injection Tester

  • Multiple injection payload types
  • Various injection positions testing
  • Response analysis
  • System prompt override detection
  • Role confusion attack detection

Authentication & Server Integrity Check

  • SSL/TLS configuration validation
  • Authentication method testing
  • Security header verification
  • Server security assessment
  • HSTS and CSP validation

Report Generation

  • HTML and JSON report formats
  • Vulnerability classification
  • Severity assessment
  • Remediation suggestions
  • Summary statistics

👨‍💻 Who Should Use SecureMCP?

  • AI Developers integrating MCP in applications
  • Security teams securing AI model interactions
  • DevSecOps engineers embedding MCP in CI/CD pipelines
  • Researchers studying AI model vulnerabilities
  • Security auditors assessing MCP implementations

🚀 Getting Started

Prerequisites

  • Go 1.21+
  • Docker (optional, for containerized deployment)
  • Node.js (for dashboard UI)

Installation

From Source

git clone https://github.com/makalin/SecureMCP.git
cd SecureMCP
make build

Using Docker

docker pull makalin/SecureMCP

Basic Usage

Command Line

# Basic scan
./securemcp scan --target https://your-mcp-server.com

# Scan with specific options
./securemcp scan --target https://your-mcp-server.com \
    --scan-oauth \
    --scan-prompt-injection \
    --scan-authentication \
    --timeout 30s

# Generate HTML report
./securemcp scan --target https://your-mcp-server.com --report html

# Generate JSON report
./securemcp scan --target https://your-mcp-server.com --report json

Programmatic Usage

import "github.com/makalin/SecureMCP/internal/scanner"

// Create scanner instance
scanner := scanner.NewScanner()

// Basic scan
results, err := scanner.Scan("https://your-mcp-server.com")

// Scan with options
options := &scanner.ScanOptions{
    ScanOAuth:           true,
    ScanPromptInjection: true,
    ScanAuthentication:  true,
    TestPrompt:          "your test prompt",
    Timeout:             30 * time.Second,
}
results, err := scanner.ScanWithOptions(target, options)

Report Generation

import "github.com/makalin/SecureMCP/internal/report"

// Create report generator
generator := report.NewReportGenerator("reports")

// Generate report
report, err := generator.GenerateReport(target, results)

// Save as HTML
GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →