- heuristic
- node_globals_present
- family
- automation.tamper
- severity
- critical
- reads
- packed.k — window.Buffer, window.global, window.setImmediate…
- reader
- readRuntimeSignatures()
- since
- ruleset r8
Server-side globals in a page
Raised when the enumeration recorded window.Buffer, window.global, window.__dirname or window.setImmediate, naming each path found.
Buffer, global, __dirname and setImmediate are server-side globals. No browser exposes them, so finding one on a page means script here is running in a hybrid runtime rather than in a browser tab. This rule reads all four out of the property walk and prints whichever were there.
What node_globals_present reads
No browser exposes these. `Buffer` and `__dirname` are Node's, `setImmediate` is Node's and old Internet Explorer's, and `global` is Node's name for what a browser calls `window`. Finding any of them on a page's global object means script here is running in a hybrid runtime rather than in a browser tab.
This is the same class of finding as the embedded-host rule and is kept separate because the cause is different. A host framework announces itself with a bridge; Node globals leak into a page through configuration — an integration left on, a preload script that assigned them, a bundler shim.
That last one is the honest complication and it is why this rule prints every path it found. `global` in particular is assigned onto `window` by some JavaScript bundles for compatibility with libraries written for the server, which means a perfectly ordinary browser visiting a page built that way records it. This site's own bundle defines none of the four, which is a fact you can check in the page source you are reading.
Who reads this signal
These are documented globals of a documented runtime. Their fingerprinting use needs no vendor to have discovered it.
In our correspondence index this heuristic is listed alongside Kasada . That correspondence is our reading of which products have access to this class of signal. It is not a claim that any of them checks this, and no test against any of them has been run.
When node_globals_present fires on an ordinary browser
The bundler case above is the realistic one, and it is a property of the site being visited rather than of the visitor. A run on this site is not exposed to it; a run elsewhere might be, which is a limitation of the technique and not of this reading.
What a clean reading looks like
Clean is a walk that recorded none of the four. There is one honest way a clean browser fails this and the rule page states it plainly: some JavaScript bundles assign global onto window for compatibility with libraries written for the server, so an ordinary visitor to a page built that way records it. This site's own bundle defines none of the four, which is checkable in the source of the page you are reading.
What actually moves node_globals_present
A runtime that does not put server-side globals in front of page script. In Electron terms that is context isolation on and node integration off.
What changing this flag does to the plan
If this row is raised the whole plan changes meaning, in the same way a raised tamper row does. The values below it were produced inside a runtime that puts server-side globals in front of page script, and reading them as a description of a browser is a category error. That is why the two host rules sit in the tamper family rather than beside the driver artifacts.
Questions about node_globals_present
Why would window.Buffer exist in a browser?
It would not, in a browser. It exists when the page is running inside a runtime that exposes Node to it — an Electron window with node integration on is the usual case — or when something explicitly assigned it. Either way, the finding is about what is hosting the page.
Can a normal website cause this reading?
For window.global, yes: some bundles assign it for compatibility with server-side libraries, which means a perfectly ordinary browser records it on that site. That is a limitation of the technique rather than of the reading, and it is why the rule prints every path it found instead of a verdict.
How do I stop a page from seeing Node globals?
In an Electron application, context isolation on and node integration off, which is the configuration those projects recommend anyway. Outside one, the question does not arise, because a browser was never exposing them.
Read next
Change what this row says
The fix here is structural rather than cosmetic: a runtime that does not hand server-side globals to page script. If what you actually need is many isolated browser identities rather than an application with a web view, that is a different tool, and Donut Browser is a Chromium fork built for exactly that with the fingerprint applied in the engine.
curl -fsSL https://donutbrowser.com/install.sh | sh
To see this heuristic's reading for your own browser, run the plan. Nothing on this page has read anything about you.