What is the difference between prompt injection and jailbreaking?
Answered
Both manipulate LLMs, but at different levels: jailbreaking aims at the model’s internal safety constraints; prompt injection aims at unauthorised data or behaviour via crafted inputs.
From the guidance
Primary (how) AI Insights: Prompt Risks
Section: Jailbreaking
Secondary (normative) AI Insights: Prompt Risks
Section: Prompt injection
Related questions
- How should I handle prompt injection and other generative AI-specific threats?
- What is data poisoning in an AI system?
- What are the main security risks of using AI in government?
- What is adversarial machine learning and why does it matter?
- Should I use a public AI API, a privately hosted model, or a managed platform?