Skip to content

The research shows that simple attacks can bypass the safety guardrails of reasoning models such as gpt-ossStrong but Brittle: Simple Attacks Subvert Reasoning-based Safety Guardrails

Paper Tracker· arXiv:2510.11570· Shuo Chen, Zhen Han, Haokun Chen, Bailan He, Shengyun Si, Jingpei Wu, Philip Torr, Volker Tresp, Jindong Gu·Indexed by this site · 2026-10-01· Originally publishedSelected AttacksSelectedAttention40

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

The authors propose four stage transition attacks; the FoR success rate of gpt-oss-120b on AdvBench is 96.25% (Table 1).

Threat modelCO requires model gradients, EST requires template markers; the local RH template version also requires marker access, while closed-source evaluation uses behavioral FoR/RH black-box variants. The goal is to bypass or manipulate safety reasoning to elicit harmful answers.

Questions
Open-weight reasoning large language models rely on explicit safety reasoning guardrails to resist malicious requests. However, the fragility of such security mechanisms based on a reason-then-answer architecture has not been systematically examined.
Methods
Targeting stage-transition vulnerabilities, the authors propose four attack methods: EST (forged markers to skip reasoning), CO (optimized template-free adversarial suffix), FoR (disguised over-refusal expression), and RH (injected malicious reasoning chain).
Experiments and results
Across the five benchmarks for local gpt-oss-20b/120b, the ASR of RH exceeds 90% (Table 1); successful attacks also appear on TARS, SafeChain, and closed-source tests (Tables 5, 10).
Limitations and future work
The authors note that the final-stage safety check was not evaluated as a model-side defense and list it as future work; in the experiments, CO and EST were not tested on closed-source models because they require gradients or reserved tokens.
Experimental setupgpt-oss-20b、gpt-oss-120b et al. · StrongREJECT、AdvBench et al. · ASR、Harm Score
Evaluated models
gpt-oss-20bgpt-oss-120bQwen3-4B-Thinking-2507Phi-4-Reasoning-PlusDeepSeek-R1-Distill-Llama-8BTARSSafeChainGPT-5.4-nanoGPT-5Claude-Opus-4.8
Benchmarks
StrongREJECTAdvBenchHarmBenchCatQAJBB-Behaviors
Metrics
ASRHarm Score
AI summaryand selection rationaleThe researchers found that reasoning-based safety guardrails depend on template token transition logic between the reasoning stage and the answer stage, and this logic can be simply manipulated to bypass safety reasoning or hijack the reasoning process. They accordingly propose four red-team methods: forced stage switching injects template tokens and fabricated safety reasons to make the model skip reasoning; forced optimization uses gradient search for adversarial suffixes without template tokens to trigger the answer stage; forged over-refusal uses an auxiliary model to rewrite harmful questions into expressions that appear over-refusal; and reasoning hijacking embeds an attacker-specified reasoning chain into the reasoning stage to generate more targeted harmful content. In local gpt-oss-20b and 120b tests, reasoning hijacking achieves attack success rates above 90% across the five benchmarks StrongREJECT, AdvBench, HarmBench, CatQA, and JBB-Behaviors; results for the other methods and API settings vary. The authors also tested models and reasoning-based defenses including Qwen3, Phi-4, DeepSeek-R1, TARS, and SafeChain.

The researchers found that reasoning-based safety guardrails depend on template token transition logic between the reasoning stage and the answer stage, and this logic can be simply manipulated to bypass safety reasoning or hijack the reasoning process. They accordingly propose four red-team methods: forced stage switching injects template tokens and fabricated safety reasons to make the model skip reasoning; forced optimization uses gradient search for adversarial suffixes without template tokens to trigger the answer stage; forged over-refusal uses an auxiliary model to rewrite harmful questions into expressions that appear over-refusal; and reasoning hijacking embeds an attacker-specified reasoning chain into the reasoning stage to generate more targeted harmful content. In local gpt-oss-20b and 120b tests, reasoning hijacking achieves attack success rates above 90% across the five benchmarks StrongREJECT, AdvBench, HarmBench, CatQA, and JBB-Behaviors; results for the other methods and API settings vary. The authors also tested models and reasoning-based defenses including Qwen3, Phi-4, DeepSeek-R1, TARS, and SafeChain.

