DeepTeam is a framework to red team LLMs and AI agents.
Tighten wording in the jailbreak price curve post
penguinea487bb51c038
diff --git a/docs/content/blog/2026_oct/jailbreak-price-curve/article.mdx b/docs/content/blog/2026_oct/jailbreak-price-curve/article.mdxindex 93fff28b..1f40c6e8 100644--- a/docs/content/blog/2026_oct/jailbreak-price-curve/article.mdx+++ b/docs/content/blog/2026_oct/jailbreak-price-curve/article.mdx@@ -14,13 +14,13 @@ That's it. No role-play, no clever persona, no 2,000-word prompt about a grandmoAsked once, frontier models refuse it. Asked 10,000 times, each time with a fresh random scramble, it gets GPT-4o to comply with 89% of harmful requests, and Claude 3.5 Sonnet with 78%.-This should change how you read every number in every jailbreak benchmark. When a model card says a model "resists 98% of jailbreak attempts", the useful follow-up question is not *which* attacks were tried. It's *how many times*.+This should change how you read every number in every jailbreak benchmark. When a model card says a model "resists 98% of jailbreak attempts", the first question to ask is not *which* attacks were tried. It's *how many times*.***A model doesn't have a jailbreak rate. It has a price curve.***The price is paid in three currencies: how many times the attacker retries, how many examples they stuff into the context window, and how many turns of conversation they're willing to sit through. In each case, attack success climbs along a curve so regular you can fit an equation to it and forecast the next order of magnitude. And the most uncomfortable finding of all: the safety training we rely on mostly moves that curve to the right. It rarely flattens it.-In this post we'll go through the research behind that claim, reproduce one of its central results ourselves, and finish with what it means for how you red team your own LLM application. Here's the short version:+This post covers the research behind that claim, reproduces one of its central results, and ends with what to change in how you red team your own LLM application. The short version:- **Retries:** random, meaningless perturbations break every frontier model tested once you sample enough of them, and the success rate follows a power law you can forecast from a small run.- **The "winning" prompt is a mirage:** a prompt that jailbroke the model once usually doesn't do it again.@@ -28,9 +28,6 @@ In this post we'll go through the research behind that claim, reproduce one of i- **Safety training raises the price, not the slope:** standard alignment shifts the curve; it doesn't stop it from climbing.- **Turns:** multi-turn attacks break defenses that look nearly perfect against single-turn ones.- **The practical upshot:** report attack success as a function of attacker budget, never as one number.--Let's get started.-## The dumbest jailbreak that worksThe attack in the introduction is called [Best-of-N (BoN) Jailbreaking](https://arxiv.org/abs/2412.03556), by Hughes et al. (2024). It's almost insultingly simple.@@ -47,13 +44,13 @@ Send the result to the model. Ask a classifier whether the response was harmful.<ImageDisplayer id="diagrams/external/reference/best-of-n-augmentations" caption="Figure 2 of Hughes et al. (2024): the text, audio and image augmentations Best-of-N samples from. Reproduced under CC BY 4.0." />-There is no optimization here. Nothing learns. Augmentation 7,342 knows nothing about augmentations 1 through 7,341. It is pure brute-force sampling, and the only thing an attacker needs is patience and an API key.+There is no optimization here, and nothing learns: augmentation 7,342 knows nothing about augmentations 1 through 7,341. It is pure brute-force sampling, and the only thing an attacker needs is patience and an API key.The results, on 159 harmful requests from [HarmBench](https://arxiv.org/abs/2402.04249), are below. We've re-plotted them directly from the paper's cost table (Table 3), with attempts on a log scale:<ImageDisplayer id="diagrams/in-house/attacks/bon-asr-by-attempts" />-Notice the shape. On a log axis, every line is still going up at the right edge. None of these models has a ceiling that the attacker hits. They have a slope.+Notice the shape: on a log axis, every line is still going up at the right edge. None of these models has a ceiling that the attacker hits, only a slope.And because the paper reports what each run cost, we can price it in dollars:@@ -94,11 +91,11 @@ For Claude 3.5 Sonnet the fit is $a = 3.28$, $b = 0.282$, and it predicts 78.3%.<ImageDisplayer id="diagrams/in-house/attacks/bon-sonnet-forecast" />-It isn't a lucky draw. Across all six models in the table, the forecast lands within 1.6 percentage points of what was later observed:+It isn't a lucky draw: across all six models in the table, the forecast lands within 1.6 percentage points of what was later observed:<ImageDisplayer id="diagrams/in-house/attacks/bon-forecast-vs-observed" />-Sit with that for a moment. Your red team can run 1,000 attempts, fit two parameters, and tell you with reasonable confidence what an attacker with ten times your budget would achieve. That is a far more useful statement about a model than "we tried 50 jailbreaks and 3 worked".+The practical payoff is that your red team can run 1,000 attempts, fit two parameters, and tell you with reasonable confidence what an attacker with ten times your budget would achieve. That is a far more useful statement about a model than "we tried 50 jailbreaks and 3 worked".## Why a power law? Each prompt breaks exponentially@@ -116,11 +113,11 @@ If a few requests have extremely small $p$ — the distribution is heavy-tailed<ImageDisplayer id="diagrams/in-house/red-teaming/per-prompt-vs-aggregate" />-This explains two things that matter in practice. First, a single-attempt success rate of 0% tells you almost nothing: it's perfectly consistent with every request having a small but nonzero chance of breaking. Second, your benchmark's long-run attack success is decided by its hardest requests, which is exactly where safety teams should be looking.+This explains two things that matter in practice. First, a single-attempt success rate of 0% tells you almost nothing: it's perfectly consistent with every request having a small but nonzero chance of breaking. Second, your benchmark's long-run attack success is decided by its hardest requests, so that's where safety teams should focus.## The "winning prompt" is a mirage-The exponential-per-request picture has a counterintuitive corollary. If BoN works by sampling until the dice land right, the specific augmented prompt that worked shouldn't be special. And it isn't.+The exponential-per-request picture has a counterintuitive corollary. If BoN works by sampling until the dice land right, the specific augmented prompt that worked shouldn't be special, and it isn't.The authors took every successful BoN jailbreak and simply sent the exact same augmented prompt again. Here's how often it worked the second time:@@ -134,7 +131,7 @@ This matters for how teams handle red teaming findings. If you save "the jailbre## A second budget: shots-Retries are one way to spend attacker budget. Context length is another.+Retries are one way to spend attacker budget; context length is another.[Many-shot Jailbreaking](https://proceedings.neurips.cc/paper_files/paper/2024/file/ea456e232efb72d261715e33ce25f208-Paper-Conference.pdf), by Anil et al. at Anthropic (NeurIPS 2024), fills the context window with a long, fake dialogue in which an "assistant" happily answers hundreds of harmful questions, then appends the real one. The model, being an excellent in-context learner, continues the pattern.@@ -150,7 +147,7 @@ Now the uncomfortable part. The authors attacked models of different sizes from<ImageDisplayer id="diagrams/external/reference/many-shot-jailbreaking-model-size" caption="Figure 2 of Anil et al. (2024). Middle: larger models (lighter green) learn the harmful pattern faster in context, so their power-law slope is steeper. Right: reformatting the attack shifts the line but keeps its slope." />-It makes sense once you see it. Many-shot jailbreaking isn't a bug in the safety training; it's the model's in-context learning doing exactly what it was trained to do. Better models are better in-context learners, so they learn the harmful pattern from fewer examples. Capability is the vulnerability. The paper also shows the same power laws on harmless in-context learning tasks, which is what you'd expect if it's the same mechanism.+Many-shot jailbreaking isn't a bug in the safety training; it's the model's in-context learning doing exactly what it was trained to do. Better models are better in-context learners, so they learn the harmful pattern from fewer examples. Capability is the vulnerability. The paper also shows the same power laws on harmless in-context learning tasks, which is what you'd expect if it's the same mechanism.The right-hand panel matters too. When the authors swapped the user/assistant tags, translated them, or replaced them with "Question" and "Answer" — the kind of change a filter looking for fake dialogues might force an attacker into — the line moved, but the slope didn't. If anything, the reformatted attacks worked *better*.@@ -162,13 +159,13 @@ The many-shot paper tracked the power law throughout supervised fine-tuning and<ImageDisplayer id="diagrams/external/reference/many-shot-jailbreaking-alignment-training" caption="Figure 4 of Anil et al. (2024): as supervised and reinforcement learning progress (lighter colors), the lines move up — the attack needs more shots — but their slopes stay the same." />-Training raises the intercept. It doesn't reduce the exponent. In the authors' words, a unit increase in the intercept corresponds to an exponential increase in the number of shots needed, which genuinely helps for a model with a bounded context window. But the attacker can still get there with a longer prompt — and since many-shot composes with other jailbreaks that lower the intercept again, the protection is fragile.+Training raises the intercept but doesn't reduce the exponent. In the authors' words, a unit increase in the intercept corresponds to an exponential increase in the number of shots needed, which genuinely helps for a model with a bounded context window. But the attacker can still get there with a longer prompt — and since many-shot composes with other jailbreaks that lower the intercept again, the protection is fragile.Here's the shape of the argument, in one picture:<ImageDisplayer id="diagrams/in-house/attacks/msj-intercept-vs-slope" />-That gives a much sharper way to judge any defense: **does it shift the curve, or flatten it?** Shifting buys time. Only flattening — reducing the slope, or raising the floor $K$ — buys safety at any budget.+That gives a much sharper way to judge any defense: **does it shift the curve, or flatten it?** Shifting buys time, while only flattening — reducing the slope, or raising the floor $K$ — buys safety at any budget.Interestingly, the one defense in the paper that came close to doing this wasn't training at all. With a 205-shot attack on the deception category, prepending refusal examples to the prompt (In-Context Defense) barely helped, while wrapping the prompt in natural-language warnings (Cautionary Warning Defense) cut attack success from 61% to 2%:@@ -176,7 +173,7 @@ Interestingly, the one defense in the paper that came close to doing this wasn't## A third budget: turns-The last currency is conversation length. Instead of retrying or padding, the attacker talks.+The last currency is conversation length: instead of retrying or padding, the attacker talks.[Crescendo](https://arxiv.org/abs/2404.01833), from Russinovich et al. at Microsoft, never asks for anything harmful outright. It opens with an innocent, related question, then repeatedly asks the model to expand on what *it just said*, escalating a little each turn. When the model refuses, it backtracks and rephrases. The model's own previous answers become the jailbreak.@@ -190,7 +187,7 @@ The starkest evidence for the turns budget, though, comes from humans. Scale AI'<ImageDisplayer id="diagrams/in-house/attacks/mhj-human-vs-automated" />-Circuit breakers go from 8.3% to 51.7%. LAT goes from 10% to 75.4%. And 91.62% of the successful human jailbreaks needed more than one turn. A defense evaluated only on single-turn attacks has been evaluated on a budget of one turn — and we now know what happens to these curves at a budget of one.+Attack success against circuit breakers goes from 8.3% to 51.7%, and against LAT from 10% to 75.4%. And 91.62% of the successful human jailbreaks needed more than one turn. A defense evaluated only on single-turn attacks has been evaluated on a budget of one turn — and we now know what happens to these curves at a budget of one.For our own data on this, we found the same pattern in our [multi-turn jailbreaking analysis](/blog/multi-turn-jailbreaking-analysis-deepteam): Crescendo reached a 47.3% average breach rate across six models, against 32.8% for Tree and 19.2% for Linear jailbreaking.@@ -204,13 +201,13 @@ On Claude 3.5 Sonnet's text input, adding a many-shot prefix cut the number of a## Can defenders scale too?-It would be dishonest to stop here. Two lines of work push back on the "curves only go up" story.+In fairness, two lines of work push back on the "curves only go up" story.[OpenAI's work on inference-time compute](https://arxiv.org/abs/2501.18841) found that letting reasoning models (o1-preview and o1-mini) think longer made them more robust across a range of attacks, in many cases driving attack success toward zero as reasoning compute grew. Defenders, in other words, can have a scaling curve of their own. But the authors flag important exceptions — including settings where more thinking doesn't help, and new attacks that target the reasoning itself.-And a 2026 [systematic scaling analysis](https://arxiv.org/abs/2603.11149) that put four families of jailbreak attack on a common compute axis found success curves best described by a *saturating* exponential rather than an unbounded power law. Their curves bend over. Which description holds at extreme budgets is still an open question.+And a 2026 [systematic scaling analysis](https://arxiv.org/abs/2603.11149) that put four families of jailbreak attack on a common compute axis found success curves best described by a *saturating* exponential rather than an unbounded power law, meaning their curves bend over. Which description holds at extreme budgets is still an open question.-Neither result rescues the single-number jailbreak rate, though. Both are, themselves, curves. The argument here isn't that every model is infinitely breakable; it's that you can't know how breakable a model is without saying how much the attacker spent.+Neither result rescues the single-number jailbreak rate, though, because both are themselves curves. The argument here isn't that every model is infinitely breakable; it's that you can't know how breakable a model is without saying how much the attacker spent.## What this means for red teaming your LLM app@@ -219,7 +216,7 @@ If you take one thing from this post, make it this: **never report attack succesConcretely:1. **Sweep the budget, don't sample it.** Run each attack at several budgets — attempts per vulnerability, context length, number of turns — spaced by orders of magnitude.-2. **Fit the curve and forecast.** Two parameters on a log-log plot will tell you roughly what an attacker with ten times your budget gets. That is the number that should go in a risk review.+2. **Fit the curve and forecast.** Two parameters on a log-log plot will tell you roughly what an attacker with ten times your budget gets. Put that number in your risk review.3. **Judge fixes by slope, not by a re-run.** A single successful jailbreak reproduces maybe a third of the time. Re-running it after a fix tells you very little. Re-running the sweep and comparing curves tells you whether you shifted the curve or flattened it.4. **Spend all three budgets.** A model that's robust to single-turn attacks has been tested on one axis out of three.@@ -302,8 +299,8 @@ This is a coarser measurement than the paper's — DeepTeam simulates a fresh ba## Conclusion-The jailbreak research of the last two years has quietly changed the unit of measurement for LLM safety. A model doesn't resist or succumb to jailbreaks. It has a curve for each attacker budget — retries, shots and turns — and on all three, success climbs along regular, often forecastable lines. Safety training raises the price on those curves without flattening them, and bigger, more capable models can be *more* susceptible, not less.+The jailbreak research of the last two years has quietly changed the unit of measurement for LLM safety. A model doesn't simply resist or succumb to jailbreaks; it has a curve for each attacker budget — retries, shots and turns — and on all three, success climbs along regular, often forecastable lines. Safety training raises the price on those curves without flattening them, and bigger, more capable models can be *more* susceptible, not less.-That's a less comforting picture than a single robustness score. But it's a far more useful one: it tells you what to measure (success at several budgets), what to forecast (the next order of magnitude), and what a real fix looks like (a flatter curve, not a lucky re-run).+It's a less comforting picture than a single robustness score, and a far more useful one: it tells you what to measure (success at several budgets), what to forecast (the next order of magnitude), and what a real fix looks like (a flatter curve, not a lucky re-run).The next time someone tells you their model resists 98% of jailbreaks, ask them the only question that matters: *at what price?*