SlotGCG: Exploiting the Positional Vulnerability in LLMs for Jailbreak Attacks
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
As large language models (LLMs) are widely deployed, identifying their vulnerability through jailbreak attacks becomes increasingly critical. Optimization-based attacks like Greedy Coordinate Gradient (GCG) have focused on inserting adversarial tokens to the end of prompts. However, GCG restricts adversarial tokens to a fixed insertion point (typically the prompt suffix), leaving the effect of inserting tokens at other positions unexplored. In this paper, we empirically investigate slots, i.e., candidate positions within a prompt where tokens can be inserted. We find that vulnerability to jailbreaking is highly related to the selection of the slots. Based on these findings, we introduce the textitVulnerable Slot Score (VSS) to quantify the positional vulnerability to jailbreaking. We then propose SlotGCG, which evaluates all slots with VSS, selects the most vulnerable slots for insertion, and runs a targeted optimization attack at those slots. Our approach provides a position-search mechanism that is attack-agnostic and can be plugged into any optimization-based attack, adding only 200ms of preprocessing time. Experiments across multiple models demonstrate that SlotGCG significantly outperforms existing methods. Specifically, it achieves 14% higher Attack Success Rates (ASR) over GCG-based attacks, converges faster, and shows superior robustness against defense methods with 42% higher ASR than baseline approaches. Our implementation is available at hrefhttps://github.com/youai058/SlotGCGhttps://github.com/youai058/SlotGCG
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 42 of its 47 references that are in the map. First posted on arXiv 4 Jun 2026.
Builds on
42 of 47 references.
Closest ancestors · 29
Same direction, newest first
- 2025Mask-GCG: Are All Tokens in Adversarial Suffixes Necessary for Jailbreak Attacks?8 Sep
- 2025Activation-Guided Local Editing for Jailbreaking Attacks1 Aug
- 2025Attention Slipping: A Mechanistic Understanding of Jailbreak Attacks and Defenses in LLMs6 Jul
- 2025Universal Jailbreak Suffixes Are Strong Attention Hijackers15 Jun
- 2024Exploiting the Index Gradients for Optimization-Based Jailbreaking on Large Language Models11 Dec
- 2024Faster-GCG: Efficient Discrete Optimization Jailbreak Attacks against Aligned Large Language Models20 Oct
- 2024AttnGCG: Enhancing Jailbreaking Attacks on LLMs with Attention Manipulation11 Oct
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul
- 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Models31 May
- 2024Boosting Jailbreak Attack with Momentum2 May
- 2024Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling2 Mar
- 2024Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing25 Feb
17 more
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding14 Feb
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks30 Jan
- 2024Weak-to-Strong Jailbreaking on Large Language Models30 Jan
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreaker6 Nov
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Low-Resource Languages Jailbreak GPT-43 Oct
- 2023Certifying LLM Safety against Adversarial Prompting6 Sep
- 2023Detecting Language Model Attacks with Perplexity27 Aug
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher12 Aug
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
Other references · 13
- 2017Attention Is All You Needcited by 59,932
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
- 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 123
- 2023From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Modelscited by 96
- 2025Artificial Intelligence Index Report 2025cited by 58
1 more
Built on by
Citing papers per year: 2026: 1.
1 paper.