Dev.to Security 🔐 Cybersecurity 👁 0 📖 7 min read

Browser Fingerprint Consistency: When UA, TLS and WebGL Tell Different Stories

Rewrite the UA string of a profile and every page-level check follows immediately: navigator.userAgent reports Chrome 141, Sec-CH-UA reports "Google Chrome";v="141", and the full-version list agrees. Nothing about the se

Browser Fingerprint Consistency: When UA, TLS and WebGL Tell Different Stories

Rewrite the UA string of a profile and every page-level check follows immediately: navigator.userAgent reports Chrome 141, Sec-CH-UA reports "Google Chrome";v="141", and the full-version list agrees. Nothing about the session looks edited, because the part that was edited is the part humans read. The layers underneath still belong to an older build, and that gap is what this post is about.

Now look at what that same client sends before the first byte of HTML. The ClientHello carries a cipher order, an extension set, an ALPN list and an elliptic-curve preference that belong to the build the profile was cloned from. On a Windows profile cloned three releases back, that is Chrome 128's BoringSSL shape, not 141's. And when the page asks for WEBGL_debug_renderer_info, it gets ANGLE (Intel, Intel(R) UHD Graphics 630 Direct3D11 vs_5_0 ps_5_0): a GPU string that fits the machine the profile was copied from, not the machine the UA claims to be.

Three values, one session, and they cannot all describe the same client. That is what this post is about, and it is a consistency problem before it is anything else.

What does fingerprint consistency actually mean?

An environment is consistent when every observable signal can be derived from one browser build running on one declared platform. Not when each value is individually plausible, but when a single build and a single device could have produced all of them.

The layers are separable and they have different owners:

Diagram of four fingerprint signal layers

  • String layer: navigator.userAgent, Sec-CH-UA*, navigator.platform. Written by whoever assembled the profile, read by every page.
  • Transport layer: ClientHello contents (cipher suites, extensions, curves, ALPN), then the HTTP/2 SETTINGS frame. Produced by the TLS and HTTP stacks compiled into the binary.
  • Rendering layer: WEBGL_debug_renderer_info, Canvas 2D output, font fallback metrics. Produced by the graphics and font stacks.
  • Device layer: devicePixelRatio, screen.width/height/availWidth, navigator.maxTouchPoints, sensor interfaces. Produced by the hardware and OS.

The practical test is one question: can you name the single build this session came from, and does every layer agree with that answer? If the UA points at build N and the handshake points at build N-3, there is no build that satisfies both.

Six signals across four layers

Layer Signal What Chrome 141 on Windows 11 returns Typical contradiction Cost to check
String navigator.userAgent + Sec-CH-UA* Chrome/141.0.0.0, brand list "Google Chrome";v="141" UA says 141, the Client Hints list still reports 128 or is absent one header read
Transport TLS ClientHello (JA3/JA4 input) cipher order, extension set and curves of Chromium 141's BoringSSL extension ordering from an older build, or from a non-browser client server-side, no JavaScript
Transport HTTP/2 SETTINGS and frame ordering Chromium's SETTINGS constants values matching Go, OkHttp or an older Chromium server-side, once the connection opens
Rendering WEBGL_debug_renderer_info ANGLE (NVIDIA, ... Direct3D11 vs_5_0 ps_5_0) a Direct3D11 string under an iOS UA one JavaScript call
Rendering Canvas 2D hash, font metrics Skia rasterization plus the Windows font fallback chain hash matching a different build or a Linux font stack one JavaScript call
Device devicePixelRatio, screen.*, maxTouchPoints DPR 1.0–1.5, maxTouchPoints: 0 DPR 3 on a 1366×768 panel, Android UA with zero touch points one JavaScript call

Note the asymmetry in the last column. The first three rows are settled before any page code runs, so a value read inside the session cannot tell you whether they agree. Only the UA string is also visible to the page afterwards. That is why UA edits look clean in a browser console and still fail on the other side.

Why a contradiction costs more than an odd value

Anti-fraud scoring treats these two kinds of evidence differently, and the difference is structural rather than a matter of degree.

A single odd value A contradiction between layers
Evidence type statistical structural
False-positive rate non-zero; real users produce odd values near zero for a claimed identity
Cost to fake pick a different value re-emit every layer from one build
Detector cost model inference or scoring string and handshake comparison
Fix priority low highest

Same session, two different things to fix.

Behavioural analysis is probabilistic because real users do behave oddly, so oddness earns suspicion rather than a verdict. A contradiction is different in kind: if the UA claims an iPhone and the GL renderer names a Direct3D11 device, there is no user behaviour that explains the gap, because no iPhone has ever produced that string. The detector does not need a model to reach that conclusion. It compares two values it already has.

