I wrote about this the other day: - https://simonwillison.net/2023/Oct/14/multi-modal-prompt-inj... If you're new to prompt injection I have a series of posts about it here: - https://simonwillison.net/series/prompt-injection/ To counter a few of the common misunderstandings up front... 1. Prompt injection isn't an attack directly against LLMs themselves. It's an attack against applications that you build on top of t…
We think of SQL injection as an attack against an application (not its DBMS, which behaves as intended), but it’s still SQL injection if a business analyst naively pastes a malicious string into their hand-written SQL. These new examples differ from traditional prompt injection against LLM-wrapper apps in an analogous way.