# Pixelscan fails on one profile: we bisected it to the seed

> One profile failed Pixelscan every round while fresh ones passed. The bisect ended at its seed and canvas, yet its noise passed our checks, as did 14 new seeds.

Source: https://mosaicbrowser.com/blog/one-seed-fails-pixelscan

## One seed failed Pixelscan every time, and its noise was fine

One profile failed Pixelscan every round while fresh ones passed. The bisect ended at its seed and canvas, yet its noise passed our checks, as did 14 new seeds.

![14 of 14: Fourteen fresh seeds passed; one seed did not](https://mosaicbrowser.com/covers/one-seed-fails-pixelscan.webp)

When Pixelscan fails on one profile and passes the others, the cause can be inside that one profile, and for us it was a single field: the seed. One Mosaic profile failed Pixelscan on every attempt while fresh profiles passed. A bisect through the proxy, the browser's data folder and a copied fingerprint ended at the seed, then at canvas, and then at a result we did not expect: the noise that seed produces held every property we test it for.

## The bisect, and the turn that gave it away

A profile's seed is the value its whole machine is drawn from. The editor's Identity seed card says it plainly: the same seed rebuilds the identical machine on any computer, with device, canvas and audio noise, fonts and locale all coming out of it.

We did not start there. We started with the usual suspects, one at a time:

```
same profile, 3 rounds                       fail, fail, fail
fresh profile, no proxy                      pass
fresh profile, same proxy                    pass
failing profile with a fresh user-data-dir   fail
failing profile's whole fingerprint, copied  pass

```

The first two passes cleared the engine and the IP. A new user-data directory, which throws away cookies, cache and history, still failed, so the browser's stored state was not it. The last row looked like a contradiction: the same fingerprint, copied onto another profile, passed.

It passed because the copy had been made with a new seed. So we took a profile that was passing, put the failing profile's seed on it and changed nothing else. Six rounds, only the seed moving:

```
own seed  pass      own seed  pass      own seed  pass
bad seed  fail      bad seed  fail      bad seed  fail

```

That is as clean as a bisect gets. The seed was the variable.

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)

## Which surface

A seed decides several kinds of [noise](https://mosaicbrowser.com/glossary/noise-injection-fingerprint), so the next question was which one, asked the way we had once [bisected Pixelscan's masking verdict](https://mosaicbrowser.com/blog/pixelscan-masking-bisected) to a single surface. We switched them off one at a time through the profile's own settings, the Spoofing card in the editor, rather than by adding a second launch switch. That detail matters: the launcher builds exactly one `--disable-spoofing` switch from the profile's canvas, WebGL, audio and client-rect settings, and a duplicate switch is read by neither.

```
bad seed, nothing off     fail
bad seed, canvas off      pass
bad seed, audio off       fail
bad seed, webgl off       fail
bad seed, rects off       fail
bad seed, all four off    pass
bad seed, nothing off     fail   (control returns)

```

Canvas, and only canvas. The last row is there because a bisect without a control at the end has not shown that the failure comes back.

## The noise was not wrong

We expected to find a bug here, and did not. Our canvas checks (`npm run check:canvas`) measure the properties the noise is supposed to have, and the bad seed held all of them, exactly as a good one does:

1. The same content drawn at two offsets differed by 0 bytes after the stamp.
2. Reading the same canvas twice differed by 0 bytes.
3. `getImageData` and a decoded `toDataURL` of the same canvas differed by 0 bytes.

Those are the comparisons a page uses to catch noise that disagrees with itself. Zero, zero, zero.

Then the amount. Share of opaque pixels the stamp changed:

```
six seeds sampled     0.07% to 0.30%
the bad seed          0.30%

```

The bad seed is the highest of six, which is not the same as an outlier; with a sample that small, 0.30% clears nothing and convicts nothing.

Our best guess is about Pixelscan's server, not our pixels: it hashes a scene it draws itself, scores the hash remotely, and this seed's hash may land somewhere its model has learned to dislike. Proving that means replaying Pixelscan's draw. Nobody has, so it stays a guess.

## How rare it is

After that we drew 14 fresh seeds on one profile and ran Pixelscan once on each. 14 passed, none failed. So this is not "profiles fail Pixelscan". It is a tail: rare, real and reproducible on the one seed we found.

## What to do when Pixelscan fails on one profile

1. Run a fresh profile, once with no proxy and once on the same proxy. If both pass, the engine and the IP are fine, and the variable is in the profile ([what Pixelscan's inconsistent verdict means](https://mosaicbrowser.com/guides/pixelscan-inconsistent-fingerprint) covers the other causes).
2. Run the failing profile two or three more times. One failure from a live site is not a result; a failure every round is.
3. If the profile is new and has no accounts in it yet, make another. A new seed is a new machine.
4. If the profile is already in use, setting Canvas 2D to Pass through real value is the mitigation we measured. It costs the profile its canvas noise, and it shows this computer's real canvas, the same one every other profile with canvas off shows.

Softening the noise for one seed is off the table. Twice already the amount was changed on an argument (too position-keyed after one change, too dense after the other) and measurement caught both. The design it has now, where the stamp follows colour rather than position, is in [canvas noise is a function of colour](https://mosaicbrowser.com/blog/canvas-noise-by-colour). If this is ever reopened, the experiment is a seed sweep like the one above, not a debate.

## Questions

### Why does Pixelscan fail on one profile and pass on others?

In our case it was the profile's seed, the value its canvas noise is drawn from. Putting that seed on a passing profile made it fail, and a new seed made the failing one pass, with nothing else changed.

### Should I change my proxy if Pixelscan fails one profile?

Test a fresh profile first. Ours passed with no proxy and with the same proxy as the failing one, which ruled the proxy out in two runs. If a fresh profile passes, the engine and the IP are fine and the variable is inside the profile.

### Does turning canvas noise off fix a Pixelscan failure?

For the one seed we found, yes: with canvas set to pass the real value through, it passed. The cost is that the profile then shows this computer's real canvas, the same one every other profile with canvas off on the machine shows.

## Related

[Pixelscan says inconsistent fingerprint: what it means](https://mosaicbrowser.com/guides/pixelscan-inconsistent-fingerprint): A Pixelscan inconsistent fingerprint means two values your browser reports cannot both be true of one machine. Five causes we found, each dated.

[Canvas noise is a function of colour, not place](https://mosaicbrowser.com/blog/canvas-noise-by-colour): Canvas noise consistent across reads has to key on colour: keyed on position, one drawing at two offsets differed by 76 bytes. Keyed on colour, 8 of 8 passed.

[Noise injection: changing a fingerprint by a few bits](https://mosaicbrowser.com/glossary/noise-injection-fingerprint): Noise injection changes a few low bits in canvas, WebGL or audio output so the fingerprint hash differs. Too much noise, or noise that moves, gives it away.

[Pixelscan's masking verdict, bisected to one surface](https://mosaicbrowser.com/blog/pixelscan-masking-bisected): We bisected Pixelscan's masking detected verdict on one profile. Canvas, WebGL, audio and client rects were fine. Hiding about 2% of font families caused it.

[What does Pixelscan check?](https://mosaicbrowser.com/guides/what-does-pixelscan-check): Pixelscan.net asks whether your browser could be a real machine. It says masking when the OS, fonts or graphics chip disagree. Each card, with our runs.

[The canvas method nobody noised: what a worker test found](https://mosaicbrowser.com/blog/the-canvas-method-nobody-noised): Our canvas noise reached toDataURL and missed toBlob, so a page calling toBlob got a PNG byte-identical to stock Chrome's. A worker test caught it.





## 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.
