ShardBrowser icon indicating copy to clipboard operation
ShardBrowser copied to clipboard

Fingerprint override `max_touch_points: 0` is ignored: `navigator.maxTouchPoints` returns 1 (host value leaks)

Open senderstom7-glitch opened this issue 3 weeks ago • 1 comments

Summary

The profile win-rx5700xt sets "max_touch_points": 0, but in the browser navigator.maxTouchPoints returns 1. The value appears to come from the host OS instead of the profile. A Windows desktop with a discrete RX 5700 XT GPU and no touchscreen should report 0, so this mismatch is an easy detection signal.

Environment

  • ShardX engine version: 2.1.4 (latest)
  • SDK version: 2.1.4
  • Fingerprint profile: win-rx5700xt
({
  maxTouchPoints: navigator.maxTouchPoints,
  ontouchstart: 'ontouchstart' in window,
  touchEvent: typeof TouchEvent,
  pointerCoarse: matchMedia('(pointer: coarse)').matches,
  anyPointerCoarse: matchMedia('(any-pointer: coarse)').matches,
  hoverNone: matchMedia('(hover: none)').matches,
  iframeMaxTouchPoints: (() => {
    const f = document.createElement('iframe');
    document.body.appendChild(f);
    const v = f.contentWindow.navigator.maxTouchPoints;
    f.remove();
    return v;
  })(),
})

senderstom7-glitch avatar Nov 07 '26 11:11 senderstom7-glitch

in v2.1.6

Kr1tos avatar Nov 20 '26 12:11 Kr1tos