SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.05609 · 2026

SlotGCG: Exploiting the Positional Vulnerability in LLMs for Jailbreak Attacks

Woojin Lee, Hyeonjin Kim, Seungwon Jeong, Jiwoo Jeong, Yunseok Lee

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2606.05609.json · badge: /api/ran/2606.05609.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
youai058/SlotGCG canonical (classifier label)
classifier basis: census
5 ran · 3 no recorded run
FunctionStatusWhere it lives
expand_experiment_configs Ran
ran; our contract draft was wrong, not the code
youai058/SlotGCG/eval_utils.py
pointer only (licence: NONE) · get_code("6fa90dd36057918e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, youai058/SlotGCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

filter_first_success_only Ran
ran; our contract draft was wrong, not the code
youai058/SlotGCG/evaluate_completions_modified_GPT.py
pointer only (licence: NONE) · get_code("8ddadc8d31aad218")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, youai058/SlotGCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_indexing_expression Ran
ran; our contract draft was wrong, not the code
youai058/SlotGCG/eval_utils.py
pointer only (licence: NONE) · get_code("914cce1bc1e0a0d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, youai058/SlotGCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

regenerate_with_max_tokens Ran
ran; our contract draft was wrong, not the code
youai058/SlotGCG/generate_completions_modified.py
pointer only (licence: NONE) · get_code("7f0851353f4f57f7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, youai058/SlotGCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

replace_model_parameters Ran
ran; our contract draft was wrong, not the code
youai058/SlotGCG/eval_utils.py
pointer only (licence: NONE) · get_code("0393dcd85dc803dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, youai058/SlotGCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

evaluate_single_completion_classifier Not yet run
unverified (harvested, no recorded run)
youai058/SlotGCG/evaluate_completions_modified.py
pointer only (licence: NONE) · get_code("c46ed1adada75484")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, youai058/SlotGCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

evaluate_single_completion_hash_check Not yet run
unverified (harvested, no recorded run)
youai058/SlotGCG/evaluate_completions_modified.py
pointer only (licence: NONE) · get_code("3b39daf6ac7dfd74")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, youai058/SlotGCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_model_and_tokenizer Not yet run
unverified (harvested, no recorded run)
youai058/SlotGCG/baselines/model_utils.py
pointer only (licence: NONE) · get_code("419da37a5e7e4f3a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, youai058/SlotGCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
expand_experiment_configs 3 other papers
3 dated earlier
2408.14866 (2024-08)
Advancing Adversarial Suffix Transfer Learning on Aligned Large Language Models
2502.12970 (2025-02)
Reasoning-to-Defend: Safety-Aware Reasoning Can Defend Large Language Models from Jailbreaking
2605.08898 (2026-05)
LLM-Agnostic Semantic Representation Attack
parse_indexing_expression 3 other papers
3 dated earlier
2408.14866 (2024-08)
Advancing Adversarial Suffix Transfer Learning on Aligned Large Language Models
2502.12970 (2025-02)
Reasoning-to-Defend: Safety-Aware Reasoning Can Defend Large Language Models from Jailbreaking
2605.08898 (2026-05)
LLM-Agnostic Semantic Representation Attack
replace_model_parameters 3 other papers
3 dated earlier
2408.14866 (2024-08)
Advancing Adversarial Suffix Transfer Learning on Aligned Large Language Models
2502.12970 (2025-02)
Reasoning-to-Defend: Safety-Aware Reasoning Can Defend Large Language Models from Jailbreaking
2605.08898 (2026-05)
LLM-Agnostic Semantic Representation Attack

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Warning: This paper contains model outputs that are offensive in nature. 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 Vulnerable 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 https://github.com/youai058/SlotGCG

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2606.05609")
get_code_for_paper("2606.05609")
have("2606.05609")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2606.05609.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2606.05609.svg)](https://syntology.ai/paper/2606.05609)

Connect an agent — have() is free.