未修补的 V8、SpiderMonkey 或 JavaScriptCore 行为
Native engines report name: "toString", return "[native code]", throw TypeError on call({}), and carry no own 'toString' property.
BotRefund 对 Function.prototype.toString 和原生 DOM 方法执行五项结构检查,以揭露隐身代理,并降低触屏设备上轻微格式差异的权重。
The function-reflection probe inspects five invariants on Function.prototype.toString: whether .name differs from "toString", whether toString() omits "[native code]" or "toString", whether toString.call({}) fails to throw a TypeError, whether hasOwnProperty("toString") is true, and whether navigator.plugins.item.toString() omits "[native code]".
Structural violations such as accepting {} in call({}) or adding own properties raise a strong anti-tampering indicator, whereas touch-mode sessions exhibiting only minor name or formatting quirks are automatically downgraded to a low-severity note.
Stealth automation wrappers commonly hook Function.prototype.toString so patched getters pretend to return [native code]. Incomplete wrappers frequently forget that native Function.prototype.toString.call({}) must reject plain objects with a TypeError or leave inspectable own properties behind.
自动放宽触屏环境中细微的文本格式差异,既保护真实移动 WebView,又保持对隐身桌面挂钩的强检测。
Native engines report name: "toString", return "[native code]", throw TypeError on call({}), and carry no own 'toString' property.
A stealth Proxy or JavaScript shim failing to throw TypeError on call({}) or exposing an own 'toString' property signals function-reflection tampering.
Forensic significance: High-confidence prototype-tampering detector on structural failures (automatically softened for minor touch formatting quirks), dampened or overridden by verified human interaction.