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.