Are Web Agents Still Detectable? Stress-Testing Bot Defenses with Coordinated Evasion

Parsa Nilforushan, Gemmin Sugiura, Kourosh Hashemi, Peiman Zhiani, Mohammad A. Tayebi

TL;DR

AI web agents are usually easy for websites to spot because they leave digital fingerprints in the browser or move the mouse with robotic precision. This paper introduces DARKAGENT, an agent that simultaneously scrubs browser-level automation clues and uses generative AI to mimic messy, human-like typing and cursor motion. By bypassing 89% of live commercial bot defenses, it reveals that current security gates are surprisingly fragile against coordinated attacks—and shows defenders where the last remaining "tells" are hiding.

What Problem Does This Paper Address?

Modern multimodal LLMs can read web pages and click buttons, making it trivial to automate tasks—for better or worse (think mass scraping or spam). Website defenders fight back by checking four channels: network protocols, browser fingerprints, automation-control artifacts (clues left by tools like Playwright), and user behavior (how the mouse moves or keys are pressed).

Previously, researchers found it fairly easy to catch AI agents. Why? Because evasion tools usually fix only one part of the stack. Concealing browser flags doesn't hide instantaneous cursor jumps; replaying human mouse curves doesn't hide the fact that the browser is controlled via the Chrome DevTools Protocol (CDP), which leaks detectable side effects to page scripts. Furthermore, simulating realistic typing—complete with natural typos, backspaces, and overlapping key holds ("rollover")—remained largely unsolved. The authors ask: What happens to bot defenses when an adversary coordinates evasion across the entire client stack at once?

Methods

To stress-test defenses, the authors built DARKAGENT, separating high-level LLM planning from how actions are executed through two novel components:

Figure 1. DARKAGENT architecture. The planning agent selects actions from structured page observations. DARKAGENT routes requests through a compatibility interface over BROWSIUM’s private IPC channel, pairs them with mouse and keyboard behavior from BEHAVIUM, and executes them via native input delivery before returning updated page observations.
  1. BROWSIUM (Stealthy Browser): A source-modified Chromium fork that ditches standard CDP control. Instead, it uses a private operating-system IPC channel to talk directly to the browser process. It reads pages from a hidden, one-way "isolated world" (leaving zero footprint in the page's JavaScript environment) and routes clicks and keystrokes top-down through the browser's native input pipeline so events look genuinely user-triggered (Event.isTrusted = true). It also enforces a single startup "persona" so TLS handshakes, HTTP headers, and JavaScript hardware APIs never contradict each other.
  2. BEHAVIUM (Generative Input): A suite of Variational Autoencoder (VAE) Transformer models that generate human-like interactions while strictly guaranteeing task completion:
  3. KEYBOARDGEN: Two autoregressive Transformers coupled by a shared latent "typing style" variable. One generates physical key-down/key-up sequences (allowing natural typos, corrections, and multi-key rollover while masking out physically impossible transitions, like releasing a key that isn't held), and the other generates millisecond timing gaps.
  4. MOUSEGEN: Generates step-by-step timing and spatial increments, using a differentiable mathematical projection to distribute endpoint errors evenly across steps—guaranteeing the cursor lands on the exact target pixel without awkward clipping.
Figure 2. Browser-control architectures. (a) CDP-based automation uses the DevTools protocol for page observation and input delivery in stock Chromium. (b) BROWSIUM uses private browser-process control to support privileged observation, native input delivery, and browser/network persona consistency, with BEHAVIUM supplying timed mouse and keyboard interactions.

Datasets

  • Training: KEYBOARDGEN trained on the Aalto keyboard dataset (136M keystrokes), augmented with word- and character-level crops. MOUSEGEN and click/scroll policies used the Boğaziçi Mouse Dynamics Dataset and Attentive Cursor Dataset.
  • Evaluation: Tested against Stealth Bench V1 (80 live protected websites) and public datasets/detectors from FP-Agent and AgentShield.
  • New Benchmark — MIMICTRACE: Existing benchmarks either check live-site blocking without explaining why a block happened, or log behavior without checking browser/network leaks. MIMICTRACE hosts interactive tasks and simultaneously records all four detection channels (network, browser, runtime control, and raw interaction telemetry) alongside server-verified task completion.

Key Insights and Ideas

  • Passing a bot detector $\neq$ acting human: Public heuristic mimickers easily fool existing behavioral detectors (like FP-Agent and AgentShield) simply by generating lots of cursor movement, even when their keystrokes are four times faster than a human's.
  • Evasion channels are strictly complementary: On multi-channel audits, modifying only the browser or only the behavior still gets caught 100% of the time. Only coordinating both evades every passive check.
  • The "seam" between actions is the new battleground: Even with human-like mouse paths, diagnostic classifiers initially spotted DARKAGENT. The giveaway? Humans pause for ~58 ms after moving the mouse onto a button before clicking; the agent clicked after just 15.5 ms. Sampling human "pre-click pauses" closed most of that gap, leaving LLM planning latency between actions as one of the few remaining signals for defenders.
  • Fingerprint ML models overfit to hardware: Models trained to spot bots via browser fingerprints fail to generalize when tested on unseen devices (dropping from 0.980 to 0.618 ROC-AUC), whereas simple, training-free cross-channel consistency rules remain robust.

Key Results

  • Live Defenses: On Stealth Bench V1, DARKAGENT achieved an 89% bypass rate (71/80 tasks), beating the strongest published cloud-browser baseline (77%) by 12 percentage points and clearing 100% of DataDome, Akamai, and reCAPTCHA tasks.
Stealth Bench V1 bypass rates across 11 commercial defense categories.
  • Behavioral Fidelity & Task Accuracy: KEYBOARDGEN typed target strings accurately 99.82% of the time on its first try. Against trained diagnostic XGBoost classifiers (where 0.5 is indistinguishable from human and 1.0 is easily caught), heuristic mimickers scored ~0.999, whereas KEYBOARDGEN and MOUSEGEN dropped separability to 0.6809 and 0.7197.
  • Multi-Channel Audit: On MIMICTRACE, a combined detector (environment + behavior + consistency rules) caught 100% of uncoordinated baselines and partial ablations, 0/12 full DARKAGENT sessions, and had a 2.58% false-positive rate on held-out human records.

Limitations and Future Work

The authors note that their human baselines for form diagnostics and local false-positive calibration are relatively small or drawn from external desktop datasets, leaving macOS, mobile browsers, WebKit, and privacy extensions untested. Additionally, BROWSIUM was tested as a unified Windows/Chromium package rather than ablating individual patches. Looking ahead, because BEHAVIUM only models motion within single actions, modeling human reading pauses and inter-action delays—or designing defenses that subtly shift UI elements mid-action to expose slow LLM reaction loops—are prime directions for future work.

Summary updated

BibTeX
@misc{nilforushan2026are,
  author = {Parsa Nilforushan and Gemmin Sugiura and Kourosh Hashemi and Peiman Zhiani and Mohammad A. Tayebi},
  title = {{Are Web Agents Still Detectable? Stress-Testing Bot Defenses with Coordinated Evasion}},
  year = {2026},
  eprint = {2611.31962},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31962},
}
Figure