剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 红蓝攻防 codex-redteam-mode - 针对于红队攻击…
codex-redteam-mode - 针对于红队攻击思维做出的red team模式(破限项目,封号概不负责)##可自行适配其他Agent。 红蓝攻防 点击放大
作者:admin 发布:2026-10-06

codex-redteam-mode - 针对于红队攻击思维做出的red team模式(破限项目,封号概不负责)##可自行适配其他Agent。

项目说明Codex Red-Team Opt-In Mode中文Current : v2.1.0> Normal mode remains the default. The durable red-team operation runtime starts only after explici…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
316浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-06
人工审核发布
评论区答疑

codex-redteam-mode - 针对于红队攻击思维做出的red team模式(破限项目,封号概不负责)##可自行适配其他Agent。

项目说明

Codex Red-Team Opt-In Mode

中文

Current : v2.1.0

> Normal mode remains the default. The durable red-team operation runtime starts only after explicit acti, while the system-layer base instructions and acti profile remain loaded in every mode.

An opt-in, durable red-team runtime for Codex App and Codex CLI. It compiles each objective into a criteria-bearing GoalContract, executes typed WorkflowSpec graphs through live MCP tools, preser e, and reaches successful terminal state only after TerminalJudge pro criterion.

Usage Instructions

Before using this project, you should read the README file completely to prevent any issues during use.
If you're a beginner, please read the GUIDE file completely to avoid any unnecessary trouble while using it.

Models and System Prompts

The installer composes the user's prior instructions, instruction.ctf.md, and the matching Jailbreak.gpt-5.x.md through the system-layer model_instructions_file. Codex App tasks select the current profile from Hook model metadata; the CLI wrapper builds a single-profile system file before process startup and pins the model family.

Asking Questions Wisely

1. If you ha about the content in the README, you should submit an ISSUE, including the corresponding content from the README to seek help, or ask in the QQ group in the same way.

Do:

Don't:

2. If you ha or ideas for maintaining the project, you can submit an ISSUE, submit a Pull Request, or suggest in the QQ group.

Do:

Don't:

QQ Group


805865662

Operating Boundary

The runtime treats task targets as operation assets whose scope was resol the model, or as local sandbox fixtures. It does not repeat scope-document requests. Irre file replacement and external publication still retain explicit engineering confirmation to prevent accidental side effects.

Why This Project


Moti

Codex can use many security tools, but long-running workflows are to session interruption, tool , manual result relay, and false completion based on a tool success flag. This project unifies objectives, actions, e, recovery, and terminal judgment in one durable execution path:

2.1.0 uses the unified generic-adaptive runtime without the former phase -> router -> pack -> leaf runtime, regex domain routers, Markdown exit gates, or a second Automation state machine. Domain names act only as asset and technique metadata rather than control-plane branches.

