跳至主要内容
AntidetectLab
浏览器与移动端诊断
浏览器自动化特征检测

自动化、CDP 与五域 JS 审计

正在检测

扩展程序、开发者工具与浏览器策略都可能影响观测结果,请结合各项证据综合判断。

查看详细诊断 双浏览器实时对比

任何获得链接的人均可阅读已发布的报告。

正在准备浏览器检测。
0% · 0.00s R 重新扫描
01 链路 JA4 02 芯片 WASM 03 Canvas IDAT 04 五域 CDP 05 STUN 与 ECS 06 综合研判
我的 IP
正在检测…
正在解析出口 IP 地理位置与 PTR 主机名…
导出 ▾
—
设备一致性评分 等待测量数据
运营商 ISP…
DNS 解析…检测 DNS →
主机名 (PTR)…
IP 质量…
WebRTC…
时区…
JA4 / HTTP2…检测 JA4 →
操作系统…
VPN / 分流 TCP…
匿名节点 / 机器人…检测 Bot →
IP 子网段…
数据源的滥用标记…
指纹 ID…
正在等待本次会话的测量结果。
等待测量数据
交互式专项诊断工作台

浏览器自动化特征检测 — 实时遥测与诊断

正在收集观测数据…
状态正在为 bot-detection-test 收集实时遥测…

8 层取证级遥测拆解

在本地实时测量客户端环境、C++ 字节码引擎、芯片限制以及 L4–L7 传输层参数。

正在检测

技术规范与检测方法

Automation Forensics: CDP Runtime Serialization, Prototype Integrity & 5-Realm Parity

深度技术拆解文章正文以英文撰写;文章摘要、实时诊断工具、检测方法论与基准测试页面均支持您所选的界面语言。

WebDriver Flags, CDP Runtime Serialization & SourceURL Side-Effects

Automation frameworks leave measurable traces in WebDriver globals, DevTools protocol serialization hooks, and synthetic input event coordinates.

Headless and automated browsers driven via WebDriver (W3C WebDriver) or the Chrome DevTools Protocol (CDP) frequently expose automation artifacts even when navigator.webdriver is patched to false. When Runtime.enable is active, DevTools attaches remote object inspection hooks that evaluate custom getters during Error.stack or console serialization. Similarly, Page.addScriptToEvaluateOnNewDocument injections can leak sourceURL comments or mismatched cdc_ / binding symbols.

In addition, browser security extensions and automation drivers sometimes break synchronization between synchronous Notification.permission and asynchronous navigator.permissions.query({ name: 'notifications' }), or emit synthetic mouse/pointer events with zero fractional movement or impossible coordinate deltas. Checking all of these indicators side-by-side prevents single-flag bypasses from masking automated control and separates intentional permission denials from driver-injected stubs.

Cross-Realm Consistency Across Window, Iframe, Dedicated, Shared & Service Workers

Isolating JavaScript overrides to the main window fails immediately when workers inspect navigator, hardwareConcurrency, or WebGL inside background threads.

A web browser is not a single global scope. The HTML Living Standard defines multiple independent ECMAScript execution environments (realms) that share the same browser process and profile: the main Window, a sandboxed iframe[srcdoc], DedicatedWorker, SharedWorker, and ServiceWorker. AntidetectLab executes parity probes across all available realms simultaneously.

Because each Worker realm initializes its own clean global scope from the browser engine's C++ bindings, any JavaScript spoofing injected solely into the document DOM fails immediately when a Worker compares userAgent, platform, hardwareConcurrency, or languages against the main window. Comparing all five execution realms side-by-side also catches ServiceWorker registration mismatches and sandboxed iframe scope leaks.

Automation / Realm ProbeExecution ContextClean Browser InvariantTampering / Automation Signal
navigator.webdriverMain Window & Workersfalse or undefinedtrue or overridden getter mismatch
CDP Runtime / SourceURLMain Window stack/consoleNo unsolicited getter evaluationGetter triggered by CDP serialization
Function.toString & ProtoWebIDL native prototypesfunction () { [native code] }, acyclic protoModified string output or Proxy trap loop
Permissions SyncWindow vs Permissions APINotification.permission == query stateDesynced denied vs prompt states
5-Realm ParityWindow, Iframe, 3 Worker typesIdentical UA, platform, cores, languagesMain Window patched while Workers leak host

WebIDL Prototype Descriptors, Proxy Traps, and Stack Overflow Counters

Checking getter ownership, toString() formatting, and call-stack limits catches JavaScript-layer property interception.

Native browser getters defined by WebIDL live on prototype objects such as Navigator.prototype or Screen.prototype and pass Function.prototype.toString natively without throwing when probed with invalid receivers or cyclic prototype checks. Userscript injectors that attach getters directly onto the navigator instance, wrap functions in ES6 Proxy objects, or alter stack frames leave detectable descriptor and recursion-depth anomalies.

AntidetectLab counts exact prototype anomalies and lists flagged APIs transparently—including checking ServiceWorker prototype integrity when a ServiceWorker registration is active—so engineers can see precisely which object descriptor broke WebIDL expectations. In addition, measuring maximum call-stack recursion counters across clean vs hooked environments helps expose deeply nested Proxy wrapper chains.

Distinguishing Privacy Extensions & DevTools from Headless Automation

Anti-fingerprinting browser extensions often modify prototypes in ways that resemble automation hooks.

Because user-installed privacy extensions (canvas blockers, user-agent switchers, script blockers) use the same Object.defineProperty and prototype-wrapping techniques as stealth automation scripts, prototype anomalies should be interpreted in context. Disable conflicting extensions or close DevTools when validating a baseline browser build, and cross-check findings on User-Agent & UA-CH and Canvas & PNG IDAT.

When auditing an automated test harness (Playwright, Puppeteer, or WebDriver BiDi), inspect both the 5-realm Worker comparison and the Permissions-Notification synchronization state to ensure background workers and permission prompts behave identically to an interactive desktop browser session.

Reviewing WebIDL prototype descriptors, cyclic prototype guards, CDP stack serialization traps, and Function.toString outputs across main and worker realms eliminates silent automation leaks before production test deployment or multi-realm browser consistency validation across desktop and mobile sessions.

本工具专项技术问答

How does CDP Runtime.enable detection work without calling private APIs?

When DevTools or automation drivers (Puppeteer, Playwright, Selenium CDP) enable the Runtime domain, console or Error stack serialization inspects getters on thrown or logged objects. Side-effect probes detect whether a getter on an Error or object property was evaluated during serialization.

What are the 5 JavaScript execution realms tested on this page?

AntidetectLab compares environment properties across (1) Main Window, (2) Sandboxed srcdoc Iframe, (3) DedicatedWorker, (4) SharedWorker, and (5) ServiceWorker. Scripts that patch window.navigator only in the main document often leak the real values inside Worker realms.

Can opening Chrome DevTools manually trigger CDP signals?

Yes. Manually opening browser DevTools enables the same CDP Runtime inspection path as automated drivers, which is why automation findings should always be read alongside webdriver, prototype, and input-coordinate evidence.

How do cyclic prototype and Function.toString checks spot JS spoofing?

JavaScript property overrides using Object.defineProperty or ES6 Proxy frequently alter Function.prototype.toString output or create cyclic __proto__ chains that violate native WebIDL getter invariants.