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. Maybe I’m slow to catch on, but this seems like something you could exploit in a timing side-channel attack, similar to Spectre, to exfiltrate other clients’ submitted prompts? Not that those are likely to be very interesting, but still…

    Edit: Exfiltrate, not exfoliate, lol.

    Replies (1)
    1. Exfiltration is trivial in some sense (the server tells you if and/or how much of the prompt you send was new vs retrieved from cache). The major catch is that you have to guess the exact prefix, and only then the server will tell you if your guess was correct or not. So this doesn't really give you a way to discover information you didn't know, only to discover if anyone else has had the exact same question.
      Replies (2)
      1. Until you stumble across an app that always sends the exact same prefix up to “user’s date of birth is:” or similar, and now you can do a little enumeration to get private data out of the system.

        It’s OK to cache known safe prefixes across users, but arbitrary prefixes need to stay per-user.

        Replies (1)
        1. Caching is done by blocks of tokens where you need to match the whole token block exactly. You'd need to correctly guess an entire cached block ok tokens, and the next one. The next incomplete one might not be cached. This seems like a hard attack to pull off?
      2. You can start by guessing the prefix "A" and go from there. 26 tries later you know which of "An", "At", "Az", "Aq" etc. are in cache, and you can go from there. Eventually you'll discover that someone asked "Am I gregnant?" :P