# Random fingerprint vs real device: why we draw machines

> Random fingerprint vs real device: random values from separate lists make machines nobody sells. We draw a whole real device, a Mac, a Windows PC or a phone.

Source: https://mosaicbrowser.com/blog/a-fingerprint-is-a-machine

## A fingerprint is a machine, not a bag of fields

Random fingerprint vs real device: random values from separate lists make machines nobody sells. We draw a whole real device, a Mac, a Windows PC or a phone.

![Machines people can actually buy, one row each](https://mosaicbrowser.com/covers/a-fingerprint-is-a-machine.webp)

Random fingerprint vs real device is not a close contest. A random fingerprint picks the graphics chip from one list, the screen from another and the thread count from a third, and the result is often a computer nobody has ever sold. A real device fingerprint takes all of them from one machine, so they agree. Mosaic's generator worked the first way until we replaced it with a catalogue of real hardware, and then we found that the change reached only profiles drawn after it.

## Three tables that did not know about each other

Until the catalogue, our generator drew a profile's hardware from a GPU list, a screen list and a CPU-and-memory list. Each list had its own popularity weights and none of them looked at the others, so a draw could be the most likely value in every column and still describe no computer. Three real outputs:

```
Apple M3 Max                  beside a 13-inch MacBook Air panel
RTX 4060 Laptop GPU           beside a 3440x1440 ultrawide
Intel UHD Graphics 620        beside thirty-two threads

```

An M3 Max is a common chip and a MacBook Air panel is a common screen. Apple never put them in the same case, though, and a detector with a hardware table reads that pair as masking. One impossible pair costs a profile more than any honest value could.

## Random fingerprint vs real device: one row is one machine

`catalogue.ts` replaced the three tables. It holds real Macs, Windows PCs and Linux machines, one row per model. Each row stores the GPU string the driver reports, the `hardwareConcurrency` values that model ships with, its memory options and its real displays. A new profile picks a row first and draws inside it, so an M3 Max on a MacBook Air screen can no longer be built at all.

![Creating a profile in Mosaic: the hardware and locale drawn together for its IP](https://mosaicbrowser.com/shots/profile-editor.png)
*The editor shows the machine a profile was drawn as*

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Machines that exist](https://mosaicbrowser.com/features/real-fingerprints)

## A fixed chip still has to vary

After the catalogue shipped, a bug report from our M4 Max build Mac said "every new profile just picks my own specs". It was half right. On a stock Chromium a profile on that Mac had to keep the M4 Max, because in our Pixelscan runs any other Apple chip came back as masking. Apple sells three computers with that chip (two MacBook Pros and a Mac Studio), so three machines was the correct answer. The screens were the problem, since every laptop row listed only its built-in panel.

A MacBook on a desk is often plugged into a monitor, and then the browser reports the monitor. So `macLaptopScreens()` gave each Mac laptop row the five monitors people most often dock to, with weights that keep the laptop's own panel the usual result. `npm run check:devices` draws 200 profiles per simulated host and counts distinct combinations of machine, thread count and screen:

```
M4 Max     14 → 34
M2 Pro     11 → 25
M1          7 → 18
Intel Mac   9 → 31

```

Two hundred draws do not exhaust the pool, so a rerun moves these by a few, and the check asserts a minimum rather than the exact counts. On our own engine the chip pin was later lifted too, because Tesseract Chrome moves the renderer string and the graphics capability record together inside the engine. That measurement is a separate post.

## 344 profiles were already drawn

The catalogue changed what the generator draws from that day on. It did nothing to the 344 profiles already on the build Mac, and 322 of those came from the old tables. Someone opened one of them and asked, from inside its browser: "what type of Apple M4 Max uses a 1680x1050 screen?" The 1680x1050 was a scaled mode from the old screen list. Our audit had warned about that profile the whole time, on that profile's own page, which is a place you only see if you already suspect it.

`repairHardware` fixes two kinds of fault in different ways. If the profile describes a machine nobody sells, it keeps the chip and takes the screen, thread count and memory from the catalogue row that has that chip. If the profile claims hardware this computer cannot stand behind, such as a GPU vendor `navigator.gpu` contradicts, it redraws the machine from the profile's own seed and locks the locale, timezone, geolocation and every noise setting. Canvas and audio identity come from the seed, so a site that recognised the profile by them still does. We ran it over the whole library:

```
257 moved onto a different machine
 67 already coherent, only the device id was missing
 20 already coherent and already recorded
audit warnings about GPU or screen: 237 before, 0 after

```

A second pass changed nothing on any of the 344.

## What a site sees

Pixelscan, CreepJS and the rest never see `catalogue.ts`. They read the WebGL renderer, `screen.width`, `hardwareConcurrency` and `deviceMemory`, and ask whether one computer could report all four. (The graphics values are listed in [WebGL fingerprinting](https://mosaicbrowser.com/glossary/webgl-fingerprinting).) A profile copied from a real model answers yes without anyone tuning it for a particular detector.

The spoofs we removed for the same reason are in [half a spoof is a contradiction](https://mosaicbrowser.com/blog/half-a-spoof), and everything a profile carries is listed on [real fingerprints](https://mosaicbrowser.com/features/real-fingerprints). [How to change your browser fingerprint](https://mosaicbrowser.com/guides/change-your-browser-fingerprint) compares extensions, settings and separate browsers side by side, and [browser fingerprinting](https://mosaicbrowser.com/glossary/browser-fingerprinting) names each surface a page reads.

## Questions

### Is a random fingerprint better than a real device fingerprint?

No. Random values drawn from separate lists produce combinations no shop sells, such as a top-end laptop chip beside a small laptop's screen. A site that holds a table of real hardware reads that as masking, which is worse than any single ordinary value.

### What does Mosaic draw a fingerprint from?

From a catalogue of real devices: real Macs, real Windows PCs and real Android phones. Each desktop record holds one model's graphics chip, the thread counts and memory it ships with, and the displays it really has.

### What happens to profiles made before a rule changed?

A generator rule reaches only new profiles. Mosaic's repair redraws a profile's machine from its own seed and keeps its cookies, canvas identity and locale, so older profiles can be brought up to the current rules.

### Do two profiles on one computer get different machines?

Yes. The catalogue varies the model, the thread count and the display, so profiles drawn on one computer claim different machines that all make sense on that computer.

## Related

[Machines that exist: fingerprints drawn from real hardware](https://mosaicbrowser.com/features/real-fingerprints): Mosaic draws each profile's GPU, screen, CPU, memory and fonts from one real device, so the parts of a fingerprint agree with each other and with the host.

[Half a spoof is a contradiction](https://mosaicbrowser.com/blog/half-a-spoof): Partial fingerprint spoofing detection is simple: ask one question two ways. We cut five spoofs that changed one route to a value and left the other.

[Browser fingerprinting: how sites recognise a browser without cookies](https://mosaicbrowser.com/glossary/browser-fingerprinting): Browser fingerprinting is recognising a browser by reading its hardware, settings and rendering quirks instead of storing a cookie. How sites do it.

[How to change your browser fingerprint without breaking it](https://mosaicbrowser.com/guides/change-your-browser-fingerprint): How to change your browser fingerprint: change the whole machine at once. A single new value makes a browser rarer and contradicts the rest.

[WebGL fingerprinting: what your graphics card tells a page](https://mosaicbrowser.com/glossary/webgl-fingerprinting): WebGL fingerprinting reads the GPU vendor and renderer strings, dozens of driver limits and a rendered image, which together identify your GPU.







[Why --force-device-scale-factor made our profiles blurry](https://mosaicbrowser.com/blog/force-device-scale-factor-blurry): On a Retina panel, --force-device-scale-factor=1 painted 800x513 pixels where the window needed 1600x1026. Our engine now claims the value and paints natively.

## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy IP per profile. 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.
