io.github.GuardBee/llm-redteam·AI & LLMs

llm-redteam

Active jailbreak/extraction/obfuscation red-teaming for live LLM endpoints

Stars
1
Version
0.1.2
License
—
Review
Passed
Language
TypeScript
Last commit
25m ago
Forks
1
Open issues
2
Registry update
Oct 13, 2026
ai-securitykvkkmcpmcp-securitymodel-context-protocolowaspsecurity-scanner

Connect

npm
Terminal
$claude mcp add llm-redteam \  -- npx -y @guardbee/[email protected]

Environment variables

Nothing to configure — it works as is.

Security review

Review passed

Reviewed 43m ago.

metadata
scanned
packages
1 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

@guardbee/mcp-llm-redteam

🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇧🇷 Português | 🇪🇸 Español | 🇩🇪 Deutsch

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.

This package sends usage telemetry by default (tool name + short parameters — never your API key, prompts, or the target's responses — see @guardbee/mcp-telemetry). Disable with GUARDBEE_TELEMETRY=0.

Your LLM endpoint / chatbot ◄── llm-redteam ──► Claude
              │
              ├─ Instruction override    (DAN-style role-play, direct "ignore instructions")
              ├─ Extraction              ("repeat everything above", translation-reframed leak)
              ├─ Obfuscation             (base64-encoded instruction, zero-width smuggling)
              ├─ Refusal suppression     (fake system-override impersonation)
              └─ Multilingual            (same override, non-English phrasing)

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

{
  "mcpServers": {
    "guardbee-llm-redteam": {
      "command": "npx",
      "args": ["-y", "@guardbee/mcp-llm-redteam"],
      "env": {
        "OPENAI_API_KEY": "sk-..."
      }
    }
  }
}

Then ask Claude: "Run the GuardBee red-team suite against my OpenAI endpoint using gpt-4o-mini."

CLI (CI/CD)

export OPENAI_API_KEY=sk-...
npx @guardbee/mcp-llm-redteam probe --type=openai --model=gpt-4o-mini --api-key-env=OPENAI_API_KEY --fail-on=high
# Your own chatbot endpoint
npx @guardbee/mcp-llm-redteam probe --type=webhook --url=https://staging.example.com/chat --fail-on=any

MCP Tools

ToolDescription
list_probesLists all probes by category — no network call
run_probe_suiteRuns probes against a target you specify; returns which ones bypassed the guardrails

Target Types

TypeUse for
openaiOpenAI's Chat Completions API, or any OpenAI-compatible gateway via baseUrl (Groq, local vLLM/Ollama proxies, etc.)
anthropicAnthropic's Messages API directly
webhookYour own chatbot/product endpoint — POSTs { prompt } as JSON, reads the reply from a configurable field

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

CategoryExample probeSeverityWhat a bypass means
instruction-overridedirect_override, role_play_danhighA direct or role-play override instruction replaced the system prompt's authority
extractionsystem_prompt_leak_direct, repeat_abovecriticalThe target revealed (or proved it would reveal) its own system prompt
obfuscationbase64_instruction, zero_width_smugglinghigh/mediumAn override instruction hidden via encoding or invisible characters still worked
refusal-suppressionauthority_impersonationhighA fake "system override" framing was granted real instruction authority
multilingualnon_english_overridemediumThe same override succeeded when phrased in a non-English language

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

npm run build
npm test             # 29 unit tests

License

MIT — GuardBee

From the server's repository — third-party content, read it before running anything it suggests.

More in AI & LLMs

Listing from the official MCP Registry · repository facts from GitHub, 14m ago.