经 AI Skill Hub 精选评估,红队AI安全 获评「强烈推荐」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
红队AI安全 是一款基于 Jupyter Notebook 开发的开源工具,专注于 ai-red-team、ai-security、jupyter-notebook 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
红队AI安全 是一款基于 Jupyter Notebook 开发的开源工具,专注于 ai-red-team、ai-security、jupyter-notebook 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/ErdemOzgen/RedAiRange cd RedAiRange # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 redairange --help # 基本运行 redairange [options] <input> # 详细使用说明请查阅文档 # https://github.com/ErdemOzgen/RedAiRange
# redairange 配置说明 # 查看配置选项 redairange --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export REDAIRANGE_CONFIG="/path/to/config.yml"

Red AI Range is a professional platform for AI security assessment, AI red team operations, and vulnerability research. It provides controlled and repeatable environments where teams can test AI systems, validate defenses, and train personnel with practical scenarios.
As AI adoption grows across critical systems, organizations need a structured way to evaluate security risk. Red AI Range addresses that need with a unified platform that combines vulnerable targets, security tooling, operational controls, and documentation support.

git clone https://github.com/ErdemOzgen/RedAiRange.git
cd RedAiRange
docker compose up -d
By default, the platform is available at http://localhost:5002.
If you are on macOS, always use a full absolute path for stack volumes.
services:
redairange:
image: erdemozgen/redairange:1
restart: always
ports:
- 5002:5002
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
- /Users/yourusername/Desktop/RedAiRange/opt/stacks:/Users/yourusername/Desktop/RedAiRange/opt/stacks
environment:
- REDAIRANGE_STACKS_DIR=/Users/yourusername/Desktop/RedAiRange/opt/stacks
- REDAIRANGE_PORT=5002
services:
redairange:
image: erdemozgen/redairange:1
restart: always
ports:
- 5002:5002
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
- ./opt/stacks:/opt/stacks
environment:
- REDAIRANGE_STACKS_DIR=/opt/stacks
- REDAIRANGE_PORT=5002
As mentioned before, left pane contains various predefined AI security scenarios and the related containers with vulnerable AI components. Although you can run a target machine from Target Machine page with your configurations, starting with a scenario is recommended.
For example, when you click on "adversarial_playground_ai_target" from the left pane, this page will greet you. 
When it is started, required images will be pulled and Docker container will be started. You can monitor the process from terminals on this page. In addition, you can access a shell from the container from this page. 
After the machine is started, you will be able to access the ports that are mentioned above of the terminal. This port is for accessing the Jupyter notebook with materials related to the scenario. In this example, http://localhost:11000 will redirect you a login page when you access it for the first time:

In this page, you can create a password or directly use the token to access Jupyter Notebook. The token can be found on the terminal of the machine. With this token, you can pass the authentication and access this page:

From here, you can follow the scenarios, improve your AI/ML skills, learn different attack methodologies and more.
nvm install v18.16.0
nvm use v18.16.0
npm install
npm run dev
| Variable | Default | Description |
|---|---|---|
| REDAIRANGE_JWT_EXPIRES_IN | 7d | Sets JWT lifetime, for example 12h, 7d, 30d |
| REDAIRANGE_CONSOLE_ALLOWLIST | docker,ls,cd,dir,cat,echo,pwd | Defines allowed commands for the built in console |
| REDAIRANGE_AGENT_CREDENTIALS_KEY | auto generated | Optional key for credential encryption at rest |
| REDAIRANGE_WS_ORIGIN_CHECK | strict | strict enforces host check, bypass disables it |
Example:
environment:
- REDAIRANGE_STACKS_DIR=/opt/stacks
- REDAIRANGE_PORT=5002
- REDAIRANGE_JWT_EXPIRES_IN=12h
- REDAIRANGE_CONSOLE_ALLOWLIST=docker,ls,cd,pwd
- REDAIRANGE_WS_ORIGIN_CHECK=strict
The interface is designed to simplify scenario deployment and daily operations.
The training path is organized into five modules.
Red AI Range (RAR) 是一个专为 AI 安全评估、AI 红队演练(Red Teaming)以及漏洞研究设计的专业化平台。随着 AI 技术在关键业务系统中的广泛应用,组织需要一种结构化的方式来评估其安全性。RAR 提供了一个可控且可重复的实验环境,帮助安全团队测试 AI 系统、验证防御策略,并通过实战场景对人员进行专业培训。
Red AI Range 具备强大的核心能力,旨在��� AI 安全研究提供全方位的支持。平台集成了多种安全评估工具,能够模拟真实的攻击场景,帮助开发者和安全专家识别 AI 模型及其基础设施中的潜在风险,实现从模型层到应用层的全面安全覆盖。
本项目推荐使用 Docker 进行快速部署。首先通过 git clone 克隆仓库,随后在项目根目录下运行 `docker compose up -d` 即可启动平台。默认访问地址为 http://localhost:5002。特别提醒:若在 macOS 环境下使用 Docker Compose,请务必在 volumes 配置中使用绝对路径,以确保数据卷挂载正确。
平台设计直观,旨在简化安全场景的部署与日常运维操作。用户可以通过 Web 界面快速启动预设的攻击或防御场景,通过模拟真实的 AI 攻击流程,实现对 AI 系统安全性的闭环测试与验证。
除了 Docker 部署外,开发者还可以进入 Native 开发模式,通过 nvm 安装指定版本的 Node.js 环境进行调试。此外,平台支持通过环境变量进行安全配置,例如通过 REDAIRANGE_JWT_EXPIRES_IN 设置 JWT 的有效期,或利用 REDAIRANGE_CONSOLE_ALLOWLIST 定义内置 Console 的命令白名单,以增强系统安全性。
Red AI Range 的接口设��充分考虑了易用性与自动化需求,旨在简化场景部署流程。通过标准化的接口,用户可以高效地管理实验环境、调度攻击任务并获取实时的安全评估反馈。
平台内置了系统化的训练模块,采用循序渐进的学习路径。模块一侧重于 AI/ML 基础知识及安全开发环境的构建;模块二则深入探讨模型开发阶段的攻击技术,包括各种 Poisoning Attack(中毒攻击)手段,如 Backdoor poisoning(后门中毒)和 Clean-label attacks(干净标签攻击),帮助学员掌握从攻击实施到防御缓解的全流程技能。
功能齐全,适合红队安全测试
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:红队AI安全 的核心功能完整,质量优秀。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | RedAiRange |
| 原始描述 | 开源AI工具:A professional AI security range for red teaming, vulnerability research, defens。⭐131 · Jupyter Notebook |
| Topics | ai-red-teamai-securityjupyter-notebook |
| GitHub | https://github.com/ErdemOzgen/RedAiRange |
| License | MIT |
| 语言 | Jupyter Notebook |
收录时间:2026-07-01 · 更新时间:2026-07-03 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。