docs: a page on the GPU you claim versus the pixels you draw, plus a language pass
Adds renderer-string-vs-render.md, written from our own notes: a detection flag whose first explanation was wrong, killed by a ten-seed sweep across three vendor buckets, an A/B over two engine builds and a run on a second operating system that came back clean. The cause was the software rasterizer on headless Linux contradicting the GPU the profile claimed. It also covers the second flag in the same reports, which turned out to be our own test harness hammering one exit address. The rest is a pass over the existing pages to vary phrasing that had become repetitive across the set: "rather than" appeared 63 times over 21 pages and is now 23, and the four detector footers no longer share one sentence shape. No technical claims changed.
This commit is contained in:
1 parent
f6450a98cd
commit
f3102de8fd
23 files changed
+188
-65
No files matched your search
@@ -230,6 +230,7 @@ How any of this works, whether or not you use this project. Full index in [docs/
|
||||
- [Three ways to make Playwright undetected](docs/playwright-stealth-levels.md) - page, driver, engine, and what each one cannot reach
|
||||
- [Detected on one site only: the checklist](docs/playwright-detected-as-bot.md) - in order, with the proxy seventh rather than first
|
||||
- [Firefox WebGL renderer strings](docs/webgl-renderer-strings.md) - what ANGLE reports, and the software-rasterizer tell we shipped ourselves
|
||||
- [Your renderer string says NVIDIA, your pixels say software](docs/renderer-string-vs-render.md) - a detection flag we chased in the wrong direction, and what a GPU claim cannot fake
|
||||
- [Why headless browsers render different fonts](docs/headless-fonts-differ.md) - the three causes, the per-platform font sets, and why the fix is not installing more fonts
|
||||
- [What privacy.resistFingerprinting really does](docs/resist-fingerprinting.md) - and why this project sets it to false on purpose
|
||||
- [The ChromeDriver cdc_ variable](docs/cdc-variable-explained.md) - why renaming it is not removing it, and what that generalises to
|
||||
|
||||
@@ -31,6 +31,7 @@ an advert for it they would not be worth reading.
|
||||
| [playwright-stealth-levels.md](playwright-stealth-levels.md) | the three levels a stealth tool can work at, and what each cannot reach |
|
||||
| [navigator-webdriver-explained.md](navigator-webdriver-explained.md) | why setting it to `false` is worse than leaving it alone |
|
||||
| [webgl-renderer-strings.md](webgl-renderer-strings.md) | what ANGLE reports, and the software-rasterizer tell we shipped ourselves |
|
||||
| [renderer-string-vs-render.md](renderer-string-vs-render.md) | a flag we chased in the wrong direction: the GPU you claim vs the pixels you draw |
|
||||
| [headless-fonts-differ.md](headless-fonts-differ.md) | why headless renders different fonts, and why more fonts is not the fix |
|
||||
| [resist-fingerprinting.md](resist-fingerprinting.md) | what Firefox's own mode changes, and why this project turns it off |
|
||||
| [cdc-variable-explained.md](cdc-variable-explained.md) | the ChromeDriver variable, and why renaming is not removing |
|
||||
|
||||
@@ -86,7 +86,7 @@ and BotD does not look at them.
|
||||
## Checking your own
|
||||
|
||||
BotD is on npm and takes about four lines to run. Do it on the machine that will do
|
||||
the work rather than your laptop, and read which detectors fired rather than the
|
||||
the work instead of your laptop, and read which detectors fired rather than the
|
||||
verdict.
|
||||
|
||||
If any of the engine-identity group fires, stop and fix that first: it means the
|
||||
@@ -100,5 +100,5 @@ which takes the consistency idea considerably further.
|
||||
---
|
||||
|
||||
*From the notes of [invisible_playwright](https://github.com/feder-cr/invisible_playwright).
|
||||
BotD is one of the suites this project gates every release on, which is why the
|
||||
detector names and the compared values above are quoted from its source.*
|
||||
We gate every release on BotD, so the detector names and the compared values above
|
||||
come out of its source and not out of memory.*
|
||||
@@ -44,7 +44,7 @@ That works against the check at the top of this page, because the check greps fo
|
||||
|
||||
The variables are still there, still on `document`, still a set of three related
|
||||
names appearing together, still matching a shape no page author would produce. A
|
||||
detector that looks for *the pattern* rather than the prefix, three own properties on
|
||||
detector that looks for *the pattern* instead of the prefix, three own properties on
|
||||
`document` with a common random-looking stem and typed suffixes, finds them again.
|
||||
And because the patch has to preserve length, the shape of the replacement is
|
||||
constrained in ways that make it recognisable.
|
||||
@@ -63,7 +63,7 @@ The options are:
|
||||
3. **Do not put it on page objects at all.** Keep the state on the driver side of the
|
||||
boundary, or in an execution context the page cannot enumerate.
|
||||
|
||||
Option three is the only one that removes the surface rather than obscuring it, and
|
||||
Option three is the only one that removes the surface instead of obscuring it, and
|
||||
it is a design decision made long before anyone runs a detection test. It is also why
|
||||
"which stealth plugin should I use" is often the wrong question: no plugin can move
|
||||
state out of the page after the fact.
|
||||
@@ -71,7 +71,7 @@ state out of the page after the fact.
|
||||
## Where Firefox differs, and where it does not
|
||||
|
||||
Firefox's automation does not use ChromeDriver, so `cdc_` does not exist there. That
|
||||
is a fact about the protocol rather than a virtue: Firefox's automation surfaces are
|
||||
is a fact about the protocol, not a virtue: Firefox's automation surfaces are
|
||||
simply different ones.
|
||||
|
||||
What Firefox does still do by default is set `navigator.webdriver` to `true` when a
|
||||
@@ -80,7 +80,7 @@ So a stock Playwright Firefox is trivially detectable too, just by a different
|
||||
two-line check, and anyone claiming Firefox is inherently undetected is selling
|
||||
something.
|
||||
|
||||
The useful difference is architectural rather than moral. Firefox's automation
|
||||
The useful difference is architectural, not moral. Firefox's automation
|
||||
protocol runs in privileged code with its own execution contexts, so the state a
|
||||
driver needs does not have to live where the page can enumerate it. Whether a given
|
||||
tool takes advantage of that is a separate question from whether the engine allows
|
||||
@@ -92,7 +92,7 @@ If you are debugging a detection problem on a Chromium-based stack, check in thi
|
||||
order:
|
||||
|
||||
1. `Object.getOwnPropertyNames(document)` and the same for `window`, looking for
|
||||
groups of related unfamiliar names rather than for a specific prefix.
|
||||
groups of related unfamiliar names, not one specific prefix.
|
||||
2. `navigator.webdriver`, remembering that `false` is not the same answer as
|
||||
`undefined`, and a clean browser gives the latter.
|
||||
3. Whether anything you loaded has patched a built-in: print
|
||||
|
||||
@@ -5,8 +5,8 @@ your browser is *telling the truth*, which is a different question and a much ha
|
||||
one to pass by spoofing.
|
||||
|
||||
Read from the source on 2026-07-27 (`abrahamjuliot/creepjs`, `src/lies/index.ts` and
|
||||
the module layout) rather than from the rendered page, because the interesting part
|
||||
is the method rather than the numbers it prints.
|
||||
the module layout) and not from the rendered page, because the interesting part
|
||||
is the method instead of the numbers it prints.
|
||||
|
||||
## The shape of it
|
||||
|
||||
@@ -101,5 +101,5 @@ Two things worth doing when you open it:
|
||||
---
|
||||
|
||||
*From the notes of [invisible_playwright](https://github.com/feder-cr/invisible_playwright).
|
||||
CreepJS is one of the suites this project gates every release on, which is why the
|
||||
lie names above are quoted from its source rather than described.*
|
||||
CreepJS is a release gate here. The lie names above are quoted from its source and
|
||||
not paraphrased, because the exact strings are what you will see in a report.*
|
||||
@@ -5,7 +5,7 @@ different one. Or they run it in two tabs and get the same one and assume it is
|
||||
tracking something durable. Both reactions come from not knowing how the value is
|
||||
made.
|
||||
|
||||
It is a hash. That is the whole explanation, and everything follows from it.
|
||||
It is a hash. Everything else follows from that one fact.
|
||||
|
||||
Read from source on 2026-07-27 (`fingerprintjs/fingerprintjs`, `src/sources/` and
|
||||
`src/agent.ts`).
|
||||
@@ -72,8 +72,8 @@ Two things, and they point in opposite directions from what people assume.
|
||||
|
||||
**An ID that changes between runs of your own tool is a signal, not safety.** If your
|
||||
setup produces a different visitor ID on every launch of the same configuration, some
|
||||
component is being randomised per call rather than per identity. Real machines do not
|
||||
do that. A tool adding canvas noise on every read, rather than deriving stable noise
|
||||
component is being randomised per call, not per identity. Real machines do not
|
||||
do that. A tool adding canvas noise on every read, instead of deriving stable noise
|
||||
from a fixed seed, produces exactly this and is detectable by the instability itself.
|
||||
|
||||
**An ID that is stable per identity and different per identity is the target.** Not a
|
||||
@@ -81,7 +81,7 @@ stable ID across all your sessions, which is one machine doing everything, and n
|
||||
new ID every request, which is a machine that transforms between page loads. One
|
||||
consistent machine per identity, for as long as that identity lives.
|
||||
|
||||
That is the practical argument for deriving a fingerprint from a seed. The same seed
|
||||
Deriving the fingerprint from a seed is how you get that. The same seed
|
||||
gives the same forty-one components, so the same hash, run after run; a different
|
||||
seed gives a different hash that is equally ordinary. You can verify it in a minute:
|
||||
run FingerprintJS twice with one seed and confirm the ID matches, then change the
|
||||
@@ -91,7 +91,7 @@ seed and confirm it does not.
|
||||
|
||||
The open-source library computes the hash in the browser. Fingerprint Pro adds
|
||||
server-side signals and identification that this article does not cover, and it
|
||||
deliberately survives some of the changes listed above rather than breaking on them.
|
||||
deliberately survives some of the changes listed above instead of breaking on them.
|
||||
|
||||
So "I pass the open-source one" and "I pass the commercial one" are separate claims,
|
||||
and the second does not follow from the first. Anyone telling you a tool defeats
|
||||
@@ -104,7 +104,7 @@ Run it twice in the same configuration and compare. Then run it in a fresh profi
|
||||
with the same configuration and compare again. Then change one thing you would expect
|
||||
to matter, the seed if you have one, and confirm the ID moves.
|
||||
|
||||
If it moves when it should not, read the components rather than the ID: the library
|
||||
If it moves when it should not, read the components, not the ID: the library
|
||||
exposes them, and the one that differs between two runs is your problem.
|
||||
|
||||
**See also:** [what BotD detects](botd-explained.md), from the same team but aimed at
|
||||
@@ -115,4 +115,5 @@ since `fonts` and `font_preferences` are two of the forty-one.
|
||||
|
||||
*From the notes of [invisible_playwright](https://github.com/feder-cr/invisible_playwright).
|
||||
Both the open-source library and the commercial one are release gates for this
|
||||
project, which is why the distinction at the end is drawn rather than glossed.*
|
||||
project, and the difference between them cost us enough time to be worth spelling
|
||||
out.*
|
||||
@@ -26,7 +26,7 @@ the engine ignored all seven. The tests were green for as long as they existed.
|
||||
test that checks a preference was *set* is not testing anything; the check has to be
|
||||
that the browser's observable behaviour changed.
|
||||
|
||||
The way to catch it is to read the value back from the page rather than from the
|
||||
The way to catch it is to read the value back from the page instead of from the
|
||||
profile:
|
||||
|
||||
```js
|
||||
|
||||
@@ -97,7 +97,7 @@ strongly platform-shaped:
|
||||
empty. An empty font set is its own strong signal, because no real desktop has one.
|
||||
|
||||
So a browser claiming Windows in its user agent, on a machine whose detected set is
|
||||
DejaVu and Liberation, has been caught by a comparison rather than by any single
|
||||
DejaVu and Liberation, has been caught by a comparison instead of by any single
|
||||
value. This is the same shape as the WebGL renderer problem: the claim and the
|
||||
hardware disagree, and the disagreement is what gets read.
|
||||
|
||||
@@ -128,7 +128,7 @@ For fingerprint consistency, the options are worse than people expect:
|
||||
most work of the three by a wide margin, since each operating system has its own
|
||||
font backend to intercept.
|
||||
|
||||
The honest summary is that fonts are cheap to check and expensive to get right, which
|
||||
The short summary is that fonts are cheap to check and expensive to get right, which
|
||||
is exactly why detectors like them.
|
||||
|
||||
## Checking your own
|
||||
|
||||
@@ -64,7 +64,7 @@ Scenario('finds a thing', async ({ I }) => {
|
||||
})
|
||||
```
|
||||
|
||||
The helper API is unchanged. That is the point of doing it at this layer.
|
||||
The helper API does not change, and that is the point of doing it at this layer.
|
||||
|
||||
## Three things to get right
|
||||
|
||||
@@ -81,12 +81,12 @@ is the opposite of what a test suite is for.
|
||||
**`restart` and `keepBrowserState` interact with the profile.** CodeceptJS can keep a
|
||||
browser between scenarios. That is fine and usually what you want, but note the
|
||||
session then accumulates cookies and storage across tests, which is a correlation
|
||||
surface if the suite is pointed at a real site rather than a staging one.
|
||||
surface if the suite is pointed at a real site instead of a staging one.
|
||||
|
||||
## What you give up compared to driving it from Python
|
||||
|
||||
The same two things every non-Python route gives up, and they are worth knowing
|
||||
before you pick this layer:
|
||||
The same two things every non-Python route gives up, and you should know them before
|
||||
you pick this layer:
|
||||
|
||||
- **Humanised pointer motion.** The preference enables it, but the paths are drawn
|
||||
by the Python driver from the seed. From CodeceptJS the pointer still teleports.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Using invisible_playwright with Crawlee for JavaScript
|
||||
|
||||
Crawlee's JavaScript side takes a browser type and a bag of Playwright launch
|
||||
options, so swapping the engine is configuration rather than a subclass. Both halves
|
||||
options, so swapping the engine is configuration instead of a subclass. Both halves
|
||||
fit: the patched binary and the seeded preferences.
|
||||
|
||||
Verified against `apify/crawlee` on `master`
|
||||
@@ -26,7 +26,7 @@ invisible-playwright path > .browser-path
|
||||
python -c "import json;from invisible_playwright import get_default_stealth_prefs;print(json.dumps(get_default_stealth_prefs(seed=1, humanize=True)))" > prefs.json
|
||||
```
|
||||
|
||||
Yes, a Python dependency in a Node project. That is the honest cost of this route,
|
||||
Yes, a Python dependency in a Node project. That is the real cost of this route,
|
||||
and if it is unacceptable, the answer is a Chromium-based tool rather than a
|
||||
workaround.
|
||||
|
||||
@@ -92,9 +92,9 @@ The same two things every non-Python route gives up:
|
||||
- **Humanised pointer motion.** The preference enables it, but the paths are drawn
|
||||
from the seed by the Python driver, so from Node the pointer teleports.
|
||||
- **Timezone and locale resolved from the proxy exit.** The Python wrapper resolves
|
||||
those at launch against the IP you actually leave from. Here you get whatever
|
||||
`prefs.json` was generated with, so if Crawlee is rotating proxies across countries
|
||||
the browser will contradict the exit.
|
||||
those at launch against the IP you actually leave from. What you get instead is
|
||||
whatever `prefs.json` was generated with, so if Crawlee is rotating proxies across
|
||||
countries the browser will contradict the exit.
|
||||
|
||||
That second point matters more in Crawlee than in most places, because rotating
|
||||
proxies is a normal thing to do here. If your proxy pool spans countries, either
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Using invisible_playwright with Crawlee for Python
|
||||
|
||||
Crawlee drives browsers through a plugin, so a different browser backend is a
|
||||
subclass rather than a fork. This page is the integration guide for
|
||||
subclass instead of a fork. This page is the integration guide for
|
||||
`invisible_playwright`, hosted here rather than in Crawlee's own documentation,
|
||||
which is where Crawlee asks third-party integrations to live.
|
||||
|
||||
@@ -153,7 +153,7 @@ receives. SOCKS5 goes through the patched proxy path inside the engine, HTTP and
|
||||
HTTPS go through Playwright's own `proxy=` argument.
|
||||
|
||||
If you use one, leave locale and timezone on their defaults. They resolve from the
|
||||
exit IP rather than from the host machine, which is what keeps the JS timezone, the
|
||||
exit IP and not from the host machine, which is what keeps the JS timezone, the
|
||||
language list and the IP in agreement. Setting them by hand to your own machine's
|
||||
values is how a session ends up claiming one country while leaving from another.
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ invisible-playwright fetch # downloads and caches it, once
|
||||
invisible-playwright path # prints the absolute path
|
||||
```
|
||||
|
||||
The preferences do not, and that is a real gap rather than an omission from this
|
||||
The preferences do not, and that is a real gap instead of an omission from this
|
||||
page: there is no `prefs` subcommand today, so you generate them with a one-liner
|
||||
and keep the JSON.
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ where the prefs are generated and applied for you.
|
||||
|
||||
## Making the prefs work anyway
|
||||
|
||||
If your client can launch a wrapper script rather than the binary directly, you can
|
||||
If your client can launch a wrapper script instead of the binary directly, you can
|
||||
have both. Write the prefs into a profile once, then point the MCP server at a
|
||||
Firefox that uses it:
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ version and from the same seeded profile as everything else.
|
||||
|
||||
**Be careful with `New Context` overrides.** `timezoneId`, `locale`, `viewport` and
|
||||
`colorScheme` are all available there, and each one you set by hand is a value that
|
||||
now has to agree with the profile rather than being derived from it. If you are
|
||||
now has to agree with the profile instead of being derived from it. If you are
|
||||
using a proxy, setting `timezoneId` to your own machine's zone is the classic way to
|
||||
break a session that was otherwise fine.
|
||||
|
||||
@@ -108,8 +108,8 @@ Same as every route that is not the Python wrapper, and worth stating plainly:
|
||||
drawn from the seed by the Python driver. Through Robot Framework the pointer still
|
||||
teleports between coordinates.
|
||||
- **Timezone and locale from the proxy exit.** The wrapper resolves those at launch
|
||||
against the IP you are actually leaving from. Here you get whatever the prefs were
|
||||
generated with.
|
||||
against the IP you are actually leaving from. The prefs carry whatever they were
|
||||
generated with, and nothing updates them at launch.
|
||||
|
||||
For a test suite this is usually the right trade, because a test suite is normally
|
||||
not going through a residential proxy and does not need the pointer to be convincing.
|
||||
@@ -117,8 +117,8 @@ It is the wrong trade if the suite is pointed at something that scores behaviour
|
||||
|
||||
## The other Robot library: SeleniumLibrary
|
||||
|
||||
If your suite is on `SeleniumLibrary` rather than `Browser`, both halves are still
|
||||
reachable, through two different string-format arguments rather than one keyword:
|
||||
If your suite is on `SeleniumLibrary` and not `Browser`, both halves are still
|
||||
reachable, through two different string-format arguments instead of one keyword:
|
||||
|
||||
```robotframework
|
||||
*** Test Cases ***
|
||||
|
||||
@@ -23,7 +23,7 @@ The patched Firefox is downloaded on first launch and cached. You do not need
|
||||
|
||||
`scrapy-playwright` has a `PLAYWRIGHT_BROWSER_PROVIDER` setting and a
|
||||
`BrowserProvider` interface. A provider hands back a browser you launched yourself,
|
||||
so you can use this package's own class rather than reassembling its parts.
|
||||
so you can use this package's own class instead of reassembling its parts.
|
||||
|
||||
```python
|
||||
# myproject/providers.py
|
||||
@@ -82,7 +82,7 @@ PLAYWRIGHT_LAUNCH_OPTIONS = {
|
||||
|
||||
Note what `PLAYWRIGHT_LAUNCH_OPTIONS` means here: with a custom provider it is
|
||||
whatever your provider passes on, so in this shape it carries **this package's**
|
||||
arguments rather than Playwright's. That is the convention in the upstream example
|
||||
arguments rather than Playwright's. It is the convention in the upstream example
|
||||
and it is worth knowing before it surprises you.
|
||||
|
||||
`launch_persistent_context` is wired too, so `PLAYWRIGHT_CONTEXTS` with a persistent
|
||||
@@ -147,7 +147,7 @@ inside the page, it is now arguing with an engine that has already answered.
|
||||
|
||||
**One seed per identity, not per run.** A fixed seed makes a failure reproducible,
|
||||
which is the difference between bisecting a problem and guessing at it. For many
|
||||
identities, run several processes with different seeds rather than rerolling inside
|
||||
identities, run several processes with different seeds instead of rerolling inside
|
||||
one crawl.
|
||||
|
||||
## Proxies
|
||||
|
||||
@@ -63,7 +63,7 @@ build changed the version string, this is the step that would break first.
|
||||
## WebdriverIO
|
||||
|
||||
The cleanest of the four. `moz:firefoxOptions` is a W3C capability and it takes both
|
||||
values directly, so this is standard WebDriver rather than anything runner-specific.
|
||||
values directly, so this is standard WebDriver, not anything runner-specific.
|
||||
|
||||
```js
|
||||
// wdio.conf.js
|
||||
@@ -105,7 +105,7 @@ and one of the other three runners will do the job properly.
|
||||
|
||||
If you need it anyway, the workaround is the same as everywhere else: write the prefs
|
||||
into a profile's `user.js` once and pass that profile's directory. It pins one
|
||||
identity for that profile rather than one per session, and it is a workaround rather
|
||||
identity for that profile and not one per session, and it is a workaround rather
|
||||
than a supported path.
|
||||
|
||||
## Nightwatch
|
||||
@@ -144,7 +144,7 @@ The two things no route outside the Python wrapper carries:
|
||||
- **Humanised pointer motion.** The preference enables it; the paths are drawn from
|
||||
the seed by the driver. In all four runners the pointer teleports.
|
||||
- **Timezone and locale resolved from the proxy exit.** Computed at launch by the
|
||||
wrapper. Here you get whatever the prefs file was generated with.
|
||||
wrapper. The prefs file is frozen at whatever it was generated with.
|
||||
|
||||
For test suites both are usually irrelevant, because a suite normally runs against a
|
||||
known environment and does not need to convince anything. Say so out loud when
|
||||
|
||||
@@ -14,7 +14,7 @@ accident: the WebDriver spec requires a conforming browser to expose it as `true
|
||||
when the session is under automation control. It exists so that a page can know,
|
||||
which means a page checking it is using it exactly as intended.
|
||||
|
||||
That is the first thing worth internalising. You are not defeating a bug. You are
|
||||
Start from that. You are not defeating a bug. You are
|
||||
contradicting a value the browser is required to publish about itself.
|
||||
|
||||
## Why setting it to false is worse than leaving it true
|
||||
@@ -35,7 +35,7 @@ distinct value from what a clean browser reports, so you have swapped one signal
|
||||
for another.
|
||||
|
||||
**Two.** You left fingerprints on the object itself. The property is now an own
|
||||
property of the `navigator` instance rather than living on `Navigator.prototype`
|
||||
property of the `navigator` instance instead of living on `Navigator.prototype`
|
||||
where it belongs. That is one line to check:
|
||||
|
||||
```js
|
||||
@@ -121,7 +121,7 @@ remove the flags that set `webdriver` in the first place, stop injecting the
|
||||
bindings that automation frameworks leave in the page's global object. Patchright
|
||||
is the well-known example on the Chromium side. This removes a whole class of
|
||||
tells at the source rather than papering over them, and the property genuinely
|
||||
becomes `undefined` rather than `false`, because nothing set it. What it does not
|
||||
becomes `undefined` and not `false`, because nothing set it. What it does not
|
||||
change is anything about the machine underneath.
|
||||
|
||||
**In the browser engine, before it ships.** Change the values in the C++ source
|
||||
|
||||
@@ -47,7 +47,7 @@ patching and any header generator the framework offers.
|
||||
|
||||
## 3. Check the machine, not the browser
|
||||
|
||||
Open a fingerprinting page and read the report rather than the verdict. The things
|
||||
Open a fingerprinting page and read the report instead of the verdict. The things
|
||||
that most often give away a server:
|
||||
|
||||
- **A software WebGL renderer.** If the GPU string mentions a basic, software or
|
||||
@@ -115,7 +115,7 @@ cannot tell the site changing from the machine changing. Whatever tool you use,
|
||||
its way to pin the identity across runs, and change it deliberately rather than
|
||||
accidentally.
|
||||
|
||||
That is the single biggest difference between debugging this and guessing at it, and
|
||||
It is the single biggest difference between debugging this and guessing at it, and
|
||||
it is why this project derives every surface from one seed: the same seed gives the
|
||||
same machine every time, so a bisect is a bisect.
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ execution-context isolation pattern that leaves observable traces.
|
||||
**Tools:** Patchright, the drop-in Playwright fork. `rebrowser-playwright` and the
|
||||
rebrowser patches take a similar line.
|
||||
|
||||
**What it fixes:** a whole class of tells at the source rather than covering them.
|
||||
**What it fixes:** a whole class of tells at the source instead of covering them.
|
||||
The difference is real and worth understanding with an example. At level 1 the
|
||||
property becomes `false`, which is a value no clean browser reports. At level 2 it
|
||||
becomes `undefined`, because nothing ever set it. There is nothing to detect
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
# Your renderer string says NVIDIA. Your pixels say software.
|
||||
|
||||
A story about a detection flag we chased in the wrong direction for a while, and the
|
||||
general lesson underneath it, which is the most expensive one in this area:
|
||||
|
||||
**you can spoof what the browser says about the GPU, and you cannot spoof what the
|
||||
GPU draws.**
|
||||
|
||||
## What happened
|
||||
|
||||
A commercial fingerprinting service was returning `tampering = True` on our realness
|
||||
gate. The seed under test had an NVIDIA GTX 980 persona, so the first hypothesis was
|
||||
obvious: something about that persona is wrong, probably the renderer string bucket.
|
||||
|
||||
That hypothesis was wrong, and three measurements killed it.
|
||||
|
||||
**A seed sweep.** Ten seeds on the same build, spanning all three vendor buckets:
|
||||
four NVIDIA, three AMD, three Intel. Ten out of ten flagged. Not persona-specific,
|
||||
then. Whatever it was applied to every identity equally.
|
||||
|
||||
**An A/B across two builds.** The previous engine release and the current one, same
|
||||
rate. Not a regression introduced by the newer build.
|
||||
|
||||
**The same build on a different operating system.** On Windows, the same two seeds
|
||||
came back `tampering = False`, with the underlying model score around 0.15 to 0.17,
|
||||
well under the threshold that raises the flag.
|
||||
|
||||
Same code, same personas, same detector. Clean on one host, flagged on the other.
|
||||
|
||||
## The actual cause
|
||||
|
||||
The flag only appeared when the browser ran **headless on Linux**, where there is no
|
||||
GPU and rendering falls to a software rasterizer.
|
||||
|
||||
The renderer string still claimed a GTX 980, because that is what the profile said to
|
||||
claim. The pixels coming out of the canvas and WebGL pipeline were produced by a
|
||||
software rasterizer, which does not draw the same thing a real GTX 980 draws.
|
||||
Antialiasing edges differ, floating-point rounding differs, and the small
|
||||
inconsistencies are exactly what a model trained on real hardware output learns to
|
||||
notice.
|
||||
|
||||
So the tell was not "this fingerprint is unusual". It was "the hardware this browser
|
||||
claims and the hardware that drew this image are not the same hardware".
|
||||
|
||||
## Why this is the expensive class of problem
|
||||
|
||||
Everything else in a fingerprint is a value you can set. This one is an *output*.
|
||||
|
||||
A renderer string is a string. A canvas hash is the result of running a rasteriser
|
||||
over a shape, and to change it consistently you have to change the rasteriser or the
|
||||
machine. That is why:
|
||||
|
||||
- Spoofing the string alone is not enough, and is arguably worse than leaving it
|
||||
honest, because it creates a claim the pixels contradict.
|
||||
- The mismatch is invisible in every check that only reads values. Our own
|
||||
release gates read values for a long time before this surfaced.
|
||||
- It is worst exactly where automation usually runs: servers, containers and CI, none
|
||||
of which have a GPU.
|
||||
|
||||
If you deploy browser automation to a cloud machine and it behaves differently from
|
||||
your laptop, this is high on the list of reasons, and it will not show up in any
|
||||
property-level audit.
|
||||
|
||||
## What the options actually are
|
||||
|
||||
There is no clean fix, and pretending otherwise would be dishonest. There are three
|
||||
imperfect ones:
|
||||
|
||||
1. **Give the machine a real GPU.** A cloud instance with hardware acceleration, and
|
||||
a browser configured to use it. Expensive, and not available everywhere.
|
||||
2. **Make the claim match the reality.** If the render is software, do not claim a
|
||||
discrete card. This is unattractive, because a software renderer is itself a
|
||||
strong server signal, but a consistent weak story beats a contradictory strong
|
||||
one.
|
||||
3. **Tune the software path so its output is closer to the claimed hardware.** The
|
||||
most work, the least certain, and the direction with the most headroom.
|
||||
|
||||
The one thing that does not work is claiming a better GPU harder.
|
||||
|
||||
## The other half of the story, which is about testing
|
||||
|
||||
While chasing the above, the same reports carried a second flag: `high_activity`.
|
||||
|
||||
It was not the product. It was us, running the same detector demo repeatedly through
|
||||
the same small set of exit addresses over an afternoon. The service was measuring
|
||||
velocity from that address and telling us so.
|
||||
|
||||
Two things follow, and they cost more time than the actual bug:
|
||||
|
||||
- **A test harness can manufacture the signal it is measuring.** If you hammer a
|
||||
scoring endpoint from one address, you are creating the condition you are trying to
|
||||
observe.
|
||||
- **Read every flag before believing the one you were looking for.** We nearly
|
||||
attributed a velocity artefact to the browser build.
|
||||
|
||||
Space the runs out, rotate the exit, and check whether the flag moves with the
|
||||
browser or with the harness.
|
||||
|
||||
## What to take from it
|
||||
|
||||
If you are debugging something like this, the order that would have saved us time:
|
||||
|
||||
1. **Sweep identities before blaming one.** Ten seeds took an hour and eliminated the
|
||||
entire first hypothesis.
|
||||
2. **Change one axis at a time**, and include the host operating system as an axis.
|
||||
The answer here was the host, which was not on the list of suspects at all.
|
||||
3. **Read all the flags, not the one you came for.**
|
||||
4. **Ask whether the signal is a value or an output.** Values you can set. Outputs
|
||||
you have to actually produce, and that is a different and much harder job.
|
||||
|
||||
**See also:** [WebGL renderer strings](webgl-renderer-strings.md), for what those
|
||||
strings encode and the software-rasterizer entry we shipped in our own persona pool,
|
||||
and [why headless renders different fonts](headless-fonts-differ.md), which is the
|
||||
same value-versus-output problem on a different surface.
|
||||
|
||||
---
|
||||
|
||||
*From the notes of [invisible_playwright](https://github.com/feder-cr/invisible_playwright).
|
||||
The measurements above are ours: ten seeds across three vendor buckets, two engine
|
||||
builds, and two host operating systems. The wrong first hypothesis is ours too.*
|
||||
@@ -26,7 +26,7 @@ Roughly, with the caveat that the exact list moves between Firefox versions:
|
||||
a standard size so the window itself carries no entropy.
|
||||
- **The user agent** and `navigator.platform` are generalised, and the minor version
|
||||
is dropped.
|
||||
- **`hardwareConcurrency`** reports a fixed low number rather than your core count.
|
||||
- **`hardwareConcurrency`** reports a fixed low number instead of your core count.
|
||||
- **Timer precision** is reduced, which blunts timing side channels.
|
||||
- **Canvas reads** are blocked or prompt, so a canvas hash cannot be taken silently.
|
||||
- **Locale** is forced toward `en-US` for the APIs that expose it.
|
||||
@@ -71,7 +71,7 @@ the network you appear to be on.
|
||||
|
||||
If your threat model is a website building a profile of a human across visits, RFP is
|
||||
a good answer and you should use it. If your problem is a site deciding whether this
|
||||
session is a person, RFP hands it an easier question rather than a harder one.
|
||||
session is a person, RFP hands it an easier question, not a harder one.
|
||||
|
||||
## What to do instead
|
||||
|
||||
@@ -80,7 +80,7 @@ Pick a specific machine and be it, completely and consistently.
|
||||
That means every surface derives from the same source rather than being set
|
||||
independently: the user agent, the platform, the screen, the GPU strings, the font
|
||||
set, the audio stack, the timezone, the language list. And it means the timezone and
|
||||
locale follow the IP you are actually leaving from, rather than either your host's
|
||||
locale follow the IP you are actually leaving from, and not either your host's
|
||||
values or a fixed UTC.
|
||||
|
||||
It also means not layering. Turning RFP on *and* setting a user agent *and* running a
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# What bot.sannysoft.com actually checks, row by row
|
||||
|
||||
Everyone in browser automation ends up on this page, and most people read the colour
|
||||
of the rows rather than what they mean. Here is what each group tests, which ones are
|
||||
of the rows instead of what they mean. Here is what each group tests, which ones are
|
||||
still meaningful in 2026, and the one nobody looks at that is the most interesting.
|
||||
|
||||
Read from the live page on 2026-07-27, by its element ids rather than from memory.
|
||||
Read from the live page on 2026-07-27, by its element ids, not from memory.
|
||||
|
||||
## Group one: the legacy automation table
|
||||
|
||||
@@ -96,19 +96,19 @@ exactly what it sounds like.
|
||||
|
||||
## Checking the part that matters
|
||||
|
||||
Open the page, then read the canvas section rather than the table. If the in-page and
|
||||
Open the page, then read the canvas section instead of the table. If the in-page and
|
||||
in-iframe hashes differ, whatever is protecting your canvas is doing it in one
|
||||
context only, and that inconsistency is more detectable than the original value would
|
||||
have been.
|
||||
|
||||
An engine that computes the value below the JavaScript layer does not have this
|
||||
problem, because there is no per-context patch to be missing: every context asks the
|
||||
same code and gets the same answer. That is the argument for doing it there, and it
|
||||
is the same argument as
|
||||
same code and gets the same answer. The case for doing it at that layer is exactly
|
||||
this, and it is the same case as
|
||||
[the three levels page](playwright-stealth-levels.md), seen from the detector's side.
|
||||
|
||||
---
|
||||
|
||||
*From the notes of [invisible_playwright](https://github.com/feder-cr/invisible_playwright).
|
||||
sannysoft is one of the suites this project gates every release on, which is why the
|
||||
element ids above are quoted rather than remembered.*
|
||||
sannysoft is a release gate here. The element ids above were read off the page, not
|
||||
remembered.*
|
||||
@@ -27,7 +27,7 @@ So on Windows a real Firefox reports a vendor of `Google Inc. (NVIDIA)` or
|
||||
that "corrects" this to something Mozilla-branded has made itself unusual in a way no
|
||||
real installation is.
|
||||
|
||||
The shape is stable and worth knowing by heart:
|
||||
The shape is stable, and it pays to know it by heart:
|
||||
|
||||
```
|
||||
ANGLE (<vendor>, <device> Direct3D11 vs_<major>_<minor> ps_<major>_<minor>, D3D11)
|
||||
@@ -58,7 +58,7 @@ Almost nobody browses that way. It correlates with datacenters about as strongly
|
||||
anything in a fingerprint does, and no amount of patching elsewhere hides it, because
|
||||
it is not a lie you told: it is the truth about where you are.
|
||||
|
||||
That is the part worth internalising. Most fingerprinting advice is about hiding
|
||||
That is the part people miss. Most fingerprinting advice is about hiding
|
||||
automation. This is about hiding a *server*, and the two need different fixes.
|
||||
|
||||
## How a real one gets into a fake profile, from our own logs
|
||||
@@ -77,7 +77,7 @@ It was worse than 1.4% suggests, because seed 42 was one of the 21, and seed 42
|
||||
the example seed in the class docstring. Anyone copying the quickstart got a browser
|
||||
announcing it had no GPU.
|
||||
|
||||
The fix was to replace that entry in place rather than delete it, so only the seeds
|
||||
The fix was to replace that entry in place instead of deleting it, so only the seeds
|
||||
that drew it changed and every other identity stayed stable. It is now zero out of
|
||||
1,500, and the share it held moved to an ordinary Intel integrated GPU.
|
||||
|
||||
|
||||
Reference in new issue
Block a user