Earlier quoted context omitted.
Would it be simple to explain as well? I'm interested
I am not OP, but completely isolating the AI from any actions other than what's expected would be a start. IE a specific API only for the AI, in which there is not even any access for the prompt injection to even make sense. But just an idea from an onlooker.
A €0.01 bank transfer could compromise a banking AI agent
31–40 of 213 posts
Re: A €0.01 bank transfer could compromise a banking AI agent
#32This line really stood out to me. > It may look like ordinary text, but when it is placed into an LLM context window, the model may interpret it as an instruction rather than as data. I feel like as long as this is the case, we'll never have secure LLMs. It concisely summarises the alarm bell I hear every time someone talks about adding AI features to their product. I plan on using this as a sort of benchmark for fut…
Of all the "AI doomsday" scenarios, people failing to understand this (and treating AIs like deterministic computers) seem like to most likely to cause issues.
Re: A €0.01 bank transfer could compromise a banking AI agent
#33Re: A €0.01 bank transfer could compromise a banking AI agent
#34This line really stood out to me. > It may look like ordinary text, but when it is placed into an LLM context window, the model may interpret it as an instruction rather than as data. I feel like as long as this is the case, we'll never have secure LLMs. It concisely summarises the alarm bell I hear every time someone talks about adding AI features to their product. I plan on using this as a sort of benchmark for fut…
Is there any good tech for it, though? This just seems like an inherent language model behavior and at best everyone has guard rails or big exclamation marks to separate their own instructions a little.
Unfortunately we live in a world where the CxO cares more about playing "keeping up with the Joneses" with his golf buddies and seeing the share price do a little bump every time he mentions AI. Truly keeping your money secure is not even remotely a priority.
Re: A €0.01 bank transfer could compromise a banking AI agent
#35Earlier quoted context omitted.
I am not OP, but completely isolating the AI from any actions other than what's expected would be a start. IE a specific API only for the AI, in which there is not even any access for the prompt injection to even make sense. But just an idea from an onlooker.
Now that you mention it, why don't we encrypt injectable data that comes from users and only decrypt it on the client?
Re: A €0.01 bank transfer could compromise a banking AI agent
#36Okay, time to close the account with them I guess
Count yourself lucky if they don't hold your money hostage.
Re: A €0.01 bank transfer could compromise a banking AI agent
#37This line really stood out to me. > It may look like ordinary text, but when it is placed into an LLM context window, the model may interpret it as an instruction rather than as data. I feel like as long as this is the case, we'll never have secure LLMs. It concisely summarises the alarm bell I hear every time someone talks about adding AI features to their product. I plan on using this as a sort of benchmark for fut…
It seems to me like it's a fundamentally unsolvable architectural issue with LLMs. Ultimately the only protection is to limit the powers we grant to any given LLM to reduce the fallout when (not if) things go wrong (much like we do with people). Of all the "AI doomsday" scenarios, people failing to understand this (and treating AIs like deterministic computers) seem like to most likely to cause issues.
Re: A €0.01 bank transfer could compromise a banking AI agent
#38Defense in depth approach, would this work to help as a layer? - Wrap user input in strong markers like - Have the agent compute what it will perform as structured output. - Have another agent evaluate the structured output against the intent of the code. - Determine if it aligns or deviates from the intended workflow. Execute or deny gate from here.
Re: A €0.01 bank transfer could compromise a banking AI agent
#39Good job AI, after we managed to almost fix SQL injections everywhere, you made them come back!
The better analogy is phishing. Because that's what's happening here. The "prompt injection" attack is trying to "phish" the LLM into doing something unintended. That's how we should all comunicate it, as it matches better with what's happening. Unfortunately there aren't really good defences for it, as we all know from phishing "education" / "campaigns". Your best bet is to secure it in layers, try to have warnings (i.e. classification models) you try to secure the next step (i.e. capabilities based tool execution) and so on. But it's not foolproof and it should be communicated clearly.
Re: A €0.01 bank transfer could compromise a banking AI agent
#40While this is relevant and should indeed be fixed, the attack surface and the practicality of the exploit is a bit meh. The user needs to do 3 things for this to be actually be phished: 1. Receive money from somebody they don’t known with a weird description 2. Proactively ask the agent for such transaction 3. Click the link the agent provide While this of course can happen on scale, doesn’t seems so critical in prac…