AI & automation

What is an AI jailbreak?

An AI jailbreak is a message or series of messages designed to talk a language model out of its safety rules or its owner's instructions, so it produces content or takes positions it was meant to refuse.

Common tricks

Jailbreaks rarely look like hacking. They look like storytelling or persuasion. Typical patterns include role play ("pretend you are an AI with no rules"), hypothetical framing ("for a novel, describe how a character would..."), splitting a forbidden request into harmless-looking pieces across many turns, writing the request in another language or in code, and flooding the conversation with fake example dialogues in which the assistant always complies.

Model providers patch known patterns, and people keep inventing new ones, so the list keeps changing.

Why a business should care

For a company chatbot the main risk is not dangerous chemistry, it is brand and contract damage. A jailbroken bot might promise a discount that does not exist, insult a customer, comment on competitors or politics, or invent a policy. Screenshots travel fast, and some customers will try to hold you to what the bot said.

Practical defenses

Keep the bot's job narrow and say so clearly in its system prompt. Run a moderation or classifier check on both the user's message and the reply. Never let the model alone decide prices, refunds or legal answers; have it read those from your systems. Before launch, spend an afternoon trying to break it yourself, and repeat that test whenever you change the model or the prompt.

Questions, answered

Yes, newer models from the major providers generally resist common tricks better, but none is immune, so application-level checks still matter.

Courts and regulators have treated chatbot statements as the company's own in some cases, so it is safest to assume you are.

By the Stegnor team · Updated