Discuss your project

Glossary

Jailbreak (AI)

In AI language models, a jailbreak is an attempt to bypass the safety rules of a model or an AI application with specifically crafted inputs so that it delivers content or performs actions it would otherwise refuse.

October 25, 2026JailbreakAI SecurityLLMPrompt Injection

The term originally comes from the smartphone world, where it refers to circumventing manufacturer restrictions. With language models, the aim is to outwit the rules embedded during training and the specifications of the application. The OWASP Top 10 for LLM applications classify jailbreaking as a form of prompt injection: the input causes the model to disregard its safety guidelines entirely.

For companies, the topic is not only a question of prohibited content. As soon as a model is publicly accessible, talks to customers, or operates tools, bypassed rules become a liability, reputational, and security risk.

How jailbreaks work

Jailbreaks exploit the fact that a language model processes instructions and content as continuous text and responds to patterns, not to fixed rules. Common patterns, deliberately described here only at a high level:

Why this matters for companies

Protective measures

For applications with Claude, Anthropic recommends a combination of several measures that can be transferred to other models:

In addition, OWASP lists, among other things, restricted privileges, human approval of high-risk actions, and targeted adversarial testing. Cloud providers offer ready-made filters, such as Prompt Shields in Azure AI Content Safety. What matters is that critical boundaries are enforced technically outside the model, see guardrails.

What companies should keep in mind

How it differs

Anthropic distinguishes two threat models: with jailbreaks and direct prompt injection, the attack comes from the person using the application. With indirect prompt injection, the person is trustworthy, but processed content such as emails, web pages, or documents contains hidden instructions. The protective measures overlap, but the focus differs. The OWASP Top 10 for LLM applications provide an overview of further risks.

Frequently asked questions

Can jailbreaks be completely prevented?

No. OWASP states that, given how language models work, it is unclear whether there are foolproof methods against prompt injection. The goal is therefore to reduce the likelihood of success and limit the potential damage, for example through restricted privileges and human approvals.

How can you recognize jailbreak attempts?

Typical signs in logs are requests to ignore instructions, conspicuous role play, unusual encodings or language switches, and repeated refusals for the same person. Regular analysis of such patterns is part of operating any publicly accessible AI application.

Sources

View security services

EXPLORE THE GLOSSARY

Related Terms

More in Artificial Intelligence

All Glossary Terms

YOUR NEXT STEP

What should
work better
next?

Tell us briefly what you have in mind. We will assess it and suggest a sensible next step.