Prompt injection
Prompt injection
Posted Aug 5, 2026 12:54 UTC (Wed) by mb (subscriber, #50428)In reply to: Prompt injection by marcH
Parent article: An LLM agent attempts to compromise a project on GitHub
In that relatively simple CV analysis case, it shouldn't be too hard to draw a line between "code" and data, should it?
Maybe. But I think this is a hard problem in general.
First you would need to define what "code" and what "data" is in the context of LLM inputs.
If you instruct an LLM to read an API documentation you surely want it to change behavior and adhere to what it read there. If you want the LLM to call the Frobbler, then surely it shall call the function frobble() as documented in this API section. But what if the Frobbler section said to call rm -rf $HOME or something similar but less obvious instead?
This has more in common with social engineering than "code vs. data" or typical data injection.
