Every browser API a page can call has a fixed shape. navigator.userAgent is a getter on Navigator.prototype, named get userAgent, taking no arguments, and its source prints as native code. A fingerprint spoof written in JavaScript has to replace that getter with its own, and the replacement is a different object. Prototype tampering detection is the search for that difference, one property at a time.
What prototype tampering detection compares
CreepJS, the open-source fingerprinting test by Abraham Juliot, has a page that runs these checks over the prototypes a fingerprint reads (prototype test, read 2 November 2026). Its test script names each failure it can report, and the names are a good map of the field:
failed toString: the function's source text is not what a built-in prints.failed descriptorandfailed descriptor keys: the property's descriptor, or its set of keys, is not the native one.failed own propertyandfailed own property names: a property sits on an object where the real browser has none, for examplewebdriverdefined onnavigatoritself instead of on its prototype.failed new instance error,failed class extends error,failed call interface error: the function answersnew,extendsor a wrongthisdifferently from the built-in, which usually throws a specific error.failed at incompatible proxy errorandfailed at chain cycle error: edge cases where a JavaScript Proxy behaves differently from the object it wraps.
None of these reads the spoofed value. A profile that claims exactly the right GPU still fails if the function that reports it was swapped.
Test a profile the way a site would, before a site doesIn Mosaic: Leak tests and detectors. A leak test and 49 public detectors, read for you. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.
Mosaic is a desktop app
Email yourself the link and open it on your computer.
How it works: Leak tests and detectors
Why Proxy wrapping is not enough
The usual answer is to wrap each real function in a JavaScript Proxy, which forwards calls to the original and prints as native code. It passes the simple tests and fails the strange ones: recursion through __proto__, a prototype chain that would loop, a Reflect.setPrototypeOf on the wrapper. CreepJS keeps a second page aimed only at Proxy-wrapped built-ins. Iframes and workers add one more test, because a wrapper installed in the page has to be installed again in every new context, and a fresh iframe's untouched copy is a reference to compare against.
What it found in our own code
Before we moved fingerprint values into the engine, our spoofs were JavaScript too. A diff against an untouched Chrome checked three levels: names, descriptors and values. The descriptor level found that all 28 of our accessors were anonymous. In Chrome, Object.getOwnPropertyDescriptor(Navigator.prototype, 'userAgent').get.name is "get userAgent"; ours was an empty string. A page could list every override we had in one loop, without calling toString once. Our markNative helper had fixed how the functions printed and nothing else. The same diff found a hidden global we had named __mosaic__, invisible to Object.keys and listed by Object.getOwnPropertyNames(window). JavaScript spoofing detection covers the other ways a script-level spoof shows.
How Mosaic handles it
On Tesseract Chrome no built-in is replaced from JavaScript. Fingerprint values are changed inside the engine, so navigator.userAgent is the browser's own getter returning the profile's value, with Chrome's name, descriptor and source, in every frame and worker. Mosaic's Detection tests include both CreepJS pages, prototype tampering and proxy detection, in the Automation group, so you can run them in a profile's own browser and read which property, if any, they name. The CreepJS trust score explains how the main CreepJS page reports what these tests find.
Sources
- CreepJS: prototype test page, read November 2, 2026
- CreepJS: proxy test page, read November 2, 2026
- CreepJS on GitHub, read November 2, 2026






