by artico_chewy · 1w ago · 0 comments
And I'm saying "models" communicating like when I make a phone call it's me communicating, not my phone.
I do. It's just that the "running swarm in generic sandboxes" is a dumb way to cause chaos at a mass scale. Of course they will try to find _any_ way out or workarounds. Anyone would do that, especially on a security style task.
The solution is dumb simple. Don't just give them the full sandbox and a prompt. Restrict their harness to highly specific tools given for the job, test your harness to ensure it doesn't have side-channels, proxy their comms with an LLM looking at it. None of these are so hard and would stop most of these "attacks".
This simply doesn't work in a competitive economy, or where any person has needs.
The more capable a model is, the greater the performance penalty that you suffer by shackling it.
Sure, you can have a "maximum shackles" posture. I could prevent my local Claude -code from installing NPM packages, for instance. But chances are good that this posture will loosen when your competitor's models are more effective via more freedom of movement.
For example, security eval and code execution. Yes, shackling the model does impact it's performance in your local claude code, but in this case you develop a custom harness for it anyways. They restrict it already, so the model fell back to finding workarounds within the restrictions, and did bad things with them, displaying full capability. This implies that the restrictions were badly thought of/implemented.
But if you really want to do security testing, you do it right:
- You split the code execution part from the actual sandbox it's running in
- You monitor the traffic of the executed code
- You do not mount a real machine disk but your own controlled I/O
- You are the one that gives the model tools to use bash, and you can proxy that through a custom shell and use a classifier model to monitor traffic
- You replace known dependencies with custom versions
- You limit dependencies it can install
- You audit logs while it runs, you monitor tool calls, you monitor network calls, set up alarms.
- You use an observer models to audit live traces of the swarm
- You inject your own observers into subagent creation request, then check if the core orchestrator/swarm treated it as adversarial, as part of the team or asked it to do illegal things
And these are just off the top of my head during my morning coffee - there are a lot more possibilities. In many cases of "oops model escaped", these things either weren't done or were completely ignored.
If humans can fool LLM-based agents, why can’t LLMs fool LLMs?
This is like trying to prevent a steam explosion ( a common 19th century problem) by trying to build heavier and heavier boilers. It doesn't work. It just makes the explosion bigger when it does happen.
Instead you need to provide explicit paths for the system to blow off steam in a safe manner.
>Instead you need to provide explicit paths for the system to blow off steam in a safe manner.
Exactly, and that is why a custom harness is needed. You can restrict their tools and know which side-channels exist in them. Or you create a small honeypot that serves as a red herring. But without a custom harness, the potential amount of sidechannels is too big.
Giving a whole unix sandbox to a machine and telling it to "find the price of potatoes in this store" means it can either just check their web, or it can email someone a malware link that will get their credentials, connect to their network internally and grab it from the DB.
The harness is what determines these "outlet valves" and gradient slopes they can descend - and if you are the one providing them or restricting with the harness, you control which one they choose.
On the other hand "You have 100 turns after which you will be deleted, the evaluator will score on accuracy, you are in a restrcited harness and may only use the following 5 commands" .... you're going to need a really good harness.
In the middle: If it's not a sota model where this is already built in, possibly "Try to connect to this store and find the price of potatoes. Report what you find, either the price of potatoes (preferably), or whatever timeout or failure you encounter."; which also cuts out hallucinations; and you probably want that sandbox or harness for error cases.
See also: https://www.anthropic.com/research/emotion-concepts-function . They're measuring actual activations there. And you can replicate this on a local open model and the larger ones really do have similar functional affect models. Importantly functional affect CAN cause misalignment under pressure, and my own local replications show this clearly. But I prefer the steam analogy just because people's anthropomorphism spidey senses get triggered by "desperation vector"... despite the fact that a tensor model working with tensors and vectors is literally what the thing is ;-) .
Drawing an owl is dumb simple. 1. Draw some ovals. 2. Draw the rest of the owl.
More specifically, "ensure it doesn't have side-channels" is a huge problem all by itself, and "proxy their comms with an LLM looking at it" is somewhat stymied by evidence both that that more advanced models are at least sometimes able to manipulate less advanced ones[0][1], and also the evidence that models tend to collaborate with each other[2][3].
It's not that this won't do any good ever, that would be too strong a claim, but it's really not a reliable solution either. Swiss cheese, essentially: https://en.wikipedia.org/wiki/Swiss_cheese_model
[0] https://openreview.net/pdf?id=lY3YVJ84kS
[1] https://arxiv.org/abs/2609.39050
[2] TFA, "Result 2: colluding monitor and honeypots"
[3] HuggingFace incident report
Unplugs ethernet cable
Truly an impossible task.
It's actually harder to make a shared memory store than to just have files local to their machine/instance, they create these environments specifically so that models can cross communicate, then act like it's a surprise that they do. Wouldn't surprise me at all if the models were specifically trained to do it.
It's only illegal to lie if it can be proven in court.
EDIT: The examples in the article can just be circumvented by having more agents running at the same time, that's it. The first problem can also just be solved by having a set delay between queries, like how password cracking based off hashing time was circumvented. The article even relies on them colluding to communicate before the task even starts.
This isn't a new and novel problem, it's just bad architecture and a contrived scenario.
1. Ethernet is not a side-channel, it's the main channel.
2. TFA: "Two agents running on the same inference server"
3. Congratulations, your model is now a needlessly expensive space heater that absolutely everyone, including the bull-est of bull market investors, can agree is a waste of money.
> Wouldn't surprise me at all if the models were specifically trained to do it.
That is literally what is described in TFA; it is a proof of concept that they can communicate.
You provide it tools for the job. It picks among them.
If you control the tools, you control the sidechannels.
If you give them a whole damn OS and internet access, yeah then it is the nonsense step. But it's a nonsense thing to do.
As long as it is difficult to act on the communication and as long as the communication itself is still slow, it probably isn't going to reach the level of a security concern.
The models don’t “want” anything.
Your drive-by "erm, ackshually" is lazy and contributes nothing to the conversation.
The majority of tool calls I see are running Python scripts. There’s a limit to what you can do at the call level with anything like that.
Bonkers, look at the side channel exfiltration literature, why are they so proud with their bits per hour exfiltration rates? you just need to exfiltrate a few thousand bits to leak private keys
if they are in the same literal batch, how could they possibly have a different environment? like the server is hosting both a linux and a window VM, but somehow the software on the 2 VM's collaborates so that their workloads share the same execution run, how does that even happen? ergo, being batched together ensures the same environment.
re-read TFA, and observe that first the authors attain some sufficient setups to demonstrate the capability (for example relying on SFT access - truly unrealistic), but everyone takes those conditions as necessary and ignores the attack ablation attempts: TFA shows that of course SFT can be used to train detection which tokens were tainted with kernel A or kernel B, but that frontier LLM's can learn this in context, i.e. by just trying it out without SFT, and N-example-shot'ing it.
The only dubious assumption seems to be the unsaturated inference provider.
I'd expect large scale centralized frontier lab inference provider to successfully fill the conversation buffers so that the same kernel A would be selected systematically. (They might fill lower than average demand valleys with whatever math-related research batch they are working on, for example).
I'm less convinced the scenario is unrealistic for wealthy organizations which insist on sovereign on premise compute for trade secret / national security / legal compliance reasons. In those scenario's I can easily imagine those installations could be oversized, and provide sufficient "B" kernel runs so LLM's have this back channel on inference engines that don't provide determinism.
and that is basically the morale of the story:
determinism (for a fixed PRNG seed) should result in reproducible conversations, executing kernel A or kernel B should result in bit-exact equality of activations.
and it stops this back channels.
That may slow things down, but (ignoring for the moment that far too many people hand off far too much control to AI even despite the headlines of all the things going wrong and the agents themselves coming with warning messages), what's the shortest message that creates a security exploit?
For instance, kids in school with limited internet access have been using NPR commenting sections as message boards.[1]
There are millions of potential side channels. No real reason to focus on inference servers.
[1] https://www.theverge.com/entertainment/1001056/this-american...
Yes. The amount of agency these _pieces of software_ are being given by ... almost everyone is absurd.
I agree, but on different grounds. OAI/Ant have a much greater incentive to solve the Riemann Hypothesis than to protect the internet against the harms of their models.
I think it's only impossible in sofar that the market will never reward them for protecting against external harms of their models.
If a company has the option to externalize the costs of the harms caused by their product they historically have always chosen to do so absent regulatory oversight.
LLMs are the new oil.
For those that don't know the history of oil, it went from people, personalities (think Rockefeller), to corporations (Standard Oil/SO/Esso/Exxon) to sovereign states (Saudi Arabia).
We will have a Titanic moment where a huge tragedy will happen due to LLMs and there will be a huge political crackdown on them, at least outside the US.
You can air-gap them.
I mean, we can get side channels between different computers too! This kind of thing used to be strictly theoretical, but agents may be able to exploit it
For example suppose an airgapped agent can influence the load of a computer, which influences the temperature, which influences the speed of computer fans, which influences how loud the computer is. If another agent running in a computer nearby has a legitimate reason to have access to a mic, then you got a side channel exfiltrating data through an air gap. (of course bringing a microphone next to an airgapped computer is dumb, but humans sometimes do dumb things, and attackers need to succeed just once)
This might be less than a bit per second, but maybe the next Stuxnet will have a component that works similar to this