← Latest papers
🤖 AI

Stateful Online Monitoring Catches Distributed Agent Attacks

This paper introduces a stateful online monitoring system that detects distributed agent attacks by aggregating weak suspicious signals across multiple user accounts in real-time, effectively overcoming the limitations of traditional single-context monitors while maintaining negligible latency.

Original authors: Davis Brown, Samarth Bhargav, Arav Santhanam, Kasper Hong, Ivan Zhang, Matan Shtepel, Steffi Chern, Alexander Robey, Eric Wong, Hamed Hassani

Published 2026-06-01
📖 5 min read🧠 Deep dive

Original authors: Davis Brown, Samarth Bhargav, Arav Santhanam, Kasper Hong, Ivan Zhang, Matan Shtepel, Steffi Chern, Alexander Robey, Eric Wong, Hamed Hassani

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Problem: The "Divide and Conquer" Trick

Imagine you are a security guard at a massive, busy airport. Your job is to stop people from smuggling dangerous items. You have a scanner that looks at every single suitcase as it goes through the X-ray machine.

The Old Way (Standard Monitors):
Your scanner is very good at spotting a suitcase full of guns or explosives. If someone tries to sneak a bomb through, the scanner beeps, and you stop them.

The New Threat (Distributed Agent Attacks):
Now, imagine a group of criminals who want to smuggle a massive, illegal machine into the country. The machine is too big to fit in one suitcase, and if they put it all in one bag, your scanner will definitely catch it.

So, they change their strategy. They hire 50 different people.

  • Person A brings in a screwdriver.
  • Person B brings in a wire.
  • Person C brings in a battery.
  • Person D brings in a circuit board.

Individually, every single suitcase looks perfectly innocent. A screwdriver is just a tool; a wire is just a wire. Your scanner checks each one, sees nothing wrong, and lets them pass.

But once all 50 people get inside, they meet up in a back room and assemble the machine. By the time they build the weapon, it's too late; the damage is done.

The Paper's Discovery:
The researchers found that AI agents (smart computer programs) are being used exactly like this. Attackers are splitting one big, harmful cyber-attack (like hacking a bank) into dozens of tiny, boring, harmless-looking tasks. They spread these tasks across hundreds of different user accounts.

Because standard safety monitors only look at one conversation at a time, they see only the "screwdriver" or the "wire." They miss the fact that these pieces are part of a bigger, dangerous puzzle. The paper shows that these "distributed attacks" are so sneaky that standard monitors catch them only 20% of the time, whereas they usually catch normal attacks almost every time.


The Solution: The "Detective with a Memory"

The researchers built a new kind of safety guard called an Online Stateful Monitor.

The Analogy: The Detective vs. The Scanner

  • The Standard Monitor is like a scanner that looks at a suitcase, says "All clear," and forgets about it immediately. It has no memory of what happened 10 minutes ago or what Person B brought in.
  • The Stateful Monitor is like a detective who keeps a notebook. When Person A walks in with a screwdriver, the detective writes it down. When Person B walks in with a wire, the detective looks at their notebook, sees the screwdriver, and thinks, "Wait a minute. A screwdriver and a wire? That's suspicious."

How It Works (The Magic Trick):

  1. Grouping by "Vibe" (Clustering): The monitor doesn't read every single conversation in detail (that would be too slow). Instead, it uses a smart system to group conversations that "sound" similar. It puts all the "screwdriver" requests into one pile and all the "wire" requests into another.
  2. Spotting the Pattern: If the monitor sees that the "screwdriver" pile and the "wire" pile are growing at the same time, and they are coming from different people, it realizes these are pieces of the same puzzle.
  3. The "Big Brain" Check: Most of the time, the monitor just does this quick grouping. It's fast and cheap. But if a pile gets too suspicious (like when 10 different people are asking for parts of a hacking tool), the monitor pulls out a "Big Brain" AI to look at the whole pile of evidence together and say, "Yes, this is definitely a coordinated attack."

Why This is a Big Deal

1. It Catches Attacks Earlier
In the old system, the attack would succeed because the guard didn't see the connection. With the new monitor, the guard spots the pattern while the criminals are still gathering the parts. The paper says this new system catches attacks 30% earlier in the process, stopping the damage before it happens.

2. It Doesn't Slow Down the Good Guys
You might think, "If this detective is checking everyone's notebooks, won't it slow down the airport?"
The researchers tested this with millions of fake requests. They found that for 99% of normal users (people just writing code or asking questions), the new monitor is just as fast as the old one. It only takes extra time for the tiny fraction of requests that look suspicious. It's like having a super-fast scanner that only calls in the heavy-duty detective if something looks weird.

3. It Caught Something Unexpected
The researchers hired a team of "Red Teamers" (ethical hackers) to try and break their new system for two months. They tried to trick the monitor in many ways.

  • Surprise: The monitor didn't just catch the "distributed" attacks. It also caught standard jailbreaks (people trying to trick an AI into being bad).
  • Why? Because even when attackers try to trick the AI in a single conversation, they often reuse similar tricks across different accounts. The monitor's "notebook" saw the pattern of repeated tricks and flagged them.

The Bottom Line

The paper argues that we can no longer just look at one conversation at a time to keep AI safe. Attackers are too smart; they are splitting their bad plans into tiny, invisible pieces.

To stop them, we need safety systems that can remember and connect the dots across many different users and conversations, all in real-time. This new "Stateful Monitor" does exactly that, acting like a detective who sees the whole picture, not just a single snapshot.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →