Token导航 LogoToken导航TokenDH.com
MCP Sentinel Scanner logo
安全风控stdio官方级别未说明来源级核验

MCP Sentinel Scanner

MCP Server

MCP Sentinel Scanner 是一款企业级安全分析工具,结合静态分析、AST检查、污点分析和语义启发式方法,提供多语言支持和7层安全分析,适用于代码漏洞检测和CI/CD集成。

工具数

3

提示词数

0

GitHub Stars

0

资源数

0
安全分析静态分析Python漏洞检测

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

GeeksikhSecurity

提供方

GeeksikhSecurity

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install mcp-sentinel-scanner

详细介绍

🛡️ MCP哨兵扫描仪

![CI](https://github.com/mcp-security/mcp-sentinel-scanner/actions) ![Coverage](https://github.com/mcp-security/mcp-sentinel-scanner) ](https://github.com/mcp-security/mcp-sentinel-scanner/releases) ![License](LICENSE) ![Security](https://github.com/mcp-security/mcp-sentinel-scanner) ![OpenSSF Scorecard](https://securityscorecards.dev/viewer/?uri=github.com/GeeksikhSecurity/mcp-sentinel-scanner)

🚀 Enterprise-Grade MCP Security Scanner v2.1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 Multi-Tool Orchestration  │  🎯 100% False Positive Elimination
📊 1,400+ Files/Second       │  🛡️ 7-Layer Security Analysis
🌐 Multi-Language Support    │  📈 Enterprise Scaling Ready
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

MCP哨兵扫描仪 是一种受研究启发的安全分析工具,旨在保护模型上下文协议(MCP)基础设施。它结合了静态分析、AST检查、污染分析和语义启发式,以企业级的准确性检测漏洞。

✨ 主要特点

🎯 Core Capabilities Dashboard
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 Multi-Tool Orchestration:  [████████████████████████████████████████] 100%
📊 False Positive Reduction:  [████████████████████████████████████████] 100%
🚀 Performance Optimization:  [████████████████████████████████████████] 20x
🛡️ Security Analysis Depth:  [████████████████████████████████████████] 7 layers
🌐 Language Support:          [████████████████████████████████████████] 5 langs
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🚀 性能和规模

  • 🔍 多工具编排 -TruffleLog、Semgrep、CodeQL集成
  • 超快速扫描 -1400+文件/秒(提高20倍)
  • 🎯 完美的准确性 -100%消除假阳性
  • 🌐 多语言 -Python、TypeScript、JavaScript、Go、Rust

🛡️ 高级安全

  • 📊 攻击成功率(ASR) -在0-1的范围内量化开发可行性
  • 🔬 7层分析 -模式、AST、污点、语义、上下文、ML、行为
  • 🎯 上下文感知检测 -导入分析、测试上下文、占位符过滤
  • 🛡️ 企业功能 -批处理、资源管理、合规性

🔄 集成与部署

  • 📄 5种输出格式 -终端、JSON、Markdown、SARIF、HTML
  • 🐳 Docker就绪 -预构建映像,便于部署
  • 🔄 CI/CD集成 -GitHub Actions、Jenkins、Bitbucket管道
  • 📈 企业仪表盘 -实时指标、趋势分析、合规性

🏗️ 系统架构

┌─────────────────────────────────────────────────────────────────┐
│  🛡️ MCP Sentinel Scanner v2.1 - Enterprise Architecture       │
│                                                                 │
│  ┌─────────────┐   ┌─────────────┐   ┌─────────────┐          │
│  │ 🔍 Multi-Tool│ → │ 🎯 Context  │ → │ 📊 Result   │          │
│  │ Orchestrator│   │ Analyzer    │   │ Aggregator  │          │
│  └─────────────┘   └─────────────┘   └─────────────┘          │
│         │                   │                   │              │
│  ┌─────────────┐   ┌─────────────┐   ┌─────────────┐          │
│  │ 🛠️ TruffleHog│   │ 🔬 Semgrep  │   │ 🧠 CodeQL   │          │
│  │   Secrets   │   │  Patterns   │   │  Analysis   │          │
│  └─────────────┘   └─────────────┘   └─────────────┘          │
│                                                                 │
│  ┌─────────────────────────────────────────────────────────┐   │
│  │ 🎯 False Positive Reduction Pipeline                   │   │
│  │  📝 Import → 🧪 Test → 📋 Placeholder → ✅ Validated  │   │
│  └─────────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────────┘

📊 仪表盘

🚀 Real-Time Performance Metrics
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Scan Speed:         [████████████████████████████████████████] 1,400 files/sec
🎯 Accuracy Rate:      [████████████████████████████████████████] 100% (0% FP)
🔍 Detection Depth:    [████████████████████████████████████████] 7 layers
💾 Memory Efficiency:  [████████████████████████████████████████] 95% optimized
🌐 Language Coverage:  [████████████████████████████████████████] 5 languages
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎨 查看交互式安全信息图 -视觉指南的特点是:

里面是什么:

  • 🏗️ 架构图 -多工具编排管道可视化
  • 📊 检测能力 -交互式Chart.js图表显示9种漏洞类型的ASR得分
  • 🔄 部署工作流 -本地和CI/CD扫描的分步视觉指南
  • 📈 项目统计 -52次测试,100%准确,1400多个文件/秒仪表板
  • 安全检查列表 -MCP服务器强化的12个最佳实践
  • 🚀 快速部署 -带有语法高亮显示的Docker、pip和CI/CD代码示例
  • 🗺️ 发展路线图 -带有进度指标的4阶段时间表

🚀 快速开始

pip安装(推荐)

# Install latest version
pip install mcp-sentinel-scanner

# Basic scan
mcp-scan /path/to/code

# Unified scan with all tools
mcp-scan /path/to/code --unified --format html -o report.html

码头工人

# Pull and run
docker pull ghcr.io/mcp-security/mcp-sentinel-scanner:latest
docker run --rm -v $(pwd):/scan ghcr.io/mcp-security/mcp-sentinel-scanner:latest /scan --unified

# Generate HTML report
docker run --rm -v $(pwd):/scan -v $(pwd)/reports:/reports \
  ghcr.io/mcp-security/mcp-sentinel-scanner:latest \
  /scan --unified --format html -o /reports/security-report.html

开发设置

# Clone repository
git clone https://github.com/mcp-security/mcp-sentinel-scanner.git
cd mcp-sentinel-scanner

# Install in development mode
pip install -e ".[dev]"

# Run tests
make test

# Run unified scan
python -m scripts.sentinel_cli /path/to/code --unified

👉 看 快速启动.md 更多选项

📊 输出格式

格式用例命令
终端交互式使用--format terminal (默认)
超文本标记语言报告、仪表板--format html -o report.html
JSONAPI集成--format json -o results.json
萨里夫IDE、GitHub安全--format sarif -o results.sarif
标记语言文件--format markdown -o report.md

🐳 Docker使用

# Basic scan
docker run --rm -v $(pwd):/scan ghcr.io/mcp-security/mcp-sentinel-scanner:latest /scan

# With exclusions
docker run --rm -v $(pwd):/scan \
  ghcr.io/mcp-security/mcp-sentinel-scanner:latest \
  /scan --exclude "node_modules" "*.d.ts" "dist"

# Multiple formats
docker run --rm -v $(pwd):/scan -v $(pwd)/reports:/reports \
  ghcr.io/mcp-security/mcp-sentinel-scanner:latest \
  /scan --format html -o /reports/report.html

# Using docker-compose
docker-compose up scanner

🔄 CI/CD集成

GitHub操作

- name: Security Scan
  run: |
    docker run --rm -v ${{ github.workspace }}:/scan \
      ghcr.io/mcp-security/mcp-sentinel-scanner:latest \
      /scan --format sarif -o results.sarif

- uses: github/codeql-action/upload-sarif@v2
  with:
    sarif_file: results.sarif

詹金斯

stage('Security Scan') {
    steps {
        sh 'docker run --rm -v ${WORKSPACE}:/scan ghcr.io/mcp-security/mcp-sentinel-scanner:latest /scan'
    }
}

👉 完整指南: docs/DEPLOYMENT_GUIDE.md

⚙️ 配置

创建 config.json:

{
  "exclude": ["node_modules", "*.d.ts", "dist", ".git"],
  "severity_threshold": "HIGH",
  "parallel_workers": 4
}

使用它:

mcp-scan /path --config config.json

📚 文档

入门指南

建筑与开发

报告与分析

研究与基金会

🎯 功能和检测能力

🛡️ Vulnerability Detection Matrix (ASR Scores) - v2.1 Enhanced
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Vulnerability Type           ASR Score  Detection  Status   Tools
──────────────────────────────────────────────────────────────────────
🔥 Code Injection            ██████████  0.98      ✅       🔍🧠🛠️
🔐 Hardcoded Secrets         ██████████  0.96      ✅       🛠️🔍
⚡ Command Injection         ██████████  0.95      ✅       🔍🧠
📁 Path Traversal           █████████░  0.92      ✅       🔍🧠
🗃️ SQL Injection            █████████░  0.90      ✅       🔍🧠
📦 Insecure Deserialization █████████░  0.88      ✅       🔍🧠
🌐 XSS Vulnerabilities      █████████░  0.87      ✅       🔍🧠
🔒 Weak Cryptography        ████████░░  0.85      ✅       🔍🧠
🔓 Authentication Bypass    ████████░░  0.83      ✅       🧠🎯
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 = Semgrep  🧠 = CodeQL  🛠️ = TruffleHog  🎯 = Context Analysis

🔬 7层分析管道

┌─────────────────────────────────────────────────────────────────┐
│  🛡️ Multi-Layer Security Analysis Pipeline                     │
│                                                                 │
│  Layer 1: 🔍 Pattern Matching    → Static vulnerability patterns│
│  Layer 2: 🌳 AST Analysis        → Code structure inspection   │
│  Layer 3: 🛠️ Secret Detection    → Entropy-based secret finding│
│  Layer 4: 🧠 Taint Analysis      → Data flow vulnerability     │
│  Layer 5: 🎯 Context Analysis    → Import/test/placeholder     │
│  Layer 6: 🤖 ML Anomaly          → Behavioral pattern analysis │
│  Layer 7: 📊 Risk Scoring        → ASR calculation & priority  │
│                                                                 │
│  Result: 🎯 100% Accurate Detection with 0% False Positives    │
└─────────────────────────────────────────────────────────────────┘

岩心检测(模式+AST)

  • SQL注入 (CWE-89)-SQL查询中的字符串连接
  • 命令注入 (CWE-78)- os.system(), subprocess 漏洞
  • 路径遍历 (CWE-22)- ../ 文件操作中的模式
  • XSS (CWE-79)-输出中的用户输入未加注释
  • 弱密码学 (CWE-327)-MD5、SHA1、DES使用
  • 硬编码的秘密 (CWE-798)-基于香农熵的检测
  • 不安全的反序列化 (CWE-502)- pickle.loads(), yaml.load()
  • XXE (CWE-611)-XML外部实体漏洞
  • 危险功能 - eval(), exec(), __import__()

高级分析(v1.5)

  • 污点跟踪分析技术 -跟踪数据流: user_input → eval() =关键
  • 认证绕过 -检测 if 1 == 1: 并且总是真实的条件
  • 加密货币滥用 -识别弱RNG: random.random() vs secrets
  • 复杂性指标 -圈复杂度>10=可维护性风险

输出与集成

  • 沙林2.1.0 -IDE集成(VS代码、JetBrains)+GitHub代码扫描
  • HTML报告 -带有严重性细分的交互式Chart.js仪表板
  • JSON/Markdown -机器可读的API和人性化的文档
  • CI/CD就绪 -GitHub Actions、Jenkins(声明式/脚本式)、Bitbucket、GitLab

📈 性能指标

🚀 Performance Comparison: v1.5 → v2.1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Metric                v1.5 Baseline    v2.1 Enhanced    Improvement
──────────────────────────────────────────────────────────────────────
🔍 Scan Speed         57 files/sec     1,400 files/sec   🚀 24.5x
🎯 False Positives    88.4% FP rate    0% FP rate        ✅ 100% reduction
🧠 Detection Layers   4 layers         7 layers          📈 +75%
🌐 Languages          1 (Python)       5 (Py/TS/JS/Go)   🚀 5x
💾 Memory Usage       High             Optimized         📉 -60%
🔄 Parallel Workers   4-8 workers      16-32 workers     🚀 4x
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📊 详细性能矩阵

📊 度量📍 v1.5🎯 v2.1📈 改进
🔍 扫描速度57文件/秒1400文件/秒🚀 24.5倍
🎯 准确度11.6%(88.4%FP)100%(0%FP)✅ 太好了!
🧠 分析深度4层7层📈 +75%
🌐 语言支持1(Python)5(多语言)🚀 5倍
💾 内存效率基线优化📉 -60%
🔄 并行处理4-8名工人16-32名工人🚀 4x
📋 测试覆盖率96%100%✅ 完成
🧪 测试用例52项测试78项测试📈 +50%

🤝 贡献

我们欢迎捐款!看 贡献.md 作为指导方针。

# Fork and clone
git clone https://github.com/YOUR_USERNAME/mcp-sentinel-scanner.git
cd mcp-sentinel-scanner

# Install dev dependencies
pip install -r requirements-dev.txt

# Run tests
pytest tests/ -v --cov=src

# Make changes and submit PR

🔬 研究基金会

基于 *“当MCP服务器受到攻击时:分类、可行性和缓解措施”* 赵等人(2025)。

docs/RESEARCH_FOUNDATION.md 了解详情。

📊 项目状态和企业路线图

🚀 Development Timeline & Progress (12 months)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Phase 1: Core Foundation [COMPLETE] ████████████████████████████████
   └─ Multi-tool orchestration, false positive elimination, 7-layer analysis

✅ Phase 2: Performance Optimization [COMPLETE] ████████████████████████
   └─ 1,400 files/sec, context-aware filtering, enterprise scaling

🚧 Phase 3: Multi-Language Support [IN PROGRESS] ████████████████████░░░
   └─ TypeScript/JavaScript AST, React patterns, cross-language taint

📋 Phase 4: Enterprise Features [Q2-Q3 2026] ████████░░░░░░░░░░░░░░░░░░░
   └─ SBOM generation, compliance dashboards, IDE plugins, API service

🔮 Phase 5: AI-Powered Intelligence [Q4 2026] ████░░░░░░░░░░░░░░░░░░░░░░░
   └─ ML anomaly detection, zero-day patterns, auto-remediation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📈 当前成就仪表板

🎯 v2.1 Milestone Achievements
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Multi-Tool Integration:    [████████████████████████████████████████] 100%
✅ False Positive Elimination:[████████████████████████████████████████] 100%
✅ Performance Optimization:  [████████████████████████████████████████] 2,450%
✅ Test Coverage:             [████████████████████████████████████████] 100%
✅ Enterprise Architecture:   [████████████████████████████████████████] 100%
🚧 Multi-Language Support:    [████████████████████████████████████░░░░] 85%
📋 Enterprise Dashboard:      [████████████████████████░░░░░░░░░░░░░░░░] 60%
🔮 AI-Powered Analysis:       [████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 20%
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🏆 当前统计数据(v2.1):

  • 78个测试用例 |100%核心覆盖率|0%假阳性
  • 1400+文件/秒 |性能提升20倍
  • 7检测层 |多工具编排
  • 5种输出格式 |企业仪表板就绪
  • 30秒部署 |Docker+CI/CD+Kubernetes

🎯 下一个里程碑:

  • 🚧 多语言AST -TypeScript、JavaScript、Go、Rust支持
  • 📋 企业仪表盘 -实时指标、合规性报告
  • 🔮 AI驱动的检测 -机器学习异常检测、行为分析

企业_统计_地图.md 了解详细的企业时间表和 状态.md 对于当前的进展。

📝 许可证

该项目在MIT许可证下分发。看 许可证 了解详情。

🙏 致谢

  • 赵等人(2025) -研究基础
  • 开源社区 -贡献和反馈
  • 安全研究人员 -漏洞分类和最佳实践

______________________________________________________________________

🌟 在GitHub上为我们点赞! | 🐛 报告问题 | 💬 加入讨论

文档路线图

目录标签

目录标签

安全分析静态分析Python漏洞检测本地部署多语言支持CI/CD集成

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

3

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP