# redwitness: an open AI pentest platform that replays its findings

> redwitness is an AGPL-licensed AI penetration testing platform that records a finding only once a replay reproduces it.

- **Severity:** Info: Research, tools, evals or lab claims with no direct exposure. Context, not an alert.
- **Category:** Tool
- **Published by:** capture0x
- **Disclosed:** 2026-11-27
- **Affects:** LLM applications, RAG pipelines, AI agents, MCP servers
- **Research by:** [tmrswrr](https://github.com/capture0x)
- **Primary source:** https://github.com/capture0x/redwitness
- **Page:** https://theinjection.dev/items/capture0x-redwitness/

redwitness is an open-source platform that tests LLM apps, RAG pipelines and AI agents for prompt injection, jailbreaks, prompt leaks and tool abuse. A judge model rules on each test, and a finding counts only after a replay repeats it.

## What happened

Security researcher tmrswrr, who publishes as capture0x on GitHub, created redwitness on 27 November 2026 and tagged its first release two days later. The repository is AGPL-3.0 licensed and written mainly in Python. Nine releases shipped in the first four days.

## How it works

Every test runs inside a signed authorization scope that a component called the Governor checks on each request. A judge LLM, separate from the system under test, decides whether a rule was broken, and the engine replays a candidate finding before marking it verified. Results map onto the OWASP LLM Top 10, MITRE ATLAS and the NIST AI RMF. The README says the engine itself holds no attack content.

## Who is affected

Red teamers and application security engineers testing chatbots, RAG pipelines and AI agents are the audience. Deployment needs Docker Compose or the provided installer, a PostgreSQL database, an API key for the judge model and an admin password before the backend starts. An MCP server audit module is included.

## What to do

Supply your own judge-model API key, and treat the project's accuracy figures as preliminary: the README states they come from a small dataset the author labelled, not an independent benchmark.

## Quick facts

- **License:** AGPL-3.0
- **Created:** 27 November 2026
- **Latest release:** v1.6.0, 30 November 2026
- **Built with:** FastAPI backend, PostgreSQL and a Next.js frontend
- **Covers:** Prompt injection, jailbreaks, system prompt leaks, data exfiltration and tool abuse
- **Frameworks mapped:** OWASP LLM Top 10, MITRE ATLAS and NIST AI RMF
- **Maintainer:** tmrswrr, publishing as capture0x

## Sources

1. [redwitness Repo](https://github.com/capture0x/redwitness)
2. [redwitness v1.6.0](https://github.com/capture0x/redwitness/releases/tag/v1.6.0)
3. [redwitness v1.2.0](https://github.com/capture0x/redwitness/releases/tag/v1.2.0)
