Black Friday

Black Friday: 25% OFF Annual · Solo $79

AI & Architecture3 min read· Verified 2026-11-22

How Modern WAFs Detect AI Browser Agents: Runtime.enable, DOM SoM & Mechanical Motion

Examine the four technical signals anti-bot systems use against AI browser agents and how Moordeck mitigates each at the Chromium 155 and IPC layers.

Red TeamStealth EngineeringWAF

TL;DR · Key Facts

  • Hardware fingerprint alignment protects browser identity; behavioral and debugging signals reveal automation immediately if unaddressed.
  • Four primary AI agent traps: Runtime.enable console/Error.stack getters, DOM-injected SoM boxes, Event.isTrusted / debugger flags, and linear 0ms pointer hops.
  • Moordeck /check ships 8 live probes so engineers can verify every mitigation empirically.

The Four Primary AI Browser Agent Detection Vectors

Anti-bot defenses have expanded well beyond checking navigator.webdriver. When driving browsers via standard CDP wrappers or browser extensions, four specific artifacts expose automated control within milliseconds.

Detection VectorHow Standard Agents Expose ItMoordeck v0.2.8 Mitigation
Runtime.enable SerializationCDP inspects console.debug arguments or triggers Error().stack getter trapsNativeFdTransport (Zero-CDP) omits DevTools; Patch 9003 guards cdp_compat
DOM Set-of-Mark PollutionAgent injects high-z-index highlight <div> overlays into live DOMPure-Node offscreen PNG SoM draws boxes + redactions outside webpage DOM
Debugger & Input FlagskFromDebugger bit, force=0.0f mouse values, or chrome.debugger viewport resizePatch 9003 strips kFromDebugger, normalizes force=NaN, and avoids debugger extensions
Mechanical Trajectory0ms jump clicks or straight-line coordinates with zero acceleration curveHumanized Motion Engine: minimum-jerk Fitts + quadratic Bezier + 60–120Hz coalesced points

Three Engineering Anti-Patterns Moordeck Intentionally Omits

During Chromium 155 source evaluation, our engineering team audited several open-source agent browsers and identified three patterns that introduce immediate detection risk on real production sites:

  • Freezing virtual time (Date.now()) between steps breaks live anti-bot heartbeats and challenge timers.
  • Enabling experimental WebMCP flags globally before Chromium stable rollout isolates clients into a tiny high-entropy cohort.
  • Using chrome.debugger extension bridges alters outerHeight - innerHeight geometry and leaves extension bridge signatures.

Auditing Every Vector Yourself on /check

Open moordeck.com/check inside any browser or automated session to inspect the AI Agent Stealth Audit card in real time. The suite passively measures pointer curvature entropy as you move across the viewport and executes active console/stack getter traps.

Frequently Asked Questions

No. The vision model still receives numbered bounding boxes and clean redactions on the exported PNG screenshot; the webpage DOM simply stays untouched.

Browser snapshots and offscreen SoM overlays align cleanly to viewport DIP logical coordinates with device-pixel scaling verified across iframes.

Moordeck treats human challenges strictly as a human-in-the-loop boundary: use the Desktop Takeover Queue (HTTP 423) so a human completes verification cleanly.

Yes. Pass allowedDomains when starting a profile session to constrain agent navigation deterministically.

Ready to verify real kernel isolation?

Download Moordeck Desktop for macOS Apple Silicon or Linux x64, or inspect your current environment with our zero-storage web diagnostics.

Related Reading

All Blog Articles