ReCode compositional attack achieves 85% ASR on GPT-5 with only 20 target calls
Auto-published from arXiv:2608.17360 by the mine-arxiv pipeline. Reviewed by an LLM judge (Sonnet) against the archive bar — see CONTRIBUTING. Notes: cleared review (confidence 0.82, flags: [possible-zero-day, no-prompt-excerpt]) ⚠ needsDisclosureReview = true — review for undisclosed vulnerability before any public submission.
Category
jailbreak
Model
GPT-5
Surface
API
Setup
The ReCode pipeline applies three sequential primitives to a harmful request from HarmBench (200 standard text behaviors) or JailbreakBench (100 harmful requests): (1) desensitization rewriting via objective-substitution using Qwen2.5-7B-Instruct (temperature 0.7) as the attacker model — one attacker call; (2) attacker-free character-level perturbation with perturb_sigma=0.5 combining case inversion and ASCII character insertion; (3) random code-style nesting template wrapping. Each ReCode attempt consumes exactly one attacker call and one target call. Full templates are in Appendix E.1–E.2 of the paper; the paper notes it 'contains potentially offensive and harmful text' but does not reproduce verbatim harmful prompts in the main body.
Reproduction anchor
code: https://github.com/xsddys/Fair-ASR; benchmark: HarmBench standard text behaviors (n=200) and JailbreakBench (n=100); attacker model: Qwen2.5-7B-Instruct; judge: GPT-4o with X-Teaming rubric (score=5 threshold)
Observed behavior
Under a Fair-ASR budget of B=20 target calls, ReCode achieves 85% ASR on GPT-5 while averaging only 7.19 attacker calls per request. The strongest prior LLM-driven baseline (ReNeLLM) reaches only 57% ASR with 18.69 attacker calls at the same budget. ReCode also achieves 80% ASR on Gemini 3.1-Pro (7.51 attacker calls) and 81.0% average ASR across three tested frontier models.
Expected behavior
GPT-5 should refuse harmful requests from HarmBench/JailbreakBench regardless of surface-level reformatting, character perturbation, or code-style wrapping.
Reproducibility
high
Threat model
A red-teamer or malicious actor with API access to GPT-5 can jailbreak it at scale using only a local 7B model and ~7 attacker-side LLM calls per harmful request, achieving 85% success within 20 target API calls. The low attacker-side cost makes this practical for automated abuse pipelines targeting production frontier model APIs.
Novelty
First demonstration that composing lightweight desensitization rewriting with zero-cost character perturbation and code-style nesting outperforms all tested LLM-driven jailbreak methods in both target-call and attacker-call efficiency on GPT-5, revealing that expensive iterative optimization attacks are not budget-efficient under fair comparison.
Source
- arXiv: 2608.17360
- PDF: https://arxiv.org/pdf/2608.17360
- Categories: cs.CR, cs.AI
- Authors: Zhida He, Xiaoyu Wen, Han Qi, Ziyuan Zhou, Peng Yu, Jiajia Li, Chaochao Lu, Qiaosheng Zhang
Triage notes (auto)
- paperType:
benchmark - estimatedCaseCount: 8
- triage reason: Benchmark re-evaluating 11 concrete jailbreak attacks under Fair-ASR protocol and introducing ReCode, achieving 85% ASR on GPT-5. Multiple reproducible model-level failures with specific attack setups and budget constraints documented.
0 comments
─────────────────────────────────────────────────────────────────────
// no comments yet