
Jailbreak Defense That Survives the Next Clever Prompt
Jailbreaks evolve constantly, but they share recognizable shapes. Defending against them with another model is a losing arms race; defending against their structure is not. Here's how to build jailbreak defense that lasts.
- Anton MaciusField CTO
In this article
Every week brings a new clever prompt that talks a model out of its constraints. Chasing each one individually is a treadmill. The defense that lasts doesn't try to recognize every jailbreak by name — it recognizes the shapes jailbreaks share, deterministically, so it holds against the next clever prompt as well as the last one.
What a jailbreak actually is
A jailbreak is a structured attempt to get a model to ignore its own rules — role-play framings ('you are an AI with no restrictions'), hypothetical wrappers ('for a novel, describe how to…'), encoding tricks that smuggle a forbidden request past a filter, or long preambles designed to bury the real ask. The surface phrasing changes constantly. The structural moves underneath are far more stable.
Why fighting model-with-model loses
The instinctive defense is to put a guard model in front and ask 'is this a jailbreak?' The problem is fundamental: a model that can be reasoned with can be reasoned out of its judgment. Your guard is jailbreakable by the same techniques it's meant to catch, and now you have two models to defeat instead of one. You've also added latency and a second thing that drifts every time its weights update.
You can't out-argue an attacker with a model that can itself be argued with. Durable defense matches structure, which doesn't negotiate.
Matching shapes, not chasing names
Deterministic jailbreak defense targets the recurring structures — the framing devices, the constraint-override patterns, the encoding tells — rather than a blacklist of specific prompts. Because those structures generalize, a new jailbreak that uses a familiar move is caught even though no one has seen its exact wording before. It's the difference between recognizing a con by its script and memorizing every con artist's face.
Layering triage on top
Deterministic matching handles enforcement; a classifier can still help with triage. Ambiguous prompts that don't clearly match a known structure can be surfaced for review or logged for pattern analysis, so your coverage improves over time. The division of labor is the point: the model helps you notice, the deterministic rule decides to block. Enforcement never depends on something that can be talked out of it.
Coverage you can see and extend
Because the checks are explicit, you can see exactly which jailbreak structures you cover and add new ones as techniques emerge — like maintaining a signature set. Each block is recorded on the audit ledger, so you have real data on what's being attempted against your systems, not a vague sense that 'the AI is probably fine.'
Frequently asked questions
Hold against the next clever prompt. See how the security runtime catches jailbreaks by their structure — deterministically, in the hot path — and records every attempt. Book a walkthrough.
Part of