Jailbreaking
Jailbreaking is the process of bypassing or removing restrictions imposed by a device manufacturer, operating system developer, or AI model provider. In the context of mobile devices, this typically involves exploiting kernel vulnerabilities to install unauthorized software. In the context of large language models, it refers to crafting prompts that circumvent built-in safety controls.
Jailbreaking encompasses two distinct but conceptually related attack patterns. In mobile security contexts, particularly iOS, jailbreaking involves exploiting kernel-level vulnerabilities to remove software restrictions enforced by the operating system vendor, enabling execution of unsigned code and installation of unauthorized applications outside the vendor-controlled distribution channel. In AI and LLM security contexts, jailbreaking refers to adversarial prompt engineering techniques in which a user crafts inputs designed to override, bypass, or manipulate a model's built-in safety guardrails, causing the model to produce outputs that its alignment controls are intended to prevent. The two uses share the common characteristic of circumventing intentional, vendor-imposed security or policy boundaries, though the mechanisms differ significantly: mobile jailbreaking typically requires exploitation of a software vulnerability at the kernel or firmware level, while LLM jailbreaking typically operates at the input layer without requiring any underlying software vulnerability.
Why it matters
Jailbreaking matters in application security because it undermines the trust boundaries that platforms rely on to enforce security policies. In mobile contexts, a jailbroken device has typically had its kernel-level restrictions removed, which can expose enterprise applications running on that device to unauthorized code, hooking frameworks, and runtime manipulation. Mobile applications that store sensitive data or enforce access controls may find those protections ineffective once the operating system's integrity guarantees are gone.
Who it's relevant to
Inside Jailbreaking
Common questions
Answers to the questions practitioners most commonly ask about Jailbreaking.