GAS-Leak-LLM: Genetic Algorithm-Based Suffix Optimization for Black-Box LLM Jailbreaking

πŸ“… 2026-06-14
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
Despite the deployment of alignment and content moderation mechanisms, large language models (LLMs) remain vulnerable to black-box jailbreaking attacks. This work introduces, for the first time, a systematic application of genetic algorithms to black-box LLM jailbreaking, efficiently generating high-fitness adversarial suffixes by iteratively performing selection, mutation, and crossover operations in a discrete prompt spaceβ€”without requiring access to internal model information. The proposed method successfully jailbreaks multiple mainstream commercial LLMs under realistic black-box conditions, substantially exposing the fragility of current safety safeguards and demonstrating the effectiveness and practical utility of evolution-inspired search strategies in adversarial prompt engineering.
πŸ“ Abstract
Large Language Models (LLMs) constitute pivotal components within the AI-dominated information technology ecosystem. To mitigate risks associated with harmful or policy-violating outputs, commercial systems employ advanced alignment strategies and multi-layered content moderation mechanisms. Despite these safeguards, recent research has demonstrated that LLMs remain vulnerable to adversarial manipulation, particularly through jailbreaking and prompt injection techniques. In this work, we propose GAS-Leak-LLM a novel jailbreaking attack based on a genetic algorithm that systematically evolves adversarial suffix to bypass safety constraints. Operating in a strict black-box setting, our method requires no access to model parameters or internals, thereby reflecting realistic threat scenarios in deployed systems. Through the iterative application of selection, mutation, and crossover heuristics, the framework systematically explores the discrete prompt space to identify high-fitness adversarial suffixes. Empirical findings reveal critical shortcomings in existing safety enforcement mechanisms and confirm the effectiveness and practical viability of the proposed attack.
Problem

Research questions and friction points this paper is trying to address.

LLM jailbreaking
adversarial attack
black-box setting
safety bypass
prompt injection
Innovation

Methods, ideas, or system contributions that make the work stand out.

Genetic Algorithm
Adversarial Suffix
Black-Box Attack
LLM Jailbreaking
Prompt Optimization
A
Aman Anifer
Department of Computer Applications, Cochin University of Science and Technology, Kerala, India
V
Vignesh Kumar Kembu
Department of Electrical, Computer and Biomedical Engineering, University of Pavia, A. Ferrata, 5, Pavia, 27100, Italy
V
Vishnu M
Department of Computer Applications, Cochin University of Science and Technology, Kerala, India
Antonino Nocera
Antonino Nocera
Associate Professor, University of Pavia
Artificial IntelligenceSecurityPrivacyData Science
V
Vinod P.
Department of Computer Applications, Cochin University of Science and Technology, Kerala, India
A
Amal Murali PK
Department of Computer Applications, Cochin University of Science and Technology, Kerala, India
A
Akshay S Rajan
Department of Computer Applications, Cochin University of Science and Technology, Kerala, India