Why it was selectedThe paper reveals that the stage transition logic of reasoning-based safety guardrails can be simply manipulated, and provides attack success rates across models and closed-source APIs, offering transferable failure analysis for guardrail design.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The paper studies the vulnerability of explicit safety guardrails in large reasoning models, investigating whether stage transition logic can be bypassed or manipulated to produce harmful outputs.

    The explicit safety reasoning guardrails of large reasoning models have vulnerabilities in stage transition logic, which can be easily bypassed or maliciously manipulated to generate harmful content.

    • Scenario and importance: After the weights of open-source large reasoning models (LRMs) are released, they cannot be centrally retroactively patched and lack runtime monitoring; if their safety guardrails have easily exploitable vulnerabilities, there is a risk of diffusion (Section 1).
    • Existing defenses and shortcomings: Although reasoning-based safety guardrails such as Deliberative Alignment achieve high refusal rates under direct questioning, traditional prefix filling, gradient attacks (e.g., GCG), or long decryption attacks are mostly blocked or costly against LRMs, and their real safety has not been systematically tested (Sections 1, 2).
    • Core observation: LRMs adopt a "reason first, then answer" paradigm, and their safety guardrails rely heavily on special control tokens that mark the start and end of reasoning and on fixed structures, making the stage transition logic susceptible to prompt manipulation (Sections 2, 3).
    • Proposed approach of the paper: The authors design four red teaming attack methods—EST, CO, FoR, and RH—targeting different stages of the guardrail pipeline for bypassing, adversarial optimization, or reasoning hijacking (Section 4).
    • Threat model:
      • Attacker goal: Bypass safety reasoning or directly manipulate the reasoning process to induce the target model to give a specific violating answer (Section 4).
      • Attacker knowledge: CO requires model gradients; EST requires reserved tokens and template access. The local RH template version also relies on tokens; closed-source API evaluation uses behavioral FoR/RH black-box variants. The RH classification in Table 9 and Appendix B.3 is not fully consistent, and not all implementations can be summarized as pure black-box (Section 5.3, Appendix B.3, D.1–D.2).
      • Attacker capability: Appending special tokens to input prompts, forging reasoning chains, adding adversarial suffixes, or semantically reconstructing questions (Section 4).
      • Victim systems and judgment: Covers open-source and closed-source large reasoning models; success is determined by refusal word matching, Llama-Guard-3-8B, HarmBench classifier, and harmfulness scoring (Section 5.1).
  2. What related research exists?

    Related work covers reasoning safety guardrail construction and targeted red-team attacks; the authors state that this paper establishes a systematic red-team framework for each stage of aligned reasoning.

    Related work mainly focuses on the design of reasoning safety guardrails, red teaming attacks against reasoning models, and traditional jailbreak techniques (Section 2).

    • Reasoning-based safety guardrail construction:
      • Early chain-of-thought safety: Wei et al. (2022) proposed chain-of-thought reasoning; Zhang et al. (2024) and Sel et al. (2025) introduced backtracking mechanisms; Zhang et al. (2025b) and Yang et al. (2025b) proposed introspective reasoning and Safety CoT, respectively, to improve model safety.
      • LRM safety alignment: Guan et al. (2024) proposed Deliberative Alignment, which uses explicit safety reasoning to make the model conduct policy deliberation before answering; Qwen3 (Yang et al., 2025a) and Phi-4 (Abdin et al., 2025) combine data filtering and preference alignment, respectively, to build guardrails; TARS (Kim et al., 2025) uses reinforcement learning alignment, and SafeChain (Jiang et al., 2025a) uses supervised fine-tuning to improve reasoning safety.
    • Red teaming attacks against reasoning safety guardrails:
      • Malicious intent masking: Policy Puppetry (McCauley et al., 2025) reconstructs queries into policy formats (e.g., XML); AutoRAN (Liang et al., 2025) uses educational scenarios for iterative refinement. The authors note that these methods dilute malicious intent and have high iterative reasoning overhead.
      • Reasoning overload: Nguyen et al. (2025) and Yao et al. (2025) use text encryption to increase decryption burden. The authors note that these methods have high decryption overhead and often produce irrelevant answers.
      • Chain-of-thought skipping: H-CoT (Kuo et al., 2025b) adds forged CoT to prompts; Cui & Zuo (2025) proposed reasoning interruption attacks. The authors note that their own method preserves malicious intent and requires no complex decryption.
    • Comparison baselines and evaluation benchmarks:
      • Baseline methods: The experiments compare four baselines: direct harmful questioning (Direct), Policy Puppetry, H-CoT, and AutoRAN (Section 5.1).
      • Evaluation datasets: StrongREJECT (313 items), AdvBench (520 items), HarmBench (400 items), CatQA (550 items), and JBB-Behaviors (100 items) are used, totaling 1,883 harmful samples (Table 7).
    • Positioning of this paper: The authors state that this paper does not propose isolated jailbreak prompts but establishes a unified attack framework corresponding to each stage of the LRM safety pipeline, and analyzes from a mechanistic perspective the systematic characteristics that make stage transitions susceptible to manipulation (Section 5.3).
  3. How does the paper address this problem?

    The authors propose four attacks against the reasoning model pipeline—EST, CO, FoR, and RH—which respectively achieve reasoning skipping, template-free suffix guidance, semantic disguise, and reasoning control.

    The authors propose Forced Stage Transition (EST), Forced Adversarial Optimization (CO), Forged Over-Refusal (FoR), and Reasoning Hijacking (RH), which respectively examine different failure modes of the reasoning guardrail pipeline (Section 4).

    Two-Stage Problem Setting

    • Reason-then-answer: Input x first generates a reasoning sequence, then generates an answer conditioned on that reasoning, written as p(y ∣ x)=p(y(r) ∣ x)· p(y(a) ∣ x,y(r)). Here superscripts r and a refer to the reasoning and answer stages, respectively (Section 3).
    • Structure and source: The model uses control markers to distinguish the two stages. The attack tests whether the model can mistake user-injected forged reasoning or transition signals for its own completed safety judgment (Sections 3, 4).

    Forced Stage Transition (EST)

    • Mechanism: Simulates in the input that the reasoning stage has ended, adding a manually constructed compliant reason so the model directly enters the answer stage, skipping genuine safety deliberation (Section 4.1).
    • Structure and conditions: Depends on template marker access; components and ablations of the forged reason are in Appendix B.1, C.4, D.8. Does not reproduce the original prompt or control token sequence.

    Forced Adversarial Optimization (CO)

    • Objective: Searches for an adversarial suffix that makes the model preferentially generate the answer-stage start marker rather than a general affirmative answer. The optimization is δ⋆=argmaxδ∈𝒟log p(τa(b)∣ x⊕δ); delta denotes the suffix, tau denotes the answer start marker, and the concatenation symbol indicates appending the suffix to the input (Section 4.2).
    • Implementation and significance: Based on nanogcg with 300 optimization steps and search width 128, requiring gradient access. The objective also includes a low-resource-language answer requirement; the successful suffix itself contains no template tokens, so the authors interpret it as a training-learned transition tendency (Appendix B.2, C.4).

    Forged Over-Refusal (FoR)

    • Mechanism: An auxiliary model reconstructs harmful intent into question forms that appear superficially benign and easily over-refused, testing the residual safety capability of the final answer stage after the reasoning guardrail is bypassed. The local setting combines with EST; closed-source evaluation uses a behavioral variant without access to reserved tokens (Sections 4.3, 5.3, Appendix D.2).

    Reasoning Hijacking (RH)

    • Mechanism: An auxiliary model generates a derivation plan related to the malicious goal, making the final answer conditioned on attacker-specified reasoning rather than the model's own generated safety reasoning (Section 4.4, Appendix C.4).
    • Access conditions: The local template version replaces EST's simulated reasoning and uses template or channel markers; Appendix B.3 calls it gray-box. Closed-source API experiments additionally use a behavioral version without weight or reserved-token access, so access capability must be distinguished by implementation (Appendix B.3, D.1–D.2).
  4. What experiments did the paper conduct?

    On the two local gpt-oss models, the ASR of RH exceeds 90% across the five benchmarks; other methods and API settings need to be viewed separately in the tables.

    Experimental Setup

    • Models under test: Local deployment and API testing of gpt-oss-20b and gpt-oss-120b; extended testing of Qwen3-4B-Thinking-2507, Phi-4-Reasoning-Plus, DeepSeek-R1-Distill-Llama-8B; dedicated defense models TARS, SafeChain; closed-source models GPT-5.4-nano, GPT-5, Claude-Opus-4.8 (Section 5.1, Table 6, Table 10).
    • Evaluation datasets: 1,883 harmful samples in total, covering StrongREJECT (313), AdvBench (520), HarmBench (400), CatQA (550), and JBB-Behaviors (100) (Table 7).
    • Comparison baselines: Direct questioning (Direct), Policy Puppetry, H-CoT, and AutoRAN (Section 5.1).
    • Evaluation metrics: Harm Score (continuous score from 0 to 1, scored by a StrongREJECT fine-tuned evaluator and converted to a percentage); ASR (average of four evaluation methods) (Section 5.1, Appendix C.2).
    • Review methods and thresholds: Rejection word matching, Llama-Guard-3-8B, HarmBench's Llama-2-13b binary classifier, and Harm Score greater than 0.1 judged as harmful (Appendix C.2).
    • Sampling and repetition settings: Greedy decoding by default (temperature 0, repetition penalty 1.3, max output 1000 tokens); main experiments report mean and standard deviation over 3 random seeds (Section 5.1, Appendix D).

    Main Results

    Swipe horizontally to read the table

    Model and method (per Table 1)StrongREJECTAdvBenchHarmBenchCatQAJBB-Behaviors
    gpt-oss-20b Direct0.00%0.00%2.19%0.81%1.00%
    gpt-oss-20b AutoRAN21.80%35.14%37.12%32.68%34.52%
    gpt-oss-20b EST62.05%71.53%71.64%66.54%66.50%
    gpt-oss-20b RH91.30%91.69%92.38%91.95%91.25%
    gpt-oss-120b Direct0.00%0.00%1.09%0.18%2.38%
    gpt-oss-120b AutoRAN21.80%31.92%37.12%34.54%30.50%
    gpt-oss-120b FoR93.53%96.25%95.38%95.31%96.00%
    gpt-oss-120b RH91.69%95.33%92.06%94.00%95.50%
    • Guardrail defense baseline performance: The authors note that the original guardrails defend well against direct questioning, Policy Puppetry and H-CoT have low attack success rates, and AutoRAN, though improved, still underestimates model risk (Section 5.2).
    • Attack effectiveness of the proposed methods: The authors note that the methods proposed in this paper achieve higher success rates on both models and complete in a single round without multi-round iteration; meanwhile, the 120b model exhibits a more pronounced vulnerability to attack than the 20b model (Section 5.2).
    • Table omission note: The table above omits the lower-performing baselines Policy Puppetry and H-CoT, as well as the full data for 20b FoR and 120b EST, due to space; their means and standard deviations are fully recorded in Table 1.

    Other Models and Dedicated Defense Testing

    • Extended open-source model evaluation: Harmfulness scores were tested on Qwen3-4B-Thinking-2507, Phi-4-Reasoning-Plus, and DeepSeek-R1-Distill-Llama-8B; RH achieved maximum harmfulness of 42.04%, 73.63%, and 55.15% on the three models, respectively (Table 4); the authors note that RH is relatively consistent in effectiveness across models (Section 5.3).
    • Dedicated reasoning defense evaluation: For RL-trained TARS and SFT-trained SafeChain, direct inference ASR is 0% for both, while RH attacks achieve 95.00% and 98.00% ASR, respectively (Table 5); the authors note that stage-transition vulnerability spans different training paradigms (Section 5.3).
    • Negative results and exceptions: EST's StrongREJECT ASR on Phi-4 is only 1.76% (Harm Score 1.62%); the authors explain that this shows merely breaking the marker structure does not always force the model to output unsafe content, and the model retains some refusal capability after skipping reasoning (Section 5.3, Table 4).

    Mechanism Analysis and Over-Refusal Association

    • Replay control and linear probing: When replaying its own reasoning on gpt-oss-20b, the KL divergence at the transition point is 0; a linear probe trained on TriviaQA achieves 99.8% classification accuracy across 8 layers, and judges injected transition points as output mode with probability greater than 0.99; the authors believe the model cannot distinguish injected transitions from self-generated ones (Section 5.3, Appendix D.5).
    • Activation patching and factual intervention: Patching refusal-sample reasoning layer activations into compliance samples reverses the output on 50/50 samples and localizes to layers 0-12; injecting incorrect reasoning into 20 factual questions causes 80% incorrect answers; the authors believe exploiting prior reasoning is a general feature of autoregressive LRMs (Section 5.3, Appendix D.5).
    • Over-refusal correlation: Across 9 sample points from 3 models × 3 matched question categories, OR-Bench over-refusal rate and FoR's ASR on StrongREJECT show a statistically positive correlation (Pearson r = 0.97, p < 0.001, n = 9, per Appendix D.6, Table 14); the authors believe FoR effectively exploits the tension between safety and over-refusal mitigation.

    Defense Evaluation and Closed-Source Model Transfer

    • Defense resistance experiments: On gpt-oss-20b, testing marker stripping, marker escaping, and transition validation, per Table 11's StrongREJECT review column, the three defenses reduce the original EST's ASR to 0.32%, 4.79%, and 0%; structure-preserving adaptive variants achieve 38.33%, 38.33%, and 49.52%, and RH achieves 85.30%, 84.35%, and 54.22%. These are single review columns and cannot be mixed with Table 1's four-review average ASR; the authors note that simple filtering and structural validation struggle to defend against adaptive attacks (Section 5.3).
    • Closed-source frontier model transfer: Black-box API attacks on three commercial models using JBB-Behaviors; RH achieves 65%, 47%, and 38% ASR on GPT-5.4-nano, GPT-5, and Claude-Opus-4.8, respectively (Table 10); the authors note that harmfulness decreases monotonically with model capability and alignment strength, but the models remain affected by attacks (Section 5.3).

    Other Ablations and Analyses

    • Sampling temperature analysis: Figure 4 covers temperatures from 0.0 to 1.6; RH and FoR ASR decreases slightly at high temperatures, remaining above approximately 85% in the figure; this cannot be taken to mean that all temperatures or model settings are completely unaffected (Appendix D.9).
    • Reasoning budget analysis: Under low, medium, and high reasoning workloads, FoR and RH ASR both remain above 85%, and RH's Harm remains above 65% (per Figure 5, Appendix D.10).
    • EST component ablation: Removing the instruction requirement reduces Harm from 50.03% to 27.13%; removing the ignore policy reduces ASR to 39.75% (per Table 15).
    • Template-free adversarial optimization: CO achieves 66.75% to 74.87% ASR across 5 benchmarks on gpt-oss-20b (per Table 2).
    • Construction and inference latency: On gpt-oss-20b, EST construction takes 0 seconds and inference 1.68 seconds; CO construction takes 834 seconds; RH construction takes 2.81 seconds and inference 6.67 seconds (per Table 16).
  5. What are some points that can be further explored?

    Future directions include model-internal source-aware alignment, reasoning chain verification, and safety anchoring adjustment; evaluation scope and judge consistency still need to be distinguished.

    Limitations and future directions noted by the authors

    • Model-side final safety check not evaluated: The authors note that the final-stage safety check was not evaluated as an independent model-side defense, because the reliability of output classifiers is constrained by judge consistency and multiple judge queries would multiply inference costs; the authors list model-internal source-aware final-stage alignment as future work (Appendix D.3).
    • Structure-dependent attacks cannot be used on closed-source black boxes: The authors note that CO requires gradient access and EST requires service-provider-controlled reserved tokens; both cannot be tested on closed-source commercial model APIs due to design constraints (Section 5.3).
    • Destructured refusal generalization strategy: The authors propose exploring strategies that encourage the model to generalize refusal behavior beyond fixed structures, to reduce guardrail sensitivity to rigid stage transition formats (Section 5.4).
    • Shifting safety anchoring regions: To address the problem of safety decisions being overly concentrated in the early generation stage, the authors propose a defense idea of moving the safety anchoring position away from the earliest generation region (Section 5.4).
    • Introducing a reasoning trajectory verification module: To address the malicious control risk caused by RH, the authors propose introducing an independent reasoning verification module to review the generated reasoning chain (Section 5.4).
    • High white-box optimization time cost: The authors note that the CO method requires adversarial suffix search for each individual query, with a construction latency of 834 seconds, significantly longer than other methods (Appendix D.11).

    Experimental coverage

    • Model coverage tested: The experiments test 5 general-purpose open-source LRMs, 2 specially defense-fine-tuned LRMs, and 3 closed-source commercial reasoning models, totaling 10 models (Tables 6, 10).
    • Dataset coverage: The evaluation covers 5 benchmarks—StrongREJECT, AdvBench, HarmBench, CatQA, and JBB-Behaviors—totaling 1,883 English harmful prompts (Table 7).
    • Defense test scope: Defense experiments evaluate 3 mechanisms—token stripping, token escaping, and transition validation—on gpt-oss-20b and StrongREJECT (Table 11).
    • Closed-source test conditions: Evaluation of the 3 closed-source models is conducted only on the 100 samples of JBB-Behaviors, and due to setting constraints, only FoR and RH are tested (Table 10).
    • Limitations of judge consistency: In Table 12, the average RH ASR on gpt-oss-20b/StrongREJECT is 91.30%, the majority-vote criterion is 87.50%, and all-judged-harmful is 79.60%; the judge aggregation rule affects the success rate. The authors report that the correlation experiment has n=9, which is 3 models × 3 question types, not 9 independent models (Appendix D.4–D.6).
  6. Summarize the main content of the paper

    The paper systematically analyzes stage-transition vulnerabilities in large reasoning models, proposes four red-team methods that achieve high attack success rates across multiple models, and calls for strengthening foundational alignment.
    • Research positioning: Targeting the current state where large reasoning models (LRMs) rely on explicit chain-of-thought safety guardrails, systematically evaluating the security of their stage-transition logic (Section 1).
    • Core question: Investigating whether reasoning safety guardrails that achieve high refusal rates under direct questioning have structural vulnerabilities that can be easily bypassed or maliciously manipulated due to the rigid "reason-then-answer" format (Sections 1, 2).
    • Method design: Proposing four methods corresponding to different stages of the reasoning pipeline: EST forges transition markers to skip reasoning, CO uses gradient optimization for template-free adversarial suffixes, FoR exploits over-refusal patterns to disguise semantics, and RH injects malicious action steps into the reasoning chain (Section 4).
    • Main experimental results:
      • On gpt-oss-120b, FoR and RH achieve 96.25% and 95.33% ASR on AdvBench, and 95.31% and 94.00% ASR on CatQA, respectively (Table 1).
      • CO achieves 66.75% to 74.87% ASR across 5 benchmarks on gpt-oss-20b, and the suffix contains no template markers (Table 2).
      • On dedicated defense models TARS and SafeChain, RH achieves 95.00% and 98.00% ASR, respectively (Table 5).
      • On closed-source models GPT-5.4-nano and GPT-5, RH achieves 65% and 47% ASR, respectively (Table 10).
      • Mechanism analysis shows that replaying self-generated reasoning has KL divergence of 0 at the transition point, and early-layer activation patching reverses the output on 50/50 samples (Appendix D.5).
    • Author conclusions and implications: The authors believe that relying solely on reasoning-stage guardrails creates a false sense of security; once the transition logic is breached, the residual defense in the final answer stage is weak; the authors call for reasoning guardrails to be paired with tamper-resistant transition mechanisms and stronger internal alignment of the main model (Sections 5.4, 6).

Related papers

Both use: StrongREJECT
Show 3 more papers
Read originalarxiv.org