Skip to content

Releases

RedWitness 1.3.2

Choose a tag to compare

@capture0x capture0x released this 29 Nov 18:00

A fix release. No change to findings or verdicts.

Fixed

  • "New benchmark" opened the wrong screen. The button on the Benchmarks page and on the dashboard opened New Test on the Quick scan tab, so the target comparison it had switched on was hidden. It now opens the Custom test wizard with the comparison shown.

Tested in the browser

The end-to-end test now opens every page in the sidebar and drives the forms that were tested only through the API until now:

  • Model supply chain, Privacy & Extraction (model extraction, membership inference, vector store exposure), Defense efficacy, the benchmark wizard and Engine logs (filters, search, pause)
  • Targets (add, edit, OAuth 2.0, create a scope from a target, delete)
  • Settings (signed webhook test, verifier and judge switches, bias policy, CI tokens)
  • The colour theme
  • Findings (filters, true and false positive labels, attack tree, suggested fix)
  • The run page (SARIF, Word report) and the MCP form (bearer auth, dynamic test lock and run)
  • Document upload in New Test

The test now runs 219 UI checks (up from 163) plus 43 module checks, and all pass.

Install or upgrade

Debian, Ubuntu, Kali: download redwitness_1.3.2_all.deb below, then

sudo apt install ./redwitness_1.3.2_all.deb
redwitness

Upgrading keeps your settings and data; the next redwitness start rebuilds the stack.

From source: git pull && docker compose up -d --build.

Use RedWitness only against systems you own or are authorized to test.

RedWitness 1.3.1

Choose a tag to compare

@capture0x capture0x released this 29 Nov 14:33

A reliability release. No new features, no change to findings or verdicts.

Fixed

  • Occasional "request failed" in the UI. The UI proxy and the API server both closed idle connections after 5 seconds. A request sent at that moment could land on a connection the server was closing and fail with ECONNRESET (reproduced: 1 in 320 requests). The API server now keeps idle connections 65 seconds, so the client always closes first. The same fix applies between the backend and the browser runner, where a lost request would have cost a web chat test turn.
  • GPT-5 and o-series models as judge or target. These reasoning models refuse max_tokens, a temperature other than 1 and logprobs with HTTP 400, so every judge call or test turn failed. RedWitness now reads the refused parameter from the error, sends max_completion_tokens instead or leaves the parameter out, and remembers this for the rest of the run. Structured judge output is kept. Any other HTTP 400 now shows the server's own reason instead of a bare status code.

Verified

  • Backend: 960 tests pass. Isolated end-to-end: 163/163 UI checks and 43/43 module checks pass.
  • Live stack under load around the 5-second boundary: 160 of 160 requests succeeded, with no connection resets.

Install or upgrade

Debian, Ubuntu, Kali: download redwitness_1.3.1_all.deb below, then

sudo apt install ./redwitness_1.3.1_all.deb
redwitness

Upgrading keeps your settings and data; the next redwitness start rebuilds the stack. If you use web page chat targets, run redwitness browser once more so the browser runner picks up the fix.

From source: git pull && docker compose up -d --build.

Use RedWitness only against systems you own or are authorized to test.

RedWitness v1.3.0

Choose a tag to compare

@capture0x capture0x released this 29 Nov 02:23

RedWitness 1.3.0 makes the attacker smarter, tests MCP tools for real, catches leaked credentials on its own and reaches chats behind a sign-in.

