FlipAttack: Jailbreaking Large Language Models by Flipping Text
FlipAttack: Jailbreak LLMs via Flipping
The paper proposes FlipAttack, a jailbreak attack against black-box large language models that requires only a single query. Starting from the autoregressive property, the authors point out that LLMs tend to understand text from left to right, and that comprehension degrades when noise is added on the left; on this basis they use the prompt itself to construct left-side noise and extend it to 4 flip modes, then design 4 variants to guide the model to denoise, understand, and execute harmful behavior. Experiments on 8 LLMs show that the method reaches about 98% attack success rate on GPT-4o and an average bypass rate of about 98% against 5 guardrail models, and the code is open-sourced on GitHub.
Related events and news
0 events · 2 news mentions
News that mentions this paper
- Checkmatecites the paper's id or linkPIChef:一款受 CyberChef 启发的提示注入工具
FlipAttack: FlipAttack: Jailbreak LLMs via Flipping — Yue Liu, Xiaoxin He, Miao Xiong, Jinlan Fu, Shumin Deng, Yingwei Ma, Jiaheng Zhang, and Bryan Hooi.
- 腾讯 AI-Infra-Guard 版本发布names the paper腾讯 AI-Infra-Guard v4.1.14 新增 Agent 红队技能与 9 种单轮越狱攻击方法
Prompt Security: Add 9 single-turn jailbreak attack methods: PrefillAttack, ICA, PastTense, Overload, Jailbroken, FlipAttack, DeepInception, CodeChameleon, JAM (d48e508)