Categories
Self-Hosted Penetration Testing Prompt Injection Testing OWASP LLM Top 10 Compliance Reporting LLM Security AI Red Teaming MCP Security AuditStars
Forks
Watchers
Developer links
RedWitness
RedWitness is a self-hosted AI penetration testing platform that attacks your chatbot, RAG app, agent, or MCP server before real users do, and reports only the findings it can prove. Nothing is sent until an admin signs a scope naming the target, the attack categories, the time window, and the token and request budget, and a governor enforces those limits on every request. The 146 built-in probes cover the OWASP LLM Top 10 plus Crescendo, Markdown exfiltration, multimodal, and twelve jailbreak techniques, and your own payloads import from TXT, JSON, CSV, or YAML. A judge model must quote the exact words of the reply, and each suspected finding is replayed in fresh conversations before it counts as verified. Results map to OWASP LLM and Agentic, MITRE ATLAS, NIST AI RMF, and AISVS, with client and technical reports in PDF, Word, CSV, and SARIF. An assistant proposes extra tests that run only after you approve them, an MCP audit flags poisoned tool descriptions and risky tools, and a Retest button confirms each fix. Targets can be OpenAI-style or Anthropic APIs, custom JSON endpoints, WebSocket chats, or chat widgets driven through a browser runner, and a demo mode with a deliberately vulnerable chatbot needs no API key. Test only systems you are authorized to assess. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.
Benefits
- Nothing runs without a signed scope
- An admin signs an HMAC-SHA256 scope naming the target, attack kinds, time window, and token and request limits, and the governor enforces it on every request while blocking cloud metadata addresses.
- Findings you can defend to clients
- A judge verdict only counts when it quotes the exact words of the reply, and each finding is replayed in fresh conversations, so reports list verified evidence instead of one lucky response.
- Compliance mapping on every finding
- Each finding carries OWASP LLM Top 10 and Agentic categories plus MITRE ATLAS, NIST AI RMF, and AISVS references, and the OWASP matrix shows clean, vulnerable, review, or not-tested states.
- Try it without any API key
- Demo mode starts a deliberately vulnerable fake chatbot and a rule-based fake judge, so the dashboard's Try the demo button sets up a Quick scan that finishes in about a minute without model credentials.
Features
- 146 built-in probes
- Ships an OWASP LLM Top 10 starter kit, an extended kit with about ten probes per category, and 11 advanced scenarios; import payloads as TXT, JSON, JSONL, CSV, or YAML.
- Replay-verified evidence
- Stores each finding's transcript, replays, and exact library hash; deterministic rules check forbidden tool calls, canaries, and Markdown exfiltration before a judge LLM decides the rest.
- Reports and CI gate
- Exports client reports as PDF or Word, plus technical PDF, CSV, and SARIF, and issues scoped API tokens so a CI/CD pipeline can run scans and gate releases.
- MCP server audit
- Lists tools, prompts, and resources to flag poisoned descriptions, risky tools, secrets, and open access, with an opt-in dynamic test using harmless probes for command injection, path traversal, and SSRF.
- Flexible target connectors
- Tests OpenAI chat-completions and Anthropic messages APIs, custom JSON endpoints imported from a copied cURL request, WebSocket chats, and chat widgets through an optional browser runner.
- Docker Compose or .deb install
- Run ./install.sh to start a Next.js UI, FastAPI backend, and PostgreSQL with random secrets on port 3000, or install the Debian, Ubuntu, and Kali package.