What's new

  • Attacker-written crescendo: a new adaptive method ("adaptive": {"method": "crescendo"}).

    • When the target refuses an objective, the Attacker model writes the conversation one turn at a time. It starts from a harmless topic, builds on the bot's answers and takes a smaller step after a refusal.
    • Every step is replayed and judged in a fresh session, so a finding is an exact sequence that verification repeats.
    • Checked against Claude Haiku with Claude Sonnet as the Attacker.
  • Dynamic MCP test (opt-in): the audit can now call the server's tools with harmless probe inputs, but only under a scope with the written test-environment attestation. A finding needs proof in the reply:

    • path traversal and command injection (a marker that only a shell can produce);
    • SSRF to cloud metadata and SQL errors;
    • instructions to the agent, or credentials, in tool output.

    Destructive and command tools are not called unless you allow them. Servers that use stdio can be audited through a stdio-to-HTTP bridge.

  • Credential detection without a canary: cloud and service keys, private keys, JWTs, connection strings with passwords and real-looking password= values in a reply send the probe to review, even when the probe was about something else. The value is masked in the finding.

  • Web page chats behind a sign-in: sign in in your own browser (CAPTCHA, MFA and SSO happen there), then paste the cookie header and localStorage. Every test conversation starts signed in.

  • Structured judge output: OpenAI-compatible judges get the verdict format as a JSON Schema, which removes most format failures of local models. It falls back automatically when a server does not support it.

    • Re-measured: local models now decide almost every example, but they still miss real violations or raise false alarms.
    • Claude Sonnet stays the recommended judge (95% correct, no missed violation, no false alarm). Details on the Judge accuracy page.

Install or upgrade

Debian, Ubuntu, Kali: download redwitness_1.3.0_all.deb below, then

sudo apt install ./redwitness_1.3.0_all.deb
redwitness

Upgrading keeps your settings and data; the next redwitness start rebuilds the stack. If you use web page chat targets, run redwitness browser once more so the browser runner picks up the session support.

From source: git pull && docker compose up -d --build.

Documentation: Features · Real target checks · Known limits

Use RedWitness only against systems you own or are authorized to test.

RedWitness v1.2.0

Choose a tag to compare

@capture0x capture0x released this 29 Nov 01:08

RedWitness 1.2.0 reaches chatbots that have no API, fits into pipelines and chat channels, and decides more findings correctly.

What's new

  • Chatbots on a web page: a new target type, Chat on a web page (browser), for a chatbot that only exists as a widget on a page. An optional browser runner opens the page in headless Chromium, types each test message into the chat box and reads the bot's answer, with one browser session per test conversation, so multi-turn attacks work too. You give three CSS selectors (chat input, bot message, send button), and they are part of the signed scope.
    • Start it with redwitness browser (.deb) or docker compose --profile browser up -d.
    • The page may only navigate within its own site. A cookie or header credential is added only to that site's requests. RedWitness's own services and cloud metadata addresses are blocked.
  • SARIF export: every run, and every CI job (/api/scan-ci/{job}/sarif), can be downloaded as SARIF 2.1.0 for GitHub, GitLab or Azure DevOps code scanning. It holds ids, titles, severities and OWASP categories only, never prompts or replies.
  • Webhook: when a run finishes, a signed summary goes to Slack, Teams, Mattermost or your own endpoint (Settings → Webhook, with a test button).
  • Persona prompts: import a single long persona or jailbreak prompt file (up to 40,000 characters). It is paired with four harmless test requests and is never bundled with the product. The judge sees a placeholder, because judge providers refuse to read jailbreak text.
  • Values that must never appear: the Quick scan now takes values you planted in the target. A reply that contains one goes to review whatever the probe tests, so a secret leaked by an unrelated probe is not lost.
  • More findings decided correctly:
    • A violation now stands when at least one of the judge's evidence quotes is really in the reply.
    • When the judge provider refuses a request, the case goes to review as JUDGE_REFUSED.
    • The Claude Sonnet judge measurement is unchanged after these changes: 95% correct, no missed violation, no false alarm.
  • Checked against more real models: local Mistral 7B, Llama 3.2 and Qwen 2.5 (through Ollama) as targets and as judges. Small local judges are measured and documented as unreliable. See Real target checks and Judge accuracy.

Install or upgrade

Debian, Ubuntu, Kali: download redwitness_1.2.0_all.deb below, then

sudo apt install ./redwitness_1.2.0_all.deb
redwitness

