Stack trace formatting matches claimed JS engine
Chrome V8 produces at frames while Safari and Firefox produce @ frames, with zero injected Puppeteer, Playwright, or Selenium evaluation names.
Inspects thrown Error stack traces for CDP automation script frames and syntax mismatches between V8 and Safari or Firefox engines.
While an older legacy engine-mismatch field has no active client writers, current enforcement throws a test Error and analyzes err.stack directly alongside a companion macOS stack-architecture check.
The analyzer checks err.stack for seven automation substrings (puppeteer_evaluation_script, __playwright_evaluation_script__, eval at <anonymous>, __puppeteer, cdp_client, selenium, and webdriver) and compares V8-style at frames against JavaScriptCore or SpiderMonkey @line:col frames relative to the claimed User-Agent engine.
Headless Chromium pretending to be desktop Firefox or Safari continues to emit V8 at stack frames instead of native @ frames, and CDP evaluation helpers frequently leak script names inside Error.prototype.stack.
Weighing this check without immediate standalone blocking allows confirmed human interaction context to dampen rare browser extension edge cases.
Chrome V8 produces at frames while Safari and Firefox produce @ frames, with zero injected Puppeteer, Playwright, or Selenium evaluation names.
Chromium spoofing Safari or Firefox (at frames under a Safari User-Agent) or exposing CDP evaluation script frames strongly signals automated execution.
Forensic significance: High-value indicator of cross-engine User-Agent spoofing or injected CDP evaluation scripts; correlate with WebGL renderer, TLS fingerprints, and interaction quality.