mlsanityData to 7 Oct 2026

SlotGCG: Exploiting the Positional Vulnerability in LLMs for Jailbreak Attacks

arXiv 2606.05609 ↗First posted 4 Jun 2026cs.CR cs.AI cs.LGcited by 1

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

  1. 2025Mask-GCG: Are All Tokens in Adversarial Suffixes Necessary for Jailbreak Attacks?8 Sep
  2. 2025Activation-Guided Local Editing for Jailbreaking Attacks1 Aug
  3. 2025Attention Slipping: A Mechanistic Understanding of Jailbreak Attacks and Defenses in LLMs6 Jul
  4. 2025Universal Jailbreak Suffixes Are Strong Attention Hijackers15 Jun
  5. 2024Exploiting the Index Gradients for Optimization-Based Jailbreaking on Large Language Models11 Dec
  6. 2024Faster-GCG: Efficient Discrete Optimization Jailbreak Attacks against Aligned Large Language Models20 Oct
  7. 2024AttnGCG: Enhancing Jailbreaking Attacks on LLMs with Attention Manipulation11 Oct
  8. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul
  9. 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Models31 May
  10. 2024Boosting Jailbreak Attack with Momentum2 May
  11. 2024Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling2 Mar
  12. 2024Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing25 Feb
17 more
  1. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding14 Feb
  2. 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks30 Jan
  3. 2024Weak-to-Strong Jailbreaking on Large Language Models30 Jan
  4. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  5. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
  6. 2023DeepInception: Hypnotize Large Language Model to Be Jailbreaker6 Nov
  7. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
  8. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
  9. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
  10. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  11. 2023Low-Resource Languages Jailbreak GPT-43 Oct
  12. 2023Certifying LLM Safety against Adversarial Prompting6 Sep
  13. 2023Detecting Language Model Attacks with Perplexity27 Aug
  14. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher12 Aug
  15. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug
  16. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  17. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul

Other references · 13

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2025Qwen3 Technical Reportcited by 8,195
  7. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
  8. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
  9. 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
  10. 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 123
  11. 2023From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Modelscited by 96
  12. 2025Artificial Intelligence Index Report 2025cited by 58
1 more
  1. 2023Make Them Spill the Beans! Coercive Knowledge Extraction from (Production) LLMscited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.