devtools

codex-redteam-mode for Red Team Attacks

Get a red team mode for penetration testing with codex-redteam-mode, for founders working with AI hacking tools and red team operations.
1,033 stars136 forksPythonGuide quality 8/10Updated 8/24/2026100% free · open source
What it does

Codex-redteam-mode provides a red team mode for penetration testing, allowing founders to simulate attacks and test their AI systems' defenses using Python

When to use it
  • When you need to test the security of your AI system against potential attacks
  • When you want to identify vulnerabilities in your AI model's architecture
  • When you need to train your AI model to defend against common attack vectors
Ready-to-paste prompt
python redteam_mode.py --agent=my_agent --target=my_ai_system
Heads up: Founders should be aware that using codex-redteam-mode may result in account bans or other limitations if not used responsibly, as stated in the project's README
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/codex-redteam-mode && curl -fsSL https://workflowstacks.com/api/skills/codex-redteam-mode/claude-skill -o ~/.claude/skills/codex-redteam-mode/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How codex-redteam-mode for Red Team Attacks works
Codeflow
Free to inspect

Codex-redteam-mode for Red Team Attacks is a medium Python project (~10k lines across 30 code files, plus 5 test files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit this month, MIT license, has a test suite.

Size
Medium codebase
~10k lines · 30 code files · ~1 h to skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
Python
No API keys detected
Python 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    requirements.txt
    Dependencies and the commands it exposes
  3. 3
    agents/skills/redteam-boundary-policy/SKILL.md
    Inside agents/ — an example of what the AI is told to do
What's in each folder
agents/Prompts, skills & agent definitions1 files
templates/Templates2 files
codex/Folder34 files
scripts/Helper scripts2 files
tests/Tests — proof it works5 files
images/Images & static assets3 files
.github/CI / automation (GitHub Actions)1 files
READMEHas testsDocumentedCI checksMIT licenseUpdated this month
Quick Actions
Details
Creator
chAng-L19
Language
Python
Category
devtools
Published
5/6/2026

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.