How consistency actually breaks

Diagram of four cross-layer fingerprint contradictions

UA / kernel version mismatch. The string is rewritten without re-issuing the profile behind it. Two flavours show up in practice: the UA and the Client Hints disagree (UA updated, Sec-CH-UA-Full-Version-List left behind), or the UA and the handshake disagree (string updated, ClientHello untouched). The second is harder to notice from inside the session and survives longer.

Hardware rendering leaks. The renderer string describes the GPU and driver of the machine the profile was copied from, and it has to fit the declared platform. The obvious failure is a mobile UA over a desktop ANGLE string. The subtler one is a real renderer paired with a panel that GPU never shipped with, or a renderer string whose driver version predates the build the UA claims. Real values, wrong pairing.

Stale data. Nothing was ever misconfigured. The environment was correct when it was created and then stopped matching the browser it claims to be. A frozen profile keeps emitting the cipher suite set, the extension order and the JS API surface of its original build while the real browser moves on. Chrome ships a new stable major roughly every four weeks, and the extension set changes often enough that the JA4 input shifts across a few releases. Three months of no re-validation is three release cycles of accumulated difference.

Weak mobile simulation. The mobile label without the mobile substrate: maxTouchPoints at 0 under an Android UA, a desktop DPR with a desktop screen.availWidth, a font stack that contains no system mobile faces, DeviceOrientationEvent missing or present in a combination no phone produces. These are cheap to read and they rarely appear alone, which is what makes them read as a pattern rather than as one field.

A five-minute check

Three checks cover the rendering and device layers. The transport rows need the server side.

  • WEBGL_debug_renderer_info read from the page, compared with the platform in the UA. A Direct3D11 backend under iOS or Android is impossible. A generic string, or no extension at all, is itself a signal.
  • devicePixelRatio multiplied by screen.width, compared with panel sizes that actually shipped for the declared device. Reset page zoom to 100% first, and allow rounding on fractional DPR from Windows scaling.
  • navigator.maxTouchPoints together with matchMedia('(pointer: coarse)'), compared with the device class in the UA. 'ontouchstart' in window alone cannot separate a phone from a touchscreen laptop.

The transport rows need the server side: capture the ClientHello and compare the extension order and cipher list against a current build of the browser you claim to be. If those two disagree, nothing in the page can fix it.

How fast does a profile drift?

Consistency is a maintenance property before it is a parameter problem. Three things set the rate:

  • Kernel cadence. How closely the underlying build tracks official releases. A fleet on outdated cores drifts faster no matter how carefully each profile was configured.
  • State sharing. Whether environments share state with each other, so one stale artefact propagates across profiles.
  • Re-validation. Whether profiles are re-checked after a build change, rather than only at creation.

For antidetect tools this is the part that ages worst: kernel cadence, not the parameter list, sets how fast a profile goes stale.

Most of the contradictions worth removing are self-inflicted and procedural: templates pinned to a build that no longer exists, locale and timezone set on two different screens, a resolution generator that picks values independently of everything else. Those are process bugs, not parameter bugs.

Conclusion

Consistency is alignment: what a profile claims to be, and what it emits, from the ClientHello up through the rendering APIs. Environments fail when those two disagree, and additional configuration does not compensate for a contradiction between layers.

The framing is narrower than stealth. If a value can be read by two different layers of the stack, those layers have to agree, which holds for QA rigs and test isolation as much as for anything else. An impossible machine is a bug before it is a strategy.

This is about environments being internally possible, not about passing a particular check on a particular site. A coherent environment can still be challenged for reasons unrelated to fingerprints, and detectors change, so any pattern described here is a moving target rather than a guarantee.

FAQs

What counts as a consistent environment?

One where the string layer matches the transport and rendering layers produced by the actual build: ClientHello contents, HTTP/2 SETTINGS, Canvas and WebGL output, JS API surface, and the device traits in the UA.

Which mismatch is most common?

Version splits between the declared build and the kernel-derived signals, usually caused by updating a string without re-issuing the environment behind it.

Can a page detect these mismatches on its own?

Partly. WebGL, Canvas, DPR and touch are readable from JavaScript. TLS and HTTP/2 are not, so a profile can look clean in a browser console and still fail at the edge.

Do these checks apply to antidetect browser specifically?

Yes. Those tools configure the same layers, and the same failure modes appear in QA rigs and test isolation. That is why this post is framed around consistency rather than stealth.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.