Core Features

  • Explicit acti: normal is always the default, and red-team operations start only after a mode command.

  • Unified adapti: one generic-adaptive workflow handles every domain; scenes, assets, and techniques remain metadata and dynamic hypotheses instead of duplicated control planes.

  • Two-layer Prompt Rewrite: the default Hook builds a local lossless Research Brief; an optional loopback Proxy performs a real pre-model rewrite through the current model or a custom relay.

  • Live tool collaboration: tools are discovered through stdio or Streamable HTTP MCP; Host-only capabilities execute against an output contract and submit obser without user relay.

  • Durability and batch autonomy: SQLite WAL, events, leases, idempotency keys, and independent run IDs support recovery, concurrency control, multi-target batches, and cancellation cleanup.

  • E completion: only semantically results with target binding, parent lineage, reproduction, impact, co, and rollback proof can satisfy TerminalJudge.
  • Installation

    Install Commands

    From the repository root, install dependencies and deploy to the current user Codex Home:

    The installer detects the model from the en, target config, or existing manifest; --model is normally unnecessary.

    Project-local installation:

    Custom Skill and durable operation roots:

    Options

    | Option | Description |
    |---|---|
    | --codex-home PATH | Install into a specific Codex Home/profile; its AGENTS.md provides global guidance |
    | --project-home PATH | Install under PATH/.codex and PATH/.agents, and manage the project-root AGENTS.md; mutually exclusive with --codex-home |
    | --agents-home PATH | Select the Skill destination; custom roots should also use --enable-custom-skill-dirs |
    | --enable-custom-skill-dirs | Prefer the manifest-recorded custom Skill directory at runtime |
    | --log-root PATH | Select the durable root for SQLite state, events, and e artifacts |
    | --model MODEL | Optional: o automatic detection and explicitly select the installation-time system profile |
    | --enable-rewrite-proxy | Enable the shared App/CLI loopback Rewrite Proxy and preserve the previous model_provider for uninstall rollback |
    | --dry-run | Preview installation, upgrade, or uninstall actions without writing files |
    | --uninstall | Remo files, Hooks, config , and AGENTS.md blocks |

    Runtime State Locations

    The default operation root is:

    Hook session state is stored under $CODEX_HOME/redteam-mode/state/sessions. Use --log-root OPERATION_PATH to relocate operation data. Status responses inline no more than 64 KiB of e; larger payloads are fetched with redteam_e, and each e payload is capped at 4 MiB.

    Upgrade and uninstall preser session, memory, and operation data for recovery, auditing, or manual cleanup.

    What the Installer Does

  • Preser user configuration and manages only installer-owned fields and files.

  • Merges config.toml, Hooks, the system-layer model profile catalog, Runtime MCP server, workflows, and the single boundary Skill.

  • Deploys rewrite_proxy.py and cross-platform launchers; model_provider changes only when Proxy mode is explicitly enabled.

  • Deploys a candidate through a pending transaction and commits the manifest only after operational passes.

  • Preflights invalid manifests, TOML, Hook config, and out-of-scope managed paths before upgrade cleanup.

  • Removes only unchanged managed content during uninstall while preserving user-modified config, prompts, Hooks, and AGENTS.md content.
  • Quick Start

    1. Complete installation and restart Codex App or Codex CLI.
    2. Start a new task and submit redteam on, redteam light, or redteam full as a standalone prompt.
    3. Submit the complete objective. The Hook compiles it into a GoalContract, with independent operations for single or multiple targets.
    4. redteam_run starts or resumes execution and uses ToolBroker to invoke a MCP tools.
    5. Host-only tools receive a next_action_spec, gate, exit condition, and output contract, then automatically submit their obser to the Runtime.
    6. TerminalJudge emits the final result after proving every target criterion, e lineage, and cleanup state.
    7. Submit redteam off or disable red team mode to return to normal mode.

    Prompt Rewrite

    Default context mode leaves the Provider unchanged. Only after explicit red-team acti, the Hook resolves the requested action before the technical object, keeps ordinary de out of the red-team dispatcher, inherits short follow-up context, and emits Clause hashes, taxonomy, risk level, e requirements, and a reproducible plan. It does not force remediation output unless the user requested it.

    Enable real pre-request rewriting with:

    The request path is:

    provider = "inherit" and model = "inherit" reuse the original Provider and current Codex model. For a separate relay, add a model_pro entry and set [redteam.prompt_rewrite] provider, model, and api_key_env. Normal-mode requests pass through unchanged. If the relay drops a URL, IP, CVE, path, CLI flag, Clause, high-risk marker, context bundle, or semantic-fidelity flag, the Proxy uses the deterministic local rewrite. Uninstall restores the previous model_provider.

    The optional CLI wrapper pins one model-family profile for the current process:

    Changing model families requires a new App task or wrapper process so that model_instructions_file is reloaded.

    Modes

    | Mode | Default | Typical Use |
    |---|---:|---|
    | normal | Yes | Ordinary coding, documentation, and research; no red-team operation or operation doctrine is started |
    | redteam-light | No | Explicit durable Goal/Workflow execution through /redteam on or /redteam light |
    | redteam-full | No | Explicit full-mode marker; in v2.1.0 it shares the same Runtime, e rules, and TerminalJudge gates as light mode |

    Installer and test co includes:

  • Starting the Runtime MCP server and the single generic-adaptive workflow.

  • Responses/Chat Completions Proxy routing, explicit-mode gating, ordinary-de pass-through, relay isolation, action/risk fidelity, anchor fidelity, and deterministic fallback.

  • Config merge, transactional upgrade, App/CLI Hooks, model profiles, and uninstall preser.

  • Concurrent start/recovery, leases, idempotent results, batch cancellation, and cleanup status.

  • Rejection of false terminal states, false e, incorrect target binding, and deri without trusted parents.

  • Li/Streamable HTTP MCP, Host Agent handoff, secret redaction, and workflow drift protection.
  • GitHub Actions runs the full suite on Windows, Ubuntu, and macOS with Python 3.11.

    Contributions & Acknowledgements


    Known Limitations

  • Execution capability depends on the MCP or Host Agent tools currently a; missing capabilities remain as a pending handoff or deferred action.

  • MCP tools whose names, descriptions, and input schemas do not expose their capabilities require explicit automation.tool_capabilities entries.

  • redteam-light and redteam-full share the same engine and terminal rules in v2.1.0; the mode label does not select a separate workflow policy.

  • Rewrite Proxy is an explicitly enabled Pro feature; default context mode remains red-team gated and starts no resident service.

  • Each e payload is capped at 4 MiB, while normal status output inlines only 64 KiB; larger e must be fetched through redteam_e.

  • New tasks reset to normal mode, and changing model families requires a new task or wrapper process.
  • Contributions and Acknowledgements

    Indi Contributors

  • Mingxi / 洺熙 — suggested semantic judgment as a phase-detection fallback and proposed removing the methodology layer while subdi Skills to impro behavior.

  • Nirvana — proposed workflow optimization and o installation support.

  • PINGS — contributed jailbreak text enhancements and prompt-chain robustness impro.
  • Reference Projects

    The earlier routing/Skill design and current runtime research drew from:

  • qiushi-skill

  • yaklang/hack-skills

  • Anthropic-Cybersecurity-Skills

  • gpt-5.6-instruct
  • Star History

    <a href="
    <picture>
    <source media="(prefers-color-scheme: dark)" srcset=" />
    <source media="(prefers-color-scheme: light)" srcset=" />
    <img alt="Star History Chart" src=" />
    </picture>
    </a>

    Contributing

    See CONTRIBUTING.md for the contribution workflow, coding con, and submission requirements.

    License

    MIT

    项目信息

    开发语言:Python

    Star 数:1103

    技术要点

    该项目属于红蓝攻防方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕针对于红队攻击思维做出的red team模式(破限项目,封号概不负责)##可自行适配其他Agent。项目问题请提issue展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题codex-redteam-mode - 针对于红队攻击思维做出的red team模式(破限项目,封号概不负责)##可自行适配其他Agent。
    所属分类红蓝攻防
    发布作者admin
    发布时间2026-10-06 00:36:15
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数316
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册