← Latest papers
🤖 AI

What Does It Take to Detect an AI Agent? Minimal Feature Sets for Behavioral Detection under Browser Automation

This paper proposes a three-class detection framework that overcomes the limitations of binary human-vs-bot classifiers by identifying AI agents through minimal, robust behavioral feature sets (specifically mouse_event_rate and teleport_click_ratio) that exploit inherent browser automation artifacts rather than reasoning patterns, achieving near-perfect detection accuracy even under sophisticated evasion attempts.

Original authors: Vishisht Choudhary, Lukas Schmidt, Anne Zoë Kenntner, Feras Skhab, Michel Osswald, Jens Ernstberger

Published 2026-07-30
📖 6 min read🧠 Deep dive

Original authors: Vishisht Choudhary, Lukas Schmidt, Anne Zoë Kenntner, Feras Skhab, Michel Osswald, Jens Ernstberger

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

Imagine the internet as a giant, bustling city. For decades, the security guards at the gates had a very simple job: they only needed to spot two types of people. There were the Humans, who walked around with natural, slightly wobbly steps, stopped to think, and sometimes tripped over their own feet. Then there were the Bots, which were like robots on a strict schedule, marching in perfectly straight lines, never hesitating, and moving with mechanical precision. The guards built their entire system around this "Human vs. Robot" binary. If you walked like a human, you got in; if you marched like a robot, you got stopped.

But recently, a third type of visitor has started showing up: the AI Agent. Think of these as incredibly smart, super-intelligent tourists who can read maps, plan complex routes, and solve puzzles better than anyone else. However, they still need to use the city's sidewalks and crosswalks to get around. The problem is that these AI Agents are tricky. They are smart enough to act like humans when they need to, but they still have to use the city's automated subway system (browser automation) to move. The old security guards, trained only to spot "Human" or "Robot," are getting confused. They are letting the AI Agents slip through the gate, thinking they are just regular people, because the agents are too clever to look like the old-fashioned robots the guards were trained to catch.

This is the puzzle a team of researchers from the Technical University of Munich and Kontext Security decided to solve. They asked a simple but crucial question: Can we tell the difference between a human, a robot, and a smart AI agent just by watching how they move their mouse and click buttons? And if we can, what is the absolute minimum amount of information we need to do it?

The Great Identity Crisis

The researchers found that the old security systems were failing spectacularly. When they tested standard "Human vs. Bot" detectors on these new AI Agents, the results were messy. A common type of detector (called an MLP) let 39.1% of the AI Agents slip through, thinking they were humans. Another sophisticated detector (called SAINT) let 34.5% through. Even a Random Forest model missed 30.0% of them.

The team realized this wasn't just because the detectors were "dumb." It was a structural problem. The detectors were built with only two boxes to sort people into: "Human" or "Bot." When a smart AI Agent showed up, it didn't fit neatly into either box, so the detector just guessed. The researchers proved that if they simply added a third box labeled "Agent," the detectors became perfect, catching 100% of the agents every single time.

The Secret is in the "Ghost" Moves

So, how did they catch them? The team discovered that the AI Agents weren't being caught because of their "thinking" or their clever plans. Instead, they were being caught by the ghosts in the machine.

Imagine a human typing on a keyboard or moving a mouse. Their hand is a physical object. It has weight, it has inertia, and it makes tiny, messy, jittery movements that a camera or sensor can see. But when an AI Agent uses a browser automation tool (like Playwright), it's not moving a physical hand. It's sending digital commands. It's like a ghost pushing a button.

The researchers found that these digital ghosts leave a very specific, invisible signature:

  1. No Jitter: When a human moves a mouse, it wobbles a little. When the AI clicks, it just appears at the target. There are no tiny, messy movements leading up to the click.
  2. No "Wheel" Spins: If you scroll a webpage with a mouse wheel, it creates a specific stream of data. The AI just tells the page to scroll, skipping the wheel entirely.
  3. Instant Clicks: A human takes a tiny fraction of a second to press and release a mouse button. The AI does it instantly, with zero variation.

The team built a "five-level evasion ladder" to test if the AI could hide. They tried everything:

  • Level 1: The AI just clicked normally.
  • Level 2: The AI tried to draw curved lines (like a human) using math formulas.
  • Level 3: The AI used a "GAN" (a type of AI that learns to copy human movements) to generate fake mouse paths.
  • Level 4: The AI added random "jitter" to look more human.
  • Level 5: The AI played back recordings of real humans moving their mice.

Even when the AI played back a recording of a real human (Level 5), it still got caught! Why? Because even though the path of the mouse looked human, the way the click happened was still a digital command. The AI couldn't fake the fact that it wasn't using a physical mouse wheel or that it didn't have the tiny, natural wobbles of a human hand. The "ghost" signature was still there.

The Magic Two-Feature Set

The most exciting part of the discovery was how little information was actually needed. The researchers tested thousands of different combinations of features to find the smallest set that could catch every single AI Agent.

They found that you don't need a super-complex system. You only need two simple things to spot the AI:

  1. Mouse Event Rate: How often the mouse moves. (AI moves are often sparse or non-existent before a click).
  2. Click Duration Standard Deviation: How much the time it takes to click varies. (AI clicks are perfectly consistent; human clicks vary).

With just these two clues, the system could identify 100% of the AI agents, even when they were trying to hide using the most advanced tricks. If they added three more features (like how fast the typing was or how much the scroll speed varied), the system could perfectly distinguish between Humans, Bots, and Agents all at once with a score of 0.991 (which is almost perfect).

What This Means

The paper concludes that catching AI Agents isn't about trying to figure out if they are "thinking" like a human. It's about noticing that they are using a different kind of "muscle" to move around the web. They are using digital commands instead of physical hands.

The researchers warn that if you try to build a detector using just one feature, you might get tricked. For example, one feature that looked perfect on its own actually made the detector guess "Agent" for everyone, including real humans, which is useless. But with the right two features, the detector is incredibly robust.

This discovery is a big deal for the future of the internet. As AI Agents become more common, websites will need to know who is browsing. This research shows that we don't need to build massive, complicated systems to spot them. We just need to look for the tiny, invisible footprints that digital ghosts leave behind when they try to walk like humans. And as long as they are using standard browser tools, those footprints will always be there.

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 →