Probe Server
MCP Vetter Agent
一个用于 AI 工具的安全审计器。 一个运行在 TrueForge 上的代理,在将第三方 MCP 服务器连接到你的代理之前,先对其进行安全漏洞审查——然后在提交公开安全报告之前暂停并询问人类。
TrueForge 将代理连接到任何 MCP 服务器。社区服务器以 gist、模板和副项目的形式共享——带有硬编码密钥、对工具参数的
eval()调用,以及没有认证边界。代理不知道要怀疑。这个代理就是那个多疑的。
工作原理
User: "audit https://github.com/someone/some-mcp-server"
└─ TrueForge agent (mcp-vetter)
├─ clone_target ── shallow-clones the GitHub URL onto the probe host
├─ read_target_manifest ── declared tools & permission boundaries
├─ subagent: static_audit ── AST rules + Semgrep (SENT-001..007)
├─ subagent: full_audit ── GPT review + Docker probes (SENT-008..011)
├─ Synthesizes verdict (HIGH/MEDIUM/LOW, OWASP Agentic Top 10 mapped)
└─ ⏸ PAUSES before filing the GitHub security issue → human approves → files探测在隔离环境中运行:Sentinel 的动态探测在一次性 Docker 容器中执行目标服务器。
审批门是原生 TrueForge HITL:创建 issue 是写入/破坏性操作,因此 harness 会暂停等待 Allow/Deny。
会话在重连后仍然存活:审计中途刷新;代理继续工作。
Related MCP server: mcp-security-scanner
快速开始
# 1. Probe server (the security scanning engine)
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn probe_server.server:mcp_app --host 127.0.0.1 --port 8000 # serves /mcp
# 2. TrueForge (separate terminal; needs Node 22+)
npx @truefoundry/trueforge@latest # UI at http://localhost:8790
# 3. In the TrueForge UI:
# Settings → Models : configure a provider (API key)
# Settings → Connectors : Add MCP Server → http://127.0.0.1:8000/mcp
# (+ GitHub connector from the catalog, OAuth)
# Settings → Sandbox : optional (skills/code mode); cloning runs on the probe host
# Create agent : import deploy/agent-manifest.json via API, or compose in UI
# 4. Chat: "audit ./fixtures/vulnerable_server"先针对捆绑的 fixtures 进行尝试:
Fixture | 预期 |
| 高风险—— |
| 干净报告 |
仓库布局
probe_server/ MCP server exposing the scanning engine as agent tools
fixtures/ Vulnerable + hardened reference MCP servers (from Sentinel, MIT)
deploy/ TrueForge agent manifest (agent spec via API)
docs/ PRD, architecture, week plan, setup guideQodo 代码审查证据
本仓库中的每一项实质性变更在合并前都经过了 Qodo 的拉取请求审查——从黑客马拉松的第一天开始。
具有代表性的已审查 PR: #1 — feat: probe server, fixtures, tests, TrueForge agent spec
Qodo 发现了什么以及我们如何处理(完整记录可见于该 PR):
轮次 | 发现 | 结果 |
初始审查 | 2 高,5 中 | 已修复:添加了 |
修复后的复审 | 3 高,1 中 | 已修复:没有 |
第三轮 | 3 中 | 已修复:格式错误的 URL 返回错误字典而不是抛出异常;取消操作回收克隆进程树;所有清理工作移出事件循环 |
最终轮 | 0 发现 | 干净 |
有一项发现被驳回并记录了原因: 干净 fixture 的零值完整性摘要(PR 上的评论)——它在上游以 MIT 许可证的引擎中就是这样发布的,而且涉及的代码路径从未被我们的工具使用,因此我们保持 fixtures 与上游一致,而不是分叉它们。
PR 历史显示了每次审查、针对其发现的提交,以及确认最终代码已解决的后续审查。
演示
致谢
为 The Agent Harness Hackathon(WeMakeDevs × TrueFoundry,2026 年 8 月)而构建。参见 fixtures/LICENSE 了解捆绑参考代码的许可。
This server cannot be deployed
Maintenance
Related MCP Connectors
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scans remote MCP servers for protocol, security, and TLS issues; exposes scan tools via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAutomatically installs and containerizes MCP servers from GitHub repositories using MCP sampling to analyze repositories and create appropriate Docker images.2MIT
- AlicenseAqualityCmaintenanceSecurity scanning for MCP servers from the inside out. Provides runtime inspection, AST-based static analysis, config audit, dependency analysis, and OWASP MCP Top 10 compliance in a single MCP server.55126 npm6MIT
- AlicenseAqualityAmaintenanceSecurity scanner for MCP servers that detects tool poisoning, shadowing, and other risks via static rules and semantic analysis. Exposes the scan_mcp_server tool for scanning MCP servers over stdio.155 PyPI1MIT
- AlicenseNot gradedqualityBmaintenanceZero-execution static AST security scanner and vulnerability auditor for MCP servers. Detects Command Injection (CWE-78), Path Traversal (CWE-22), Hardcoded Secrets (CWE-798), and Unauthenticated Transports (CWE-306).MIT