|
|
|
|
|
by hunter2_
962 days ago
|
|
The escape string doesn't need to be hard to guess, it can be as simple as a single character. The user interface (or whatever source of untrusted data) sanitizes that particular character before handing it off to the sensitive function, either by dropping it or escaping it such that it doesn't signal the end of untrusted data. |
|
I can't say the same about sanitizing the data in a new domain like LLMs. And on top of it, you'd need to have the data be clear and recognizable to the llm, so that it doesn't confuse it.