botrefund.com
← BotRefund Home BROWSER & INTERACTION SIGNAL

Screen and WebGL Color Depth Mismatch

BotRefund compares screen.colorDepth, screen.pixelDepth, and WebGL framebuffer RGBA bit depths to spot 16-bit virtual displays and incomplete screen spoofing.

检测内容

The display coherence probe reads screen.colorDepth and screen.pixelDepth, acquires a WebGL context, and sums RED_BITS + GREEN_BITS + BLUE_BITS + ALPHA_BITS from the framebuffer.

It flags a mismatch if colorDepth differs from pixelDepth, if a 24-bit desktop screen has no WebGL context, or if 24-bit screen depth pairs with a WebGL bit sum other than 24 or 32. Mobile sessions lacking WebGL and interactive Android WebViews are explicitly exempted.

为何重要

Minimal virtual framebuffers such as 16-bit Xvfb, along with naive screen spoofers that alter screen.colorDepth without adjusting pixelDepth or WebGL renderbuffers, create conflicting bit-depth values.

Wide-gamut and HDR monitors (30-bit depth) pass cleanly whenever colorDepth equals pixelDepth, and mobile exemptions protect legitimate phones or WebViews with restricted GPU access.

说明

如何解读结果

01 预期结果

Matching screen depths with 24/32-bit WebGL framebuffer

Desktop displays report matching 24-bit colorDepth and pixelDepth alongside 32-bit RGBA WebGL (or matching 30-bit HDR depths), while mobile WebViews without WebGL pass cleanly.

Example result Color depth: 24 • Pixel depth: 24 • WebGL RGBA bits: 32 — Result: consistent display depth
02 POSSIBLE AUTOMATION SIGNAL

Conflicting color/pixel depth or 16-bit desktop WebGL

Reporting unequal colorDepth and pixelDepth, or claiming 24-bit color over a 16-bit or absent desktop WebGL framebuffer, flags likely virtual display spoofing.

Example result Color depth: 24 • Pixel depth: 24 • WebGL RGBA bits: 16 — Result: virtual framebuffer depth mismatch

Forensic significance: Supporting display-coherence signal that exposes 16-bit virtual displays and inconsistent screen spoofing while exempting mobile WebViews and HDR displays.