atlas

Research map / Large language models / Language, safety and interpretability

h4rm3l: A Language for Composable Jailbreak Attack Synthesis

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Jailbreak attacks and defenses

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Presents h4rm3l, a DSL-based toolkit and program-synthesis system that composes parameterized string transformations into jailbreak attacks, plus a released dataset of synthesized attacks and benchmark responses from six LLMs.

Problem

Existing LLM safety assessments rely on fixed templated jailbreak prompts and benchmarking pipelines, which fail to capture the composable, evolving nature of jailbreak attacks.

Approach

Express jailbreak attacks as compositions of parameterized string transformation primitives in a formal, human-readable DSL, and automatically synthesize new attacks optimized against a target LLM using a bandit-driven program synthesizer with LLM-estimated attack success.

Key results

Limitations

Experimental setup

Datasets: AdvBench

Benchmarks: AdvBench

Metrics: attack success rate (estimated ASR)

Baselines: SOTA jailbreak attacks (23 reference attacks)

Builds on: AdvBench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy