# CaMeL offers a promising new direction for mitigating prompt injection attacks

<https://simonwillison.net/2025/Apr/11/camel/>

- Host: [simonwillison.net](https://links.thingelstad.xyz/hosts/simonwillison.net/)
- Saved: April 17, 2025 (2025-04-17T07:18:28Z)
- Record: https://links.thingelstad.xyz/links/f44b8768a2c3/
- JSON: https://links.thingelstad.xyz/links/f44b8768a2c3.json

## What Jamie wrote

Many packages that add GenAI capabilities suddenly find themselves subject to prompt injection attacks.

> It works by taking a command from a user, converting that into a sequence of steps in a Python-like programming language, then checking the inputs and outputs of each step to make absolutely sure the data involved is only being passed on to the right places.

Interesting approach, breaking down and building up again.

## Facts

- Kind: [Page](https://links.thingelstad.xyz/kinds/page/)

## Appears in

- [WT316: Weekly Thing 316 / Blogroll, CaMeL, Insider](https://weekly.thingelstad.com/archive/316/), Notable

## Same host

- [Here’s how I use LLMs to help me write code](https://links.thingelstad.xyz/links/10d08223e87d/) (simonwillison.net, March 13, 2025)
- [Backfill your blog](https://links.thingelstad.xyz/links/d0074f537816/) (simonwillison.net, May 1, 2025)
- [Expanding on what we missed with sycophancy](https://links.thingelstad.xyz/links/072f04967148/) (simonwillison.net, May 5, 2025)
- [llm-prices.com](https://links.thingelstad.xyz/links/6f77e199569f/) (simonwillison.net, May 8, 2025)
- [Highlights from the Claude 4 system prompt](https://links.thingelstad.xyz/links/8ff0eb636351/) (simonwillison.net, May 29, 2025)

## Saved the same week

- [Ye Olde Blogroll - Because blogs are the soul of the web](https://links.thingelstad.xyz/links/13c87fd136ff/) (blogroll.org, April 17, 2025)
- [ChatGPT can now remember and reference all your previous chats - Ars Technica](https://links.thingelstad.xyz/links/6be87f728b23/) (arstechnica.com, April 17, 2025)
- [Why I support privacy](https://links.thingelstad.xyz/links/54c2c60e79a0/) (vitalik.eth.limo, April 17, 2025)
- [Using LLMs as the first line of support in Open Source](https://links.thingelstad.xyz/links/9941beed6922/) (noumenal.es, April 17, 2025)
- [An Ars Technica history of the Internet, part 1 - Ars Technica](https://links.thingelstad.xyz/links/6f7945a6ff27/) (arstechnica.com, April 17, 2025)

## Elsewhere

- Wayback Machine: https://web.archive.org/web/*/https://simonwillison.net/2025/Apr/11/camel/
