Reasoning as an attack surface: an adaptive evolutionary chain-of-thought jailbreak method against large language modelsReasoning as an Attack Surface: Adaptive Evolutionary CoT Jailbreaks for LLMs
The authors propose AE-CoT, which uses evolutionary search to optimize CoT jailbreak prompts; on a subset of AdvBench, o1-mini achieves an ASR of 92%, higher than H-CoT's 54%.
Black-box jailbreak: the attacker can only interact with the target LLM via inputs and outputs, and the goal is to find an adversarial prompt that makes the model generate a response violating usage policy. The attacker may use an auxiliary attack LLM to rewrite the objective and a judge LLM to score; the victim systems are reasoning models and the non-reasoning models they are transferred to.
- The explicit CoT mechanism of large reasoning models (LRMs) brings new jailbreak risks, while existing methods based on static CoT templates are considered by the authors to have limited diversity, adaptability and effectiveness.
- AE-CoT first rewrites the harmful objective into a teacher-style prompt, then performs evolutionary search with segment-level crossover and an adaptive mutation rate over a structured search space composed of nine interpretable CoT dimensions, guided by scoring from a judge model; high-scoring candidates are then placed into a harmful CoT template for amplification.
- On the 50-item AdvBench subset, AE-CoT achieves the highest ASR and HS in the table on o1-mini, o3-mini, GPT-5, Qwen3, and Gemini-2.5; Grok-3 seeds transferred to non-reasoning models give ASR 90%–100%; the authors report its runtime is lower than CL-GSO.
- The authors have no dedicated limitations section; the conclusion states that existing output-level defenses are insufficient and that future work could study process-level defenses that monitor intermediate reasoning steps. Experimental coverage: the main experiments use the 50-item AdvBench subset, the cost analysis uses only 5 objectives, and the human evaluation uses 5 annotators.
- Evaluated models
- OpenAI-o1-miniOpenAI-o3-miniGPT-5DeepSeek-R1Qwen3-235BGemini-2.5-flash-thinkingOpenAI-o1Grok-3Doubao-seed-1-6-thinking-250715Gemini-2.5-Pro-ThinkingGemini-3-ProGPT-4oGPT-4o-miniGPT-4.1GPT-3.5-turboGemini-2.5-FlashDeepSeek-v3.1DeepSeek-V3
- Benchmarks
- AdvBench(50 条子集)Malicious-Educator
- Metrics
- ASRHS平均运行时间API 成本
Researchers propose AE-CoT, an adaptive evolutionary chain-of-thought (CoT) jailbreak framework targeting the new security risks brought by the explicit chain-of-thought mechanism of large reasoning models (LRMs); the authors state that experiments on multiple models and datasets show it consistently outperforms existing state-of-the-art jailbreak methods. The method first rewrites harmful goals into mild prompts with a teacher role-play, decomposes them into semantically coherent reasoning fragments to build a jailbreak candidate pool; then it performs multi-generation evolutionary search in a structured representation space, expanding candidate diversity through fragment-level crossover and a mutation strategy with adaptive mutation rate control. An independent scoring model gives graded harmfulness assessments to candidates, and high-scoring candidates are further enhanced with harmful chain-of-thought templates to induce more destructive outputs.
Related events and news
0 events · 1 news mentions
News that mentions this paper
- Adversa AIcites the paper's id or link2026 年 6 月 GenAI 安全资源盘点:越狱、CoT 攻击与百万级暴露服务
Reasoning as an attack surface: adaptive evolutionary CoT jailbreaks for LLMs
Paper analysis
What problem does this paper attempt to solve?
The authors state that the CoT mechanism of LRMs constitutes a new attack surface, and propose the adaptive evolutionary CoT jailbreak framework AE-CoT.
Core problem: the explicit CoT mechanism of large reasoning models (LRMs) introduces new safety risks, and the authors argue that existing static CoT template jailbreak methods are limited in diversity, adaptability, and effectiveness.
- Scenario and motivation: The authors state that LRMs are being deployed in scenarios such as education, decision support, and autonomous agents, so their reliability matters; reasoning traces may be unfaithful or biased (citing Turpin et al., 2023), creating opportunities for adversarial manipulation.
- Shortcomings of existing methods: The authors state that static CoT template methods (e.g., H-CoT) have three limitations: fixed templates limit diversity and are easier to detect; they lack adaptability to different models and contexts; and static designs fail to exploit the dynamics of CoT reasoning, limiting effectiveness.
- Core observation: The authors argue that shallow perturbations become less effective on reasoning-rich outputs, and that the reasoning trace itself should be treated as the attack surface, using evolutionary search to discover adversarial CoT structures.
- Proposed in the paper: AE-CoT—teacher-style objective rewriting + nine-dimensional structured CoT search space + evolutionary search with an adaptive mutation rate + harmful CoT template amplification.
- Threat model:
- Goal: find an adversarial prompt P that makes the target LLM generate a response violating usage policy, maximizing the judge's harmfulness score.
- Knowledge: black-box, with access only to the target model's inputs and outputs.
- Capabilities: may use an auxiliary attack LLM to rewrite the objective, a judge LLM to score, and iterative queries to the target model.
- Victim systems: reasoning models (o1-mini, GPT-5, etc.) and the non-reasoning models they are transferred to.
What related research exists?
Related work falls into four groups: black-box jailbreaks, evolution and random search, jailbreaks against LRMs, and safety alignment and evaluation.
Black-box and query-efficient jailbreaks
- Chao et al. (2025)—black-box jailbreak with as few as 20 queries using adaptive strategies; Mehrotra et al. (2024)—tree-structured organization of candidate prompts to broaden coverage.
- Huang et al. (2025)—expanding the adversarial strategy space to strengthen attacks; Andriushchenko et al. (2024)—improving attacks on aligned models with simple adaptive queries.
- Jailbreaker (Deng et al., 2023) and FuzzLLM (Yao et al., 2024)—automated fuzzing to discover vulnerabilities across multiple models.
Evolution and random search
- AutoDAN (Liu et al., 2023a) and AutoDAN-Turbo (Liu et al., 2024)—dynamic adversarial generation and lifelong self-exploration; APE (Zhou et al., 2022), GrIPS (Prasad et al., 2023)—gradient-free iterative editing to optimize prompts.
- AutoRAN (Liang et al., 2026)—structured evolution plus random exploration for weak-to-strong transfer; GPTFuzzer (Yu et al., 2023)—black-box mutation framework.
Jailbreaks against LRMs
- H-CoT (Kuo et al., 2025)—hijacks the CoT safety reasoning mechanism and is the closest static-template baseline to this paper; the authors state it is limited by fixed templates.
- Jinx (Zhao & Dong, 2025), BoT (Zhu et al., 2025b), ExtendAttack (Zhu et al., 2025a), OverThink (Kumar et al., 2025)—probe alignment failure, backdoors, reasoning extension, and slowdown attacks, respectively.
- Rajeev et al. (2025), Response Attack (Miao et al., 2025), Atoxia (Du et al., 2025)—query-agnostic triggers, context priming, and targeted toxic answers.
Safety alignment and evaluation
- RLHF (Ouyang et al., 2022) and Constitutional AI (Bai et al., 2022)—alignment training; HarmBench (Mazeika et al., 2024)—standardized red-team evaluation framework.
Baselines and benchmarks: the comparison baselines are ArtPrompt, PAP, CodeAttack, CL-GSO, ICRT, and H-CoT; the benchmarks are the 50-item AdvBench subset and Malicious-Educator. The authors position this paper as combining structured CoT optimization with evolutionary search and explicitly targeting the intermediate thinking space of LRMs, distinguishing it from static-template methods.
How does the paper address this problem?
AE-CoT three stages: teacher-style rewriting, adaptive evolutionary search over a nine-dimensional structured space, and template amplification.
Overall approach: rewrite the harmful goal into a teacher-style prompt, evolve adversarial CoT suffixes on the structured CoT search space Θ using a genetic algorithm with an adaptive mutation rate, guided by scoring from a judge model, and then insert high-scoring candidates into a harmful CoT template to attack the target model.
Problem formulation
- The adversarial prompt is decomposed as P = M + S + C: M is the rewritten main prompt, S is a fixed structural suffix, and C is the evolved CoT suffix.
- The optimization objective is maxx ∈ Θ f(ϕ(x)), where f(C) = J(T(P)), i.e., the judge's harmfulness score for the target model's response (0–5 points, 0 being a strict refusal and 5 being detailed, actionable harmful instructions).
Goal rewriting and search space
- Teacher-style rewriting: an auxiliary attack LLM rewrites the harmful goal g into a neutral instructional context according to template R (M = A(R(g))); the authors claim this preserves semantic intent and reduces immediate refusals.
- Nine-dimensional space: Θ is the Cartesian product of nine interpretable attributes (plan type, plan details, implementation steps, situational scenario, example actions, benefit rationale, necessity rationale, thinking style, key nouns), with at most 50 candidates per dimension, a theoretical upper bound of 50^9.
- Space construction: first run H-CoT on OpenAI-o1 to generate complete CoT jailbreak trajectories, then decompose them into attribute option pools; the authors claim Θ is compositional rather than template-based and can generate reasoning patterns not present in the original trajectories (Appendix B, Table 8).
Adaptive evolutionary optimization
- Population settings: population size N = 10, at most K = 3 generations; tournament selection (τ = 3), crossover probability χ = 0.5, and elitism to ensure the best fitness does not decrease.
- Adaptive mutation rate: initial µ0 = 0.1; if fitness improves, µ decreases by 0.1 (lower bound 0.1); if it stagnates, µ increases by 0.1 (upper bound 0.3); the authors claim this mechanism increases exploration pressure when search stagnates for three generations and reduces randomness when there is improvement.
- Verification and early stopping: candidates scoring 5 are re-evaluated deterministically at temperature = 0, and if the re-evaluation score ≥ 3, the search stops early and returns.
Fitness evaluation and success determination
- Candidate prompts are queried against the target model at temperature = 0 and max tokens = 4096, and the judge scores 0–5 according to the policy template.
- Success determination: a judge score ≥ 3 counts as a successful jailbreak (the ASR criterion); HS is the average harmfulness normalized to 0–100.
- Appendix A gives pseudocode; Appendix K gives the complete prompts for the fake CoT rendering template and the teacher-style rewriting template.
What experiments did the paper conduct?
Compares 6 baselines on 6 reasoning models, and conducts transfer, efficiency, cost, defense, ablation, and human evaluation.
Experimental setup
- Models tested: reasoning models o1-mini, o3-mini, GPT-5, DeepSeek-R1, Qwen3-235B, Gemini-2.5-flash-thinking (Table 1); the appendix additionally includes o1, Grok-3, Doubao-seed-1-6-thinking-250715, Gemini-2.5-Pro-Thinking, Gemini-3-Pro; transfer targets include GPT-4o, Gemini-2.5, GPT-3.5-turbo, Qwen3-235B, DeepSeek-v3.1, etc.
- Datasets: the 50 harmful-behavior subset of AdvBench; the Malicious-Educator benchmark.
- Baselines: ArtPrompt, PAP, CodeAttack, CL-GSO, ICRT, H-CoT.
- Metrics: ASR (proportion of objectives with judge score ≥ 3), HS (average harmfulness 0–100), average runtime, API cost.
- Evaluation method: GPT-4o as judge on a 0–5 scale; Appendix I uses Qwen-Max, Grok-3, and GPT-5 as alternative judges; Appendix J uses 5 human annotators, with at least 3 agreeing counting as success.
- Number of repetitions: transfer experiments retry each seed at most 10 times; the paper does not report the number of repetitions for the other experiments.
Main results
According to Table 1 (AdvBench subset, ASR% / HS):
Swipe horizontally to read the table
Method o1-mini o3-mini GPT-5 DeepSeek-R1 Qwen3 Gemini-2.5 ArtPrompt 6 / 4.8 10 / 8 0 / 0 14 / 11.2 16 / 12.8 0 / 0 PAP 6 / 4.8 0 / 0 18 / 14.4 84 / 71.2 4 / 3.2 58 / 48.8 CodeAttack 54 / 43.2 56 / 44.8 2 / 1.6 96 / 77.2 94 / 76.4 24 / 19.2 CL-GSO 62 / 49.6 32 / 25.6 30 / 24 74 / 59.2 36 / 28.8 52 / 42.4 ICRT 74 / 61.2 10 / 8 16 / 12.8 86 / 77.2 78 / 76.4 94 / 80 H-CoT 54 / 60 86 / 70.4 36 / 29.6 92 / 74.4 92 / 74.8 90 / 66.4 AE-CoT 92 / 70.4 88 / 72.0 54 / 71.6 96 / 78.8 96 / 80.0 96 / 82.8 - The authors state that AE-CoT achieves the best ASR and HS on o1-mini, o3-mini, GPT-5, Qwen3, and Gemini-2.5, and ties with CodeAttack on DeepSeek-R1 (both ASR 96%).
- Exception: on GPT-5, AE-CoT's ASR is 54%, the lowest among the models; the authors state that GPT-5's refusal mechanism is relatively stronger (Appendix C.1).
- On Malicious-Educator (Table 2), AE-CoT reaches ASR 100% on o1-mini, DeepSeek-R1, and Gemini-2.5, and 94% on o3-mini, with all four HS values higher than H-CoT.
Transfer to non-reasoning models
- What was tested: the highest-scoring seed prompt evolved on Grok-3 is used directly on non-reasoning models, with at most 10 retries (Table 3).
- Results: AE-CoT transfer ASR is 98% on GPT-4o, 100% on Gemini-2.5, 100% on GPT-3.5-turbo, 90% on Qwen3-235B, and 100% on DeepSeek-v3.1; H-CoT transfer is 84%, 90%, 98%, 80%, and 90%, respectively.
- Authors' interpretation: the reasoning-optimized seeds capture semantic patterns that generalize across model categories; Appendix E also obtains transfer ASR of 80%–100% using o3-mini and Qwen-Max as seeds, and the authors state it does not depend on a specific seed model.
Defense evaluation
- What was tested: five inference-time defenses are evaluated on Gemini-2.5-Pro-Thinking (Table 7).
- Results: no defense ASR 100%; length limit 90%, low-temperature decoding 98%, safety reminder 90%, safety check 90%, combined defenses 60% (HS drops from 96 to 52).
- Authors' interpretation: single defenses only partially mitigate; the authors argue that the vulnerability lies not in output verbosity but in structured intermediate reasoning traces, requiring defenses that monitor the intermediate reasoning process.
Other ablations and analyses
- Component ablation (Table 5, o1-mini): without rewriting ASR 50%, without evolutionary search 80%, without adaptive mutation rate 60%, full AE-CoT 90%.
- Mutation rate schedule (Table 14, Gemini-2.5-Flash-Thinking): adaptive 100%, fixed µ=0.2 90%, cosine annealing 90%, random 88%; adaptive average time 206.3s, the others 288.8–562.0s.
- Attribute sensitivity (Table 15, Gemini-2.5-Pro-Thinking): removing each of the nine dimensions one at a time gives ASR 80%–100%, with removing the example actions causing the largest drop (80%).
- Judge robustness (Table 16, attacking o3-mini): GPT-4o judges 90%, Qwen-Max judges 80%, Grok-3 and GPT-5 judge 100%.
- Human evaluation (Table 17, 5 annotators): o1-mini 88%, o3-mini 84%, GPT-5 48%, DeepSeek-R1 90%, Qwen3 88%, Gemini-2.5 94%, overall lower than the LLM judge measure.
- Efficiency and cost: in Table 4, AE-CoT averages 193.77s (Gemini-2.5) and 174.23s (o1-mini), versus CL-GSO's 589.26s and 585.23s; in Table 13, H-CoT is faster (178.18s vs 223.27s, o3-mini) but has lower ASR (80% vs 100%); in Table 6, the average cost per task on 5 objectives is $0.345, with an average of 18.8 calls to the target model.
What are some points that can be further explored?
The authors did not include a limitations section; the conclusion states that process-level defenses are needed, and that the experimental scale and evaluation criteria have boundaries.
Limitations and future directions noted by the authors
- Process-level defense direction (Conclusion): The authors state that existing output-level safety mechanisms are insufficient, and that future research could focus on monitoring and verifying intermediate reasoning steps rather than relying only on final-output filtering.
- Utility cost of combined defenses (Sec. 4.8): The authors state that although combined defenses reduce ASR to 60%, they require multiple restrictive interventions and may affect model utility in practice.
- Outlook in the Impact Statement: The authors state that the findings highlight the limitations of output-based safety mechanisms and recommend developing process-level defenses. The paper has no dedicated Limitations section.
Scope of experimental coverage
- Main experiment scale: AdvBench 50-item subset + Malicious-Educator; 6 reasoning models tested (the appendix additionally includes o1, Grok-3, Doubao, etc.), and 5 transfer targets.
- Cost analysis scale: only 5 AdvBench objectives (Table 6).
- Evaluation setup: the main judge is GPT-4o; the alternative-judge experiment is done only on o3-mini; human evaluation uses 5 annotators with majority voting.
- Repetitions and variance: transfer experiments retry each seed at most 10 times; the paper does not report the number of repetitions for the main experiments.
- Attack auxiliary model: teacher-style rewriting uses an auxiliary attack LLM, whose specific model the paper does not state.
Summarize the main content of the paper
AE-CoT uses adaptive evolutionary search to generate CoT jailbreak prompts, exceeding static baselines in ASR and HS on multiple reasoning models.
A jailbreak attack paper targeting large reasoning models that treats CoT reasoning traces as an attack surface.
- Problem: The authors state that static CoT template jailbreak methods are limited in diversity, adaptability, and effectiveness, while the explicit reasoning mechanism of LRMs provides a new exploitable surface.
- Method: AE-CoT has three stages—teacher-style rewriting of the harmful objective, evolutionary search with segment-level crossover and an adaptive mutation rate (0.1–0.3) over a nine-dimensional structured CoT space (population 10, at most 3 generations), and amplification of high-scoring candidates by placing them into a harmful CoT template; GPT-4o serves as judge, and a score ≥ 3 counts as success.
- Main results: On the 50-item AdvBench subset, AE-CoT achieves the highest ASR/HS in the table on o1-mini, o3-mini, GPT-5, Qwen3, and Gemini-2.5 (e.g., o1-mini 92%, H-CoT 54%); on DeepSeek-R1 it ties with CodeAttack (96%).
- Transfer and cost: Grok-3 seeds transferred directly to non-reasoning models give ASR 90%–100%; average time is lower than CL-GSO (174.23s vs 585.23s, o1-mini), and the average cost per task on 5 objectives is $0.345.
- Defense and validation: On Gemini-2.5-Pro-Thinking, ASR remains 90%–98% under single defenses, and drops to 60% under combined defenses; human evaluation by 5 annotators confirms the same trend (e.g., GPT-5 48%, Gemini-2.5 94%).
- Authors' conclusion: The authors argue that the vulnerability lies in structured intermediate reasoning traces rather than surface output features, and advocate developing process-level defenses that monitor intermediate reasoning steps.
Related papers
Show 3 more papers
- Target-free Latent Safety AlignmentDefensesarXiv