Skip to content

Home / Explainers

plain english

What Is an AI Jailbreak?

An AI jailbreak is a prompt or technique that tricks an AI model into ignoring its safety rules and doing something it was trained to refuse.

AI companies train models to refuse harmful requests. A jailbreak tries to get around this, for example by wrapping a request in role-play, hiding it in code, or splitting it into harmless-looking steps.

Labs patch known jailbreaks and run "red teams" to find new ones before attackers do, but no model is fully immune. Jailbreaks are one reason security teams treat model output as untrusted, especially when an AI agent can take real actions.

If you build with AI, assume users will try to jailbreak it and keep sensitive actions behind separate checks.

Quick answers

Is jailbreaking an AI illegal?

Rules vary. It usually breaks a service's terms of use, and using one to cause harm can be illegal.

How is a jailbreak different from prompt injection?

A jailbreak is a user trying to get the model to break its rules. Prompt injection is hidden text in content the model reads that hijacks its behavior.

Can jailbreaks be fully stopped?

Not today. Defenders reduce them with training, filters and limits on what the AI can do.

In the news

More explainers