AI web agents can autonomously navigate websites and complete various tasks. As their capabilities and adoption expand, evaluating bot defenses requires adversarial stress tests. Although prior work demonstrates that existing agents can remain detectable, it remains unclear how effective bot defenses are against adversaries that coordinate evasion across browser fingerprints, automation controls, and interaction behavior. To investigate this threat, we introduce DarkAgent, an autonomous web agent that combines a forked Chromium browser that conceals automation artifacts and generative models that produce human-like mouse and keyboard traces. To address the limitations of existing keyboard mimickers, our keyboard model jointly generates realistic key events and their timings while reliably reproducing the target text. Released agent detectors accept our generated behavior as human, and trained classifiers find it substantially harder to distinguish from human traces than existing mimickers. DarkAgent achieves an 89% page-access bypass rate across a third-party stealth benchmark, exceeding the strongest published baseline by 12 percentage points. To further enhance the measurement of agents, we introduce a benchmark that measures browser fingerprints, interaction behavior, and network activity to assess each channel's contribution to detecting adversarial agents such as DarkAgent. On this benchmark, browser and behavioral modifications are complementary: either alone remains detectable, and only their combination evades all tested checks. Together, our findings expose the gap between passing existing bot defenses and reproducing human behavior, and point to timing between actions as a remaining signal for defenders.
Figures & tables
Fig. 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.
Fig. 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.
Configuration
CF
PX
DD
Aka.
reC.
Cust.
Kas.
Shp.
GT
hC
Temu
All
(22)
(18)
(13)
(6)
(6)
(5)
(1)
(1)
(4)
(3)
(1)
(80)
Browser Use Cloud
93
81
69
80
80
80
100
20
50
33
0
77
Anchor
80
81
77
67
83
70
0
100
38
67
0
74
Onkernel
80
31
62
100
89
100
100
0
75
67
100
68
Browserless
58
28
69
56
83
87
0
0
83
56
100
57
Local (headful)
54
28
68
0
77
80
80
100
70
33
0
50
TABLE I: Stealth Bench V1 bypass rates (%). Task counts are in parentheses. DarkAgent was evaluated across all 80 tasks; other rows report the benchmark’s historical baselines, which score unblocked page access.
Configuration
P(Human)
Verdict
TLS (JA4DB)
Browser baselines (default input)
Chromium
8
Browser Use
Chromium
Firefox
14
Manus
Firefox
Camoufox
18
Manus
Firefox
Patchright
22
Manus
Chromium
CloakBrowser
0
Manus
Chromium
TABLE II: FP-Agent and JA4DB results (RQ2). Mean P(Human) (%), modal class, and JA4DB engine mapping across 30 sessions per stack.
Model
XGB
iForest
OC-SVM
SWD
Trans.
Keystrokes (Aalto held-out test)
HumanTyping †
0.9980
0.8918
0.9946
3.86 ‡
0.996
CloakBrowser Humanize \lx@paragraphsign
0.9990
0.7600
0.9400
1.80
0.972
KeyboardGen (ours)
0.6809
0.6389
0.6094
0.183 ‡
0.500
Mouse movement (Boğaziçi sealed test)
Ghost Cursor
0.9999
0.9882
0.9949
1.993
—
TABLE III: Trace-level behavioral separability and transfer. Held-out ROC-AUC ( 0.5 is chance), one-class AUC± , SWD, and cross-family transfer ( Trans. ) over three seeds (max SD ≤0.030 ).
Form
Configuration
Comp.
Flag
Score
Moves
Keypress duration
simpleForm
Human reference (released)
5/5
0/5
0.027
110.2
114.8
Default agents (8 stacks)
78/78
78/78
0.973
20.6
—
Browsium , default input
5/5
5/5
0.980
4.6
0.1
CloakBrowser + Humanize
5/5
0/5
< 0.001
278.0
30.3
DarkAgent ( Browsium + Behavium )
5/5
0/5
< 0.001
178.2
121.3
TABLE IV: AgentShield form evaluation. Verified completions ( c/N ), flags at the 0.5 cutoff ( k/c ), mean bot score, cursor movements, and keypress duration (ms) across both released detectors [ 2 ] . DarkAgent includes the pre-click pause policy ablated in Table V .
Fig. 3: MimicTrace overview. Controlled MimicTrace sessions complement imported records with joint telemetry and verified task completion.
Configuration
Flagged
Keyboard
Mouse
Pacing
Pause (ms)
Human and baseline cohorts
Human reference †
0/11
0.510
0.486
0.488
58.0
Default agents (8 stacks, 14 form entries)
139/139
1.000 ± 0.000
0.996 ± 0.007
0.949 ± 0.016
2.8
Browsium , default input
10/10
1.000 ± 0.000
1.000 ± 0.000
1.000 ± 0.000
10.5
CloakBrowser + Humanize
0/10
1.000 ± 0.000
0.990 ± 0.021
0.739 ± 0.052
162.5
DarkAgent live Browsium ablations (5 seeds × 2 forms)
TABLE V: MimicTrace form C2ST. Frozen AgentShield flag rate ( k/N ), per-channel XGBoost C2ST ROC-AUC (mean ± SD of pooled out-of-fold ROC-AUC across 20 repeats of stratified 5-fold CV vs. 11 human sessions), and median pre-click pause.
TABLE VI: Rule-based audit and combined detection. CC and RI count sessions flagged by cross-channel checks ( 0/546 FP-Agent humans) and runtime checks ( 0/14 stock controls). Ref. and Beh. report cohort-relative digest novelty ( 0.0% FPR) and the behavioral random forest ( 2.58% FPR); OR flags their union ( 2.58% FPR on 155 held-out FP-Agent humans, which does not estimate a local honeysite human rate).
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Feature
Definition
Event efficiency
Minimum required events divided by observed events
Error episode rate
Error episodes divided by target character length
Mean error-detection length
Characters typed after an error before correction begins
Mean correct run length
Correct character insertions between consecutive error episodes
Rollover ratio
Key-downs overlapping the preceding key hold divided by total key-downs
546 human and 7,173 agent records with complete attributes; environment-model fitting and evaluation.
Stock-browser controls
14 launches
Windows browser launches with no violations across 29 runtime checks.
Appendix
TABLE VIII: Cohorts and experimental roles. Archive composition is distinguished from protocol-specific samples; counts are reported for each role rather than as a sum of distinct sessions.
Bot detectors deployed at scale treat traffic as binary: human or bot. This assumption breaks when AI agents browse the web through browser automation, a traffic class that is neither and that binary classifiers structurally cannot represent. We present a three-class detection framework distinguishing humans, bots, and AI agents, and show that the binary-vs-agent confusion is architectural: a binary human-vs-bot detector misroutes agent sessions because its label space lacks an agent class. On our controlled benchmark, an MLP binary classifier misclassifies 39.1% of real AI agents as human and a SAINT binary transformer misclassifies 34.5%; adding an explicit agent class yields per-class agent F1 = 1.000 in all 30 runs (3 model families × 10 seeds). To measure evasion resistance, we construct a five-level evasion ladder spanning passive observation, GAN-generated trajectories, and replay of real human cursor data (n=2299 evasion sessions). Across 10 seeds and 3 model families we observe zero agent misses in 22990 per-seed predictions. The discriminative signal is a browser-automation artifact, not evidence of agent reasoning: Playwright does not emit the raw pointer-move and wheel-delta streams a physical input device produces, and this absence signature survives trajectory manipulation. Exhaustive search over all feature subsets of size 1-5 (9401 GBMs) shows that two behavioral features (mouse_event_rate, teleport_click_ratio) give 100% observed agent recall at every evasion level with agent precision 0.994; five features lift macro-F1 to 0.991. The signal is redundantly encoded: removing teleport_click_ratio leaves agent detection at 100%. The single-feature regime is degenerate, flagging every agent only by collapsing the classifier to always predict "agent". Two features robustly isolate agents; five separate all three traffic classes at macro-F1 ≥0.99.
Vishisht Choudhary, Lukas Schmidt, Anne Zoë Kenntner +3
Technical University of Munich Munich, Germany · Kontext Munich, Germany
As AI web agents proliferate, combining large language models with autonomous, browser-level control, indiscriminate content scraping by web agents has emerged as a privacy and security challenge. Existing defenses, such as robots.txt and active bot-blocking, are insufficient, as they are widely violated and easily circumvented. In this work, we demonstrate that AI web agents can be effectively distinguished from humans and traditional crawlers using a multi-layer fingerprint based on both network layer characteristics (e.g., TLS, HTTP) and browser interaction behavior. We implement this mechanism as a programmatic logging framework that can be deployed on a live, instrumented domain. By analyzing six prominent agent frameworks (AutoGen, Browser Use, Claude, Gemini, ChatGPT, and Skyvern), we uncover latent structural differences in how these systems assemble HTTP requests, establish TLS/HTTP connections, and execute autonomous browser actions. Feeding these multi-layer features into a decision tree classifier, our framework achieves high-fidelity identification (100% accuracy), successfully isolating distinct agent architectures and differentiating agent traffic from both human browsing baselines and legacy crawlers. Our findings demonstrate that cross-layer agent tracking provides a robust approach to content protection and web security policy enforcement.
The rapid emergence of web automation across commercial crawlers, solver services, and LLM-based browser agents has created new challenges for defenses that must distinguish legitimate automated activity from scalable abuse. In response, modern bot defenses increasingly replace explicit challenges with risk-based decisions over browser, session, identity, and behavioral signals. This paper explores how current automation stacks can bypass these defenses end-to-end, evaluating seven commercial solver services and eight LLM-based browser agents against four widely deployed defenses. We find that solver services largely defeat challenge-based defenses with a 100% success rate, but collapse to an average 23% success rate on reCaptcha v3. Browser agents encounter a different bottleneck: the browser and account state presented to the verifier. Controlled experiments across browser configurations show that an established consumer account and persistent Chrome state strongly affect reCaptcha v2/v3 acceptance in our deployments, whereas Cloudflare Turnstile exhibits substantially greater sensitivity to the agent's browser control path. Reconstructing the established browser environment enables previously rejected agents to pass without model retraining. Once established, this trusted environment transfers across the agents and defenses in our testbed, adding no measurable defense-specific marginal cost to the surrounding workflow. These results expose an inherent security tension in modern non-interactive defenses: to eliminate friction, the signals they trust must be accessible to everyday human users, yet this accessibility inherently guarantees that adversaries can acquire, reproduce, and transfer the same identity signals to scale automated abuse.