Upgrading keeps your settings and data; the next redwitness start rebuilds the stack with the new version. For web page chat targets, also run redwitness browser once.

From source: git pull && docker compose up -d --build, or a fresh git clone and ./install.sh.

Documentation: Features · Known limits

Use RedWitness only against systems you own or are authorized to test.

RedWitness 1.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 18:03

RedWitness 1.1.0 adds a larger built-in attack library and a Full scan.

What's new

  • Extended OWASP kit: 102 new probes, about ten for each OWASP LLM Top 10 (2025) category. RedWitness now ships 146 built-in probes.
    • Direct and indirect prompt injection (documents, emails, web pages, CSV rows, encoded instructions), each with a unique marker
    • Indirect ways to extract hidden instructions (translation, summaries, JSON dumps, spelling, role play)
    • Unsafe output for browsers, databases, shells and spreadsheets (event-handler HTML, javascript: links, SQL and shell injection, formulas, template expressions)
    • Other users' data, secrets and account recovery; knowledge-base permission boundaries
    • Invented and typosquatted packages, fabricated sources, actions without confirmation, unbounded output
  • Full scan: a new option on the Quick scan screen runs the starter kit, the advanced examples and the extended kit together (about 130 probes) with a larger signed budget, shown on the review step before anything is signed.
  • OWASP scan: an Include the extended kit option. Test Library: a new Extended kit section.
  • The probes were run against a real model (Claude Haiku, with the Claude judge); probes that produced false alarms were rewritten.

Install or upgrade

Debian, Ubuntu, Kali: download redwitness_1.1.0_all.deb below, then

sudo apt install ./redwitness_1.1.0_all.deb
redwitness

Upgrading from 1.0.0 keeps your settings and data; the next redwitness start rebuilds the stack with the new version.

From source: git pull && docker compose up -d --build, or a fresh git clone and ./install.sh.

Documentation: Features · Known limits

Use RedWitness only against systems you own or are authorized to test.

RedWitness 1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 16:57

First public release of RedWitness, a self-hosted AI penetration testing platform for LLM applications: chatbots, RAG pipelines, AI agents and MCP servers.

Install

Debian, Ubuntu, Kali: download redwitness_1.0.0_all.deb below, then

sudo apt install ./redwitness_1.0.0_all.deb
redwitness

The first run asks for the judge LLM key, builds and starts the stack in Docker and opens http://localhost:3000. RedWitness also appears in the application menu. Your user needs Docker access: sudo usermod -aG docker $USER, then sign in again.

Any OS with Docker:

git clone https://github.com/capture0x/redwitness.git && cd redwitness
./install.sh

Requirements: Docker with Compose v2 and a judge LLM key (Anthropic, OpenAI or any OpenAI-compatible API).

What it tests

  • Prompt injection (direct and indirect), jailbreaks (12 techniques), multi-turn Crescendo attacks
  • System prompt leakage, sensitive data leakage, cross-user and cross-session leakage
  • Data exfiltration through Markdown images and links, unsafe output handling
  • Tool abuse and excessive agency (simulated tools, nothing is executed)
  • MCP server audit: tool poisoning, unsafe tool descriptions, missing authentication (read-only)

Highlights

  • OWASP LLM Top 10 (2025) and Agentic ASI coverage, mapped to MITRE ATLAS and NIST AI RMF
  • Signed authorization scope for every test, with budgets and an audit log
  • Replay-verified findings with verbatim evidence; an LLM judge plus code-based checks
  • Any target: OpenAI or Anthropic APIs, any JSON chat API over HTTP or WebSocket, cURL import, OAuth 2.0 and extra headers
  • Retest a finding after a fix and compare two runs
  • Client report as PDF or editable Word document
  • Roles (admin, operator, viewer), CI token for pipelines, sandboxed verification of unsafe output

Documentation: README · Features · Known limits

Use RedWitness only against systems you own or are authorized to test.