Although there are a few ways to mitigate the risk, the only way to block it is to get AI to differentiate instructions from data, which is impossible today.
It’s a text completion model/glorified Markov chain. Of course it can’t input sanitise, it was never meant to do this to begin with.
The tool calling integrations that let it do more are basically making it add a markdown code block in JSON format into the user message, where the middleware intercepts it.
The input and “instructions” are the same thing from its perspective. There’s nothing special that differentiates the two. The user input text, so it will output text, following the most likely sequence from its training.
It’s a text completion model/glorified Markov chain. Of course it can’t input sanitise, it was never meant to do this to begin with.
The tool calling integrations that let it do more are basically making it add a markdown code block in JSON format into the user message, where the middleware intercepts it.
The input and “instructions” are the same thing from its perspective. There’s nothing special that differentiates the two. The user input text, so it will output text, following the most likely sequence from its training.