heuristic
legacy_headless_paths
family
automation.driver
severity
warn
reads
packed.k — window.callPhantom, _phantom, __phantomas, __nightmare
reader
readRuntimeSignatures()
since
ruleset r8

Globals from the retired headless stacks

Raised when the enumeration recorded window.callPhantom, window._phantom, window.__phantomas or window.__nightmare.

PhantomJS is a long-retired headless browser and NightmareJS is an automation library built on top of an Electron app. Both leave a named global behind, both still appear inside scraping stacks nobody has rewritten, and this rule reads four such paths out of the property walk.

What legacy_headless_paths reads

PhantomJS is a long-retired headless browser and NightmareJS is an Electron-based automation library built on top of one. Both leave a named global behind, and both still turn up inside old scraping stacks that nobody has rewritten because they still work.

The rule is graded `warn` rather than `critical` on age alone: a reading here says far more about the vintage of the stack than about anyone's intent, and the honest description of a hit is that the page is being visited by something old, not by something hostile.

It stays in the published ruleset because a ruleset that only covers what is fashionable this year is not a ruleset. The cost of the check is one lookup in a table that was already built.

Who reads this signal

These globals are documented in the projects' own source, which remains public. No detector behaviour is attributed.

In our correspondence index this heuristic is listed alongside Imperva / Incapsula . 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 legacy_headless_paths fires on an ordinary browser

Rare enough that we cannot construct a realistic one, which is also why a hit is worth reading carefully rather than dismissing.

What a clean reading looks like

Clean is a walk that recorded none of the four, which is the ordinary state of every browser released in the last decade. Nobody should feel anything about clearing this row; it is here so that the ruleset covers what exists rather than what is current.

What actually moves legacy_headless_paths

Not running a decade-old headless stack. There is no configuration answer to this row that is better than the migration.

What changing this flag does to the plan

This is the quietest row in the family and it will fold away on your first run and stay folded. That is the correct outcome for a rule of this shape and it is an argument for reading fold thickness rather than rows: after a few iterations most of your document is settled material, and the plan hides it so the rows that moved are the rows you see.

Questions about legacy_headless_paths

Is PhantomJS still detectable in 2026?

Trivially, because it announces itself with named globals and because the engine underneath it stopped receiving updates years ago. The interesting fact about a hit here is the vintage of the stack rather than anything about intent.

Why keep rules for tools nobody uses?

Because a published ruleset that only covers what is fashionable this year is not a published ruleset, and because the cost of the check is one lookup in a table that was already built. A rule removed for being unfashionable is a rule the reader cannot audit.

What does a hit on this row actually mean?

That the page is being visited by something old. The rule is graded warn on age alone, and the honest description of a hit is a description rather than an accusation.

Read next

the WebDriver hooks The same idea for the stack that replaced these, with ten paths read from the same enumeration.
Electron underneath What NightmareJS is actually built on, and the paths that separate an application from a browser tab.
automation.driver in full All twelve rules, from the specified boolean to the interfaces a Chrome user agent obliges a build to have.

Change what this row says

There is no configuration answer to this row that is better than the migration. If the stack is old enough to bind these globals, everything else about it is old too, and a modern browser with the identity set in the engine is a different starting point rather than a patch on this one.

curl -fsSL https://donutbrowser.com/install.sh | sh
Download Donut Browser macOS, Windows, Linux · AGPL-3.0 · zero telemetry · what it changes and what it does not

To see this heuristic's reading for your own browser, run the plan. Nothing on this page has read anything about you.