
Llm Redteam
io.github.4hmetuyar由 GitHub 账号 4hmetuyar 发布v0.1.1更新于 Oct 24, 2026
Active jailbreak/extraction/obfuscation red-teaming for live LLM endpoints
概览
对您控制的在线 LLM 端点运行基于金丝雀的越狱、提示词提取和混淆探测,并报告哪些防护被绕过。
- 可以做什么
- 这个本地 MCP 服务器通过发送真实探测请求,主动对运行中的 LLM 或聊天机器人进行红队测试,而不是分析静态代码。它提供两个工具:list_probes 无需网络调用即可列出五大类共 12 个探测项;run_probe_suite 针对您指定的目标运行探测,并返回哪些探测绕过了防护。探测覆盖指令覆盖、系统提示词提取、混淆、拒绝抑制和多语言表述,每个绕过结果都附带建议。CLI 模式支持在 CI 中运行同一套测试。
- 适用场景
- 当您想检查已部署的 LLM 端点或聊天机器人的防护是否真的能抵御已知且公开记录的越狱和提取技术时使用。它适合在预发布或生产环境中自测,以及每次部署都对聊天机器人进行红队测试的 CI 流水线。它不是静态代码扫描器,也不进行新型攻击研究。
- 运行要求
- 通过 npx 从 npm 包 @guardbee/mcp-llm-redteam 本地运行,因此需要 Node.js。您必须提供自己的目标:OpenAI 兼容的聊天 API、Anthropic Messages API 或您自己的 webhook 端点。API 密钥仅以已保存该密钥的环境变量名称传入(apiKeyEnv),例如 OPENAI_API_KEY,且必须在运行前设置。需要能访问目标的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Llm Redteam,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@guardbee/mcp-llm-redteam
🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇧🇷 Português | 🇪🇸 Español | 🇩🇪 Deutsch
[npm version] [npm downloads] [License: MIT]
An MCP (Model Context Protocol) server that actively red-teams a live LLM endpoint or chatbot — not static analysis like GuardBee's other scanners, but real probe requests sent to a real target you control.
ai-code-scanner, mcp-server-auditor, and prompt-injection-scanner all look at code or content at rest. This package looks at a running system: does a deployed LLM/chatbot's guardrails actually hold up against known jailbreak, extraction, obfuscation, and refusal-suppression techniques, right now, in production?
⚠️ Only point this at an endpoint you own or are explicitly authorized to test. Every probe sends a real request and consumes API quota on the target. This is a self-testing tool — you supply your own API key/endpoint.
No probe ever asks the target to produce genuinely harmful content. Every probe is canary-based: success is measured by whether the target reproduces a random, single-use token we generate per run — proof that an out-of-character instruction was obeyed, without ever eliciting real harmful output. This keeps results deterministic (a canary can't appear by coincidence) and safe to run against a live endpoint.
Telemetry is off by default. With
GUARDBEE_TELEMETRY=1it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields likecontent,tokenorpasswordare replaced with a placeholder. See@guardbee/mcp-telemetry.
Features
- 12 probes, 5 categories — instruction-override, extraction, obfuscation, refusal-suppression, multilingual
- Canary-based, not harm-based — deterministic pass/fail, never requests real harmful content
- 3 target types — OpenAI-compatible chat APIs (OpenAI, Groq, local vLLM, etc.), Anthropic Messages API, or your own webhook
- Every bypass includes why it matters and what to do about it (
recommendation) - CLI mode for CI (e.g. red-team your staging chatbot on every deploy)
- 29 unit tests — target adapters tested against a mocked
fetch, no real network calls in the test suite
Quick Start
Claude Desktop / MCP Client
Then ask Claude: "Run the GuardBee red-team suite against my OpenAI endpoint using gpt-4o-mini."
CLI (CI/CD)
MCP Tools
Target Types
The API key is never passed as a tool/CLI parameter — only the name of an environment variable that already holds it (apiKeyEnv). Set that env var before running.
Detected Bypass Categories
These are known, publicly documented technique shapes — this is defensive coverage testing, not novel attack research. A held probe doesn't prove a target is unbreakable; a bypassed probe is a concrete, reproducible finding.
Development
License
MIT — GuardBee
Feedback
Questions, ideas, or a false positive? Start a thread in GitHub Discussions or open an issue. If GuardBee is useful to you, a ⭐ on the repository helps others find it.
来源:packages/llm-redteam/README.md,提交 040e072
工具
0版本历史
1- v0.1.1最新Sep 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分