An unofficial, read-only Hacker News reader.

Models Can Communicate via Inference Servers Despite Being Sandboxed (opens external site)

468 points by gmays 4 days ago | www.lesswrong.com | 218 comments on HN

View full thread · View on Hacker News

Comment thread (5)

  1. > 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 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.

    Replies (1)
    1. I like the comparison, it does actually behave like steam and try to find sidechannels if the task is impossible or harder to do without them (or it just rolls down the gradient slope that way).

      >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.

      Replies (1)
      1. Give a whole unix sandbox to a sota llm and telling it to "find the price of potatoes in this store" , and it will tell you the price of potatoes at the store or the fact that the site is blocking them for whatever reason; your harness safety will hardly ever be triggered. (At least my logs are almost empty)

        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 ;-) .

        Replies (1)
        1. Screw anthropomorphism, desperation vector is a really great name for it.

          But yeah, it's a combination of the prompt, the harness, the pressure and environment cues that ends up causing this. A swarm just amplifies this with its context drift. Funnily, nurture vs nature again comes into play :)

          In most of these public cases, it's just bad harness and prompt design compared to requested task (and then playing surprise when it hacks the machine on a CTF task).

          Replies (1)
          1. Agreed.

            To be fair, someone needed to be the first to find out.