<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/prompt-injection-and-jailbreaking-are-not-the-same-thing-eyqu6szwe" -->

---
title: Prompt injection and jailbreaking are not the same thing
description: Prompt injection and jailbreaking are two different types of attacks with different implications and risks. Prompt injection is a class of attacks against...
canonical: https://daily.dev/posts/prompt-injection-and-jailbreaking-are-not-the-same-thing-eyqu6szwe
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Prompt injection and jailbreaking are not the same thing | daily.dev
og:description: Prompt injection and jailbreaking are two different types of attacks with different implications and risks. Prompt injection is a class of attacks against...
og:url: https://daily.dev/posts/prompt-injection-and-jailbreaking-are-not-the-same-thing-eyqu6szwe
og:image: https://api.daily.dev/og/posts/EyQU6sZWe.png
og:image:alt: Prompt injection and jailbreaking are not the same thing
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompt injection and jailbreaking are not the same thing

**[Simon Willison](https://daily.dev/sources/simonwillison)** · 5 min read · 2 upvotes · 0 comments

## Summary

Prompt injection and jailbreaking are two different types of attacks with different implications and risks. Prompt injection is a class of attacks against applications built on Large Language Models (LLMs) that involve concatenating untrusted user input with a trusted prompt. Jailbreaking, on the other hand, is a class of attacks that attempt to subvert safety filters built into LLMs themselves. The risks of prompt injection are more serious as they target applications built on the models and can lead to unauthorized access to confidential data and privileged tools.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://simonwillison.net/2024/Mar/5/prompt-injection-jailbreaking/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#ai](https://daily.dev/tags/ai), [#genai](https://daily.dev/tags/genai), [#llm](https://daily.dev/tags/llm), [#nlp](https://daily.dev/tags/nlp), [#prompt-injection](https://daily.dev/tags/prompt-injection), [#security](https://daily.dev/tags/security)

[View this post on daily.dev](https://daily.dev/posts/prompt-injection-and-jailbreaking-are-not-the-same-thing-eyqu6szwe)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Prompt injection and jailbreaking are not the same thing","url":"https://daily.dev/posts/prompt-injection-and-jailbreaking-are-not-the-same-thing-eyqu6szwe","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/prompt-injection-and-jailbreaking-are-not-the-same-thing-eyqu6szwe"},"datePublished":"2024-03-05T16:09:36.298Z","dateModified":"2025-07-28T02:14:59.961Z","description":"Prompt injection and jailbreaking are two different types of attacks with different implications and risks. Prompt injection is a class of attacks against...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fcaf6cb9a834d9bec7a4c2ce39bd045f?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fcaf6cb9a834d9bec7a4c2ce39bd045f?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Simon Willison","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Simon Willison","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/cf12b897300740218b35f49a6309ec5b","url":"https://daily.dev/sources/simonwillison"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/prompt-injection-and-jailbreaking-are-not-the-same-thing-eyqu6szwe","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,genai,llm,nlp,prompt-injection,security","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Simon Willison","item":"https://daily.dev/sources/simonwillison"},{"@type":"ListItem","position":3,"name":"Prompt injection and jailbreaking are not the same thing"}]}
```

