botrefund.com
← BotRefund Home BROWSER DETECTION SIGNAL

Clean Context Iframe Leak

Appends a hidden 1x1 <iframe srcdoc="<html></html>"> to test whether contentWindow.navigator.webdriver leaks true inside a fresh realm.

检测内容

Client integrity checks append a temporary, invisible 1x1 <iframe srcdoc="<html></html>"> element with zero opacity to the page DOM and immediately read contentWindow.navigator.webdriver inside that fresh child realm before cleaning it up.

Because a newly inserted srcdoc document initializes an untouched Navigator prototype in an isolated browsing context, it exposes underlying browser automation flags missed by main-frame-only cloaking scripts.

为何重要

JavaScript injection hooks or document-start stealth scripts that patch navigator.webdriver solely on the top window routinely fail to cloak dynamically created srcdoc child frames.

Ordinary retail desktop and mobile browsers consistently report false across both the parent window and every newly initialized same-origin srcdoc iframe.

说明

Srcdoc Iframe Verification

01 预期结果

Fresh srcdoc child realm reports webdriver as false

Unmodified consumer browsers return false consistently across the parent window and newly appended srcdoc child contexts.

Example Browser Output Parent webdriver: false • Srcdoc iframe webdriver: false — Result: clean child realm
02 POSSIBLE AUTOMATION SIGNAL

Automation webdriver flag exposed inside srcdoc iframe

Top-frame-only webdriver masking fails inside dynamically created srcdoc frames, revealing navigator.webdriver set to true.

Example Telemetry Result Parent webdriver: false • Srcdoc iframe webdriver: true — Result: automation leak in child iframe

Forensic significance: A webdriver leak inside a srcdoc iframe is a high-confidence indicator of masked browser automation capable of triggering strong enforcement, though verified authentic human interaction can still be weighed in borderline review.