Effective and Efficient Jailbreaks of Black-Box LLMs with Cross-Behavior Attacks

Vasudev Gohil
3/12/2025
cs.CRcs.AIcs.CL

No official code found. Best implementation: gohil-vasudev/JCB (3 stars, MIT, last commit 2026-01-02).

Abstract

Despite recent advancements in Large Language Models (LLMs) and their alignment, they can still be jailbroken, i.e., harmful and toxic content can be elicited from them. While existing red-teaming methods have shown promise in uncovering such vulnerabilities, these methods struggle with limited success and high computational and monetary costs. To address this, we propose a black-box Jailbreak method with Cross-Behavior attacks (JCB), that can automatically and efficiently find successful jailbreak prompts. JCB leverages successes from past behaviors to help jailbreak new behaviors, thereby significantly improving the attack efficiency. Moreover, JCB does not rely on time- and/or cost-intensive calls to auxiliary LLMs to discover/optimize the jailbreak prompts, making it highly efficient and scalable. Comprehensive experimental evaluations show that JCB significantly outperforms related baselines, requiring up to 94% fewer queries while still achieving 12.9% higher average attack success. JCB also achieves a notably high 37% attack success rate on Llama-2-7B, one of the most resilient LLMs, and shows promising zero-shot transferability across different LLMs.

View on arXivView PDF

Code Implementations(1)

gohil-vasudev/JCBCommunity59%
MIT

Official implementation of my LLM jailbreaking paper "Effective and Efficient Jailbreaks of Black-Box LLMs with Cross-Behavior Attacks".

31Shell, PythonDec 5, 20259 months agoMIT

Similar Papers

Cite this paper

@article{gohil2025effective,
  title  = {Effective and Efficient Jailbreaks of Black-Box LLMs with Cross-Behavior Attacks},
  author = {Vasudev Gohil},
  year   = {2025},
  eprint = {2503.08990},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.08990v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.08990.svg)](https://codeofpaper.com/paper/2503.08990)

Discussion