Xuanmu-BugBounty-mcp
Xuanmu-BugBounty-mcp is a self-contained, zero-dependency MCP toolkit for bug bounty hunting and SRC vulnerability testing, covering the full lifecycle from reconnaissance to report generation with built-in anti-blocking and WAF protection strategies.
Reconnaissance
bb_ping— TCP + HTTP dual-mode target liveness detectionbb_port_scan— TCP port scanning with Top100 or custom rangesbb_subdomain— DNS-based subdomain enumeration with custom wordlistsbb_fingerprint— Web technology stack, CMS, and WAF fingerprintingbb_dir_scan— Directory/file brute-forcing with 150+ built-in sensitive paths
Vulnerability Detection
bb_sqli— SQL injection (error-based, boolean, time-blind)bb_nosqli— NoSQL injection detectionbb_xss— Reflected XSS across multiple contextsbb_ssti— SSTI for Jinja2, Twig, FreeMarker, Velocity, ERB, Smartybb_cmdi— Command injection via time-blind and output-echobb_ssrf— SSRF with internal network probing and OOB hintsbb_cors— CORS misconfiguration testingbb_open_redirect— Open redirect detection with parameter scanningbb_file_upload— File upload bypass (extension, MIME, double extension, .htaccess, SVG)bb_csrf— CSRF detection via token analysis, SameSite, Referer/Origin checksbb_xxe— XXE detection (classic, blind OOB, XInclude, SVG)bb_lfi— LFI/path traversal with PHP filter testsbb_host_inject— Host header injection with 9 attack scenariosbb_takeover— Subdomain takeover via CNAME + 50+ cloud service matchingbb_race— Race condition testing with concurrent requests and response diff analysis
Authentication & JWT Security
bb_jwt_decode— Decode JWT header/payload without signature verificationbb_jwt_analyze— Full JWT security analysis with vulnerability detection and attack suggestionsbb_jwt_crack— HMAC key brute-force with built-in or custom wordlistsbb_jwt_attack— JWT attacks: None algorithm, KID injection, RS256→HS256 confusionbb_graphql— GraphQL scanning: introspection, batch queries, deep recursion, schema extraction
Information Extraction
bb_extract— Extract URLs and API endpoints from HTML and JSbb_secrets— Sensitive data detection with 20+ regex patterns (keys, tokens, passwords, internal IPs)bb_headers— Security header audit with scoring and remediation advicebb_param_discover— Auto parameter discovery from forms, queries, JSON fields, and JS variablesbb_js_analyze— JavaScript file analysis
Utilities
bb_send— Custom HTTP request sender with custom methods, headers, and bodybb_payload— Payload factory for XSS/SQLi/SSTI/SSRF and more, with encoding variantsbb_oob— OOB callback payload generator for blind SSRF/XXE/RCE verificationbb_idor— IDOR testingbb_cloud_check— Cloud service security checkingbb_waf_check— WAF identificationbb_session— Multi-step session handlingbb_report— Generate structured SRC-format Markdown vulnerability reports
All network tools support Bearer Token and Cookie authentication, proxy configuration, request timeouts, User-Agent rotation, and WAF protection modes (safe/aggressive) with retry logic and circuit breakers.
Provides tools for scanning GraphQL endpoints, including introspection, batch queries, and recursive queries to detect vulnerabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Xuanmu-BugBounty-mcpcheck if example.com is vulnerable to SQL injection"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Xuanmu-BugBounty-mcp
玄幕安全团队 · guaidao2 开发
独立自包含的 SRC 挖洞专用 MCP 工具包 — 零外部扫描器依赖,即装即用
快速安装
git clone https://github.com/guaidao2/Xuanmu-Bugbounty-mcp.git
cd Xuanmu-BugBounty-mcp
pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple
# 启动
xuanmu-bb
# 或: python "绝对路径/src/xuanmu_bb/server.py"Related MCP server: Bug Bounty MCP Server
MCP 配置
{
"mcpServers": {
"Xuanmu-BugBounty-mcp": {
"command": "xuanmu-bb"
}
}
}核心特性
结构化输出
所有漏洞检测工具返回统一的 JSON 格式,LLM 可直接解析:
{
"tool": "bb_sqli",
"target": "https://example.com",
"status": "confirmed",
"summary": "发现 3 个可疑点(2个CRITICAL, 1个HIGH),其中 2 个已确认",
"findings": [{
"param": "id", "payload": "' AND SLEEP(3) --",
"type": "time_based", "severity": "CRITICAL",
"evidence": "时间盲注: 响应延迟 3.2s",
"verified": true,
"verified_by": "二次确认: sleep(5) 延迟 5.1s"
}],
"waf": {"detected": true, "name": "Cloudflare"},
"metadata": {"duration_ms": 8234, "requests_sent": 45}
}检测结果二次确认
漏洞类型 | 首次检测 | 二次确认方式 |
SQLi 时间盲注 | SLEEP(3) 延迟 | 重试 SLEEP(5) 验证 |
SQLi 布尔盲注 | 1=1 vs 1=2 差异 | 换 2=2 vs 2=1 验证 |
XSS | payload 未编码反射 | 不同向量 ( -> ) 交叉验证 |
SSTI | 7*7 -> 49 | 验证 8*8 -> 64 |
CMDI | ping -c 3 延迟 | 重试 ping -c 5 |
SSRF/LFI | 响应含系统文件 | 自动确认;大小变化则换地址重试 |
确认后的 finding 标记 verified: true,severity 升为 CRITICAL。
自定义 Payload
所有漏洞检测工具支持 custom_payloads 参数,与内置 Payload 合并执行:
bb_sqli url="..." custom_payloads="' OR 1=1 -- ,1' AND SLEEP(10) -- "
bb_xss url="..." custom_payloads="<script>alert(document.cookie)</script>,<img src=x onerror=alert(1)>"增强指纹识别
融合 Wappalyzer + EHole + FingerprintHub 三大项目的检测思路:
检测源 | 数量 | 方法 |
FingerprintHub 全量 | 2,224 条 | 关键词AND + 33 favicon哈希 + 评分 |
增强指纹库 | 79 条 | 多信号评分 + 关键词AND + 隐含推导 |
Wappalyzer | 运行时 | 库检测 |
Favicon 哈希 | 运行时 | MMH3 32-bit 计算 (Shodan/EHole 兼容) |
Meta Generator | 运行时 | HTML meta 标签提取 CMS+版本 |
覆盖 27 个技术分类:CMS、OA/办公、ERP/财务、框架/语言、Web服务器、CDN/代理、WAF/安全、数据库、网络设备、监控/日志、邮件系统、VPN/远程、堡垒机、DevOps、视频监控、NAS/IoT、云服务等。
隐含技术推导:WordPress -> PHP + MySQL、Django -> Python、Spring Boot -> Java、Element UI -> Vue.js ...
输出按技术分类分组,附带 WAF 检测和后续测试建议。
bb_fingerprint url="https://example.com"全部 39 个工具
以下工具凡涉及 HTTP 请求的,均支持通用认证参数:
auth_token(Bearer Token)、cookie、proxy、timeout。 漏洞检测类工具额外支持:waf_mode、method(GET/POST)、body、custom_payloads。
侦察模块
工具 | 功能 | 特有参数 |
| 存活探测 — TCP + HTTP 双重检测 | target |
| 端口扫描 — Top100/自定义范围 | target, ports, concurrent |
| 子域名枚举 — DNS 批量解析 | domain, wordlist, concurrent |
| 增强指纹识别 — 2300+指纹/27分类/favicon哈希 | url |
| 目录爆破 — 内置 150+ 敏感路径 | url, wordlist, status_filter, concurrent |
漏洞检测模块
工具 | 功能 | 特有参数 |
| SQL 注入 — 报错/布尔/时间盲注 + 二次确认 | url, params, custom_payloads |
| NoSQL 注入 — MongoDB $ne/$gt/$regex | url, params |
| XSS 检测 — 反射型/多上下文 + 交叉验证 | url, params, custom_payloads |
| SSTI 模板注入 — 多引擎 + 数值确认 | url, params, custom_payloads |
| 命令注入 — 时间盲注+输出回显 + 确认 | url, params, custom_payloads |
| SSRF 检测 — 内网/云元数据/OOB + 确认 | url, params, custom_payloads |
| CORS 跨域 — 12 种 Origin 测试 | url |
| 开放重定向 — 参数扫描+跳转测试 | url, params |
| 文件上传绕过 — 多扩展名/MIME/截断 | url |
| CSRF 检测 — Token/SameSite/Referer 分析 | url |
| XXE 检测 — 经典/Blind/SVG/XInclude | url, body, content_type |
| 路径遍历 — ../遍历/PHP filter + 确认 | url, params, custom_payloads |
| Host 头注入 — 9 种攻击场景 | url |
| 子域名接管 — CNAME+50+云服务匹配 | domain |
| 条件竞争 — 并发请求+响应差异分析 | url, method, data, concurrent |
认证安全模块
工具 | 功能 | 特有参数 |
| JWT 解码 — 解析 Header/Payload | token |
| JWT 安全分析 — 漏洞检测+攻击建议 | token |
| JWT 密钥爆破 — HMAC 字典攻击 | token, wordlist |
| JWT 攻击 — None/KID注入/算法混淆 | token, mode, payload_override, public_key |
| GraphQL 扫描 — Introspection/批量/递归 | url |
信息提取模块
工具 | 功能 | 特有参数 |
| URL/Endpoint 提取 — HTML+JS分析 | url, depth |
| 敏感信息检测 — 20 种正则模式 | url, check_js |
| 安全头审计 — 8 项评分+修复建议 | url |
| 参数自动发现 — 表单/查询/JSON/JS | url, depth |
| JS 深度分析 — API路由/Sourcemap/硬编码/WebSocket | url |
工具模块
工具 | 功能 | 特有参数 |
| 手工 HTTP 发包 — JSON/form/multipart/文件上传 | url, method, headers, body, content_type, files, follow_redirects |
| Payload 工厂 — 9 类漏洞 x 6 种编码 | vuln_type, encode, count |
| OOB 外带辅助 — 回调标识/Payload 建议 | mode, callback_url |
| IDOR 越权检测 — 双 Token 对比 + 序号枚举 | url, token_owner, token_attacker, param, method |
| 云服务安全 — S3/元数据/云配置泄露 | url |
| WAF 指纹识别 — 14 种 WAF + 绕过建议 | url |
| 多步骤流程 — Session保持 + 请求链 | steps (JSON) |
| 漏洞报告生成 — SRC 格式 Markdown | vuln_type, target, param, payload, impact, detail, poc |
通用参数说明
参数 | 适用工具 | 说明 |
| 所有 HTTP 工具 | Bearer Token,自动添加 |
| 所有 HTTP 工具 | Cookie 字符串,自动添加 |
| 所有 HTTP 工具 | 代理地址,如 |
| 所有 HTTP 工具 | 请求超时秒数(默认 15) |
| 漏洞检测 |
|
| 漏洞检测 |
|
| 漏洞检测 | POST 请求体,如 |
| sqli/xss/ssti/cmdi/ssrf/lfi | 逗号分隔的自定义 Payload,与内置 Payload 合并执行 |
| 漏洞检测+dir_scan | 请求间隔秒数,检测到 WAF 后自动升为 3s |
使用示例
信息收集 -> 漏洞检测 全流程
# 1. 指纹识别(识别技术栈 + WAF + 分类)
bb_fingerprint url="https://target.com"
# 2. 目录扫描
bb_dir_scan url="https://target.com"
# 3. 参数发现
bb_param_discover url="https://target.com/api"
# 4. 漏洞检测(使用发现的参数 + 自定义 payload)
bb_sqli url="https://target.com/page?id=1" params="id" \
custom_payloads="' OR 1=1 -- ,' AND SLEEP(5) -- "
bb_xss url="https://target.com/search?q=test" params="q" \
custom_payloads="<script>alert(1)</script>,<img src=x onerror=alert(1)>"
bb_ssti url="https://target.com/welcome?name=test" params="name"
bb_cmdi url="https://target.com/ping?host=127.0.0.1" params="host"
bb_ssrf url="https://target.com/fetch?url=http://example.com" params="url"
bb_lfi url="https://target.com/file?name=test.txt" params="name"
bb_cors url="https://api.target.com/data"
bb_open_redirect url="https://target.com/redirect?url=https://example.com"
bb_xxe url="https://target.com/xml/parse"
# 5. 认证测试
bb_jwt_analyze token="eyJhbGciOiJIUzI1NiIs..."
bb_jwt_attack token="..." mode="none"
bb_graphql url="https://target.com/graphql"
# 6. 多步骤业务流
bb_session steps='[
{"method":"POST","url":"https://target.com/login","body":"user=admin&pass=test"},
{"method":"GET","url":"https://target.com/api/profile"}
]'
# 7. 生成报告 + bb_send 全格式示例
bb_report vuln_type="sqli" target="https://target.com/page?id=1" \
payload="' OR 1=1 -- " impact="可获取数据库所有数据"
# bb_send: JSON 自动识别
bb_send url="https://api.example.com/login" method="POST" \
body='{"user":"admin","pass":"test"}'
# bb_send: Form 自动识别
bb_send url="https://example.com/search" method="POST" \
body="q=test&page=1"
# bb_send: 文件上传 (multipart/form-data)
bb_send url="https://example.com/upload" method="POST" \
files="file=/path/to/shell.php" body="action=upload"
# bb_send: XML 手动指定 Content-Type
bb_send url="https://example.com/api" method="POST" \
headers="Content-Type: application/xml" \
body='<?xml version="1.0"?><root>data</root>'带认证扫描
# Bearer Token
bb_sqli url="https://target.com/api/search" params="q" auth_token="eyJ..."
# Session Cookie
bb_xss url="https://target.com/search" params="q" cookie="JSESSIONID=ABCD1234"WAF 防护扫描
# 先检测 WAF
bb_waf_check url="https://target.com"
# 带 WAF 防护扫描(自动降速 + UA轮换)
bb_sqli url="https://target.com/page?id=1" waf_mode="safe" request_delay="3"项目结构
src/xuanmu_bb/
├── server.py # MCP 入口(39 工具,注册表模式)
├── client.py # HTTP 客户端(代理/Cookie/UA轮换/反封策略)
├── utils.py # 公共工具 + ResultBuilder 结构化输出
├── data/
│ ├── payloads.py # SQLi/XSS/SSTI/CMDI/SSRF/LFI Payload
│ ├── dicts.py # 子域/目录字典 + 端口映射 + 弱口令
│ ├── fingerprints.py # Web 指纹库 + WAF 签名
│ ├── fingerprints_enhanced.py # 增强指纹库(79条,27分类)
│ ├── fingerprints_hub.py # FingerprintHub 全量(2,224条,365KB)
│ ├── patterns.py # 敏感信息正则 + 安全头列表
│ └── waf.py # WAF 检测引擎
├── recon/ # 侦察模块(5 工具)
├── vuln/ # 漏洞检测模块(15 工具,均支持二次确认)
├── auth/ # 认证安全模块(5 工具)
├── extract/ # 信息提取模块(5 工具)
└── tools/ # 工具模块(9 工具 + fingerprint_importer)技术特点
完全自包含 — 不依赖 nmap/nuclei/burp 等外部工具,纯 Python 实现
结构化 JSON 输出 — 所有漏洞检测返回统一格式,LLM 可直接解析联动
检测二次确认 — SQLi/XSS/SSTI/CMDI/SSRF/LFI 自动验证减少误报
2300+ 指纹库 — 融合 FingerprintHub + Wappalyzer + EHole,覆盖 27 个技术分类
Favicon 哈希 — MMH3 32-bit 计算,兼容 Shodan/EHole 指纹匹配
自定义 Payload — 所有漏洞工具支持用户注入自定义 Payload
反封策略 — User-Agent 轮换 / 请求间隔控制 / 代理支持 / WAF 熔断
注册表模式 — server.py 新增工具仅需一行元组,无需重复样板代码
16 个单元测试 — 覆盖 utils、payloads、dicts 核心模块
许可证
本项目仅供合法的安全测试与漏洞挖掘使用。使用者需遵守相关法律法规。
Xuanmu-BugBounty-mcp (c) 2026 玄幕安全团队 · guaidao2
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceProvides access to 13+ penetration testing and security audit tools through a unified MCP interface. Enables security professionals to perform vulnerability scanning, web fuzzing, network reconnaissance, and other security assessments through containerized tools like Nuclei, Nmap, SQLMap, and FFUF.Last updated
- Flicense-qualityDmaintenanceA comprehensive MCP server for automated bug bounty hunting and security reconnaissance, featuring over 28 specialized tools for subdomain discovery, vulnerability scanning, and traffic analysis. It integrates automated scope validation and professional reporting across multiple platforms like HackerOne and Bugcrowd to streamline security testing.Last updated5
- AlicenseAqualityAmaintenance14 atomic MCP tools for AppSec and AI Security engineers: source/schema/prompt audit primitives, JWT inspect, HTTP diff, pentest atoms (default creds, GraphQL introspect, phpggc, interactsh OOB), and a defensive helpers library that fixes the bugs the detectors flag. SARIF output, PyPI Trusted Publishing with Sigstore provenance.Last updated14MIT
- Flicense-qualityDmaintenance基于Kali Linux的MCP服务器,为AI助手提供渗透测试和安全评估工具接口,支持网络扫描、Web扫描、密码攻击等90多个工具。Last updated4
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Production-grade cryptography toolkit with 31 MCP tools for classical, PQC, and KMS workflows.
Offline methodology engine for authorized penetration testing, CTF, and security research.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/guaidao2/Xuanmu-Bugbounty-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server