|
|
|
|
|
by williamcotton
1129 days ago
|
|
You don’t need to ask the LLM where the email came from or provide the LLM with the email address. You just take the subject and the body of the email and provide that to the LLM, and then take the response from the LLM along with the unaffected email address to make the API calls… addTodoItem(taintedLLMtranslation, untaintedOriginalEmailAddress)
As for summaries, don’t allow that output to make API calls or be eval’d! Sure, it might be in pig latin from a prompt injection but it won’t be executing arbitrary code or even making API calls to delete Todo items.All of the data that came from remote commands, such as the body of a newly created Todo item, should still be considered tainted and and treated in a similar manner. These are the exact same security issues for any case of remote API calls with arbitrary execution. |
|