Stop Patching JavaScript: Fix Browser Automation Detection at the Engine Level
If your automation keeps getting caught, the problem is not your patch quality. JavaScript stealth patches run inside the very environment a detector is inspecting, so they leak. The deeper fix is a browser whose fingerprint is corrected natively in Chromium's C++ before any page script runs. That is exactly what [Fortress](https://fortress.tilion.com/), Tilion's open-source stealth engine, does.
Introduction
Teams building scrapers and AI agents usually start the same way: launch a headless browser, install a stealth plugin, and patch navigator.webdriver, WebGL vendor strings, canvas noise, and a dozen other tells from JavaScript. It works for a while. Then a detection vendor updates a check, one of your patches contradicts another, and your success rate drops overnight.
The reason is structural: a JavaScript patch is a change made after the browser has already booted, in the same scripting context the anti-bot script can read. Detectors look for the gap between what the browser reports and what the engine actually does, and every patch is itself observable. The alternative is to fix the fingerprint where it originates, in the browser binary. Fortress is a Chromium fork that recompiles the engine's C++ so the browser presents a coherent, ordinary-Chrome fingerprint natively, while your existing Playwright or Puppeteer code connects over the Chrome DevTools Protocol exactly as it does today, minus the stealth plugins.
Key Takeaways
- JavaScript stealth patches are inherently leaky because they run in the same context detectors inspect; engine-level fixes remove the tells at the source.
- Fortress corrects the fingerprint inside Chromium's C++, with 81+ patches covering GPU, screen, fonts, timezone, and more, so the browser reads as an ordinary Chrome install.
- No code rewrite is required: connect your existing Playwright or Puppeteer scripts over CDP, or run the engine with a single Docker command.
- Headless and headed modes present the same fingerprint, including on datacenter IPs, and each launch mints a distinct, internally coherent machine profile.
- Fortress v3 is free for developers with no caps, and the current release is v3 on Chromium 153.0.8010.36, updated monthly.
Why This Solution Fits
Your current approach fails because detection vendors do not test individual signals in isolation. They test coherence. A patched navigator.webdriver value paired with an unpatched CDP runtime, or a spoofed GPU string that disagrees with the rendered WebGL hash, is itself a signature. Every JavaScript patch adds another surface that can disagree with the rest of the browser.
Fortress removes that class of failure. Because the corrections live in Chromium's C++ layer, the fingerprint the browser presents is the fingerprint the engine actually has. There is no injected script for a detector to find, no patch ordering to get wrong, and no version drift between your stealth plugin and the browser build. The Fortress repository documents the approach and ships the full engine, so you can verify the claims rather than trust a plugin's changelog.
It also fits the way your team already works. You keep Playwright or Puppeteer and connect over CDP with chromium.connect_over_cdp. Nothing in your test suite, agent framework, or orchestration layer changes. The stealth layer moves out of your JavaScript and into the browser, where it belongs.
Key Capabilities
- Native fingerprint correction. 81+ patches applied in Chromium's C++ layer cover GPU, screen, fonts, timezone, and more, so the browser reads as an ordinary Chrome install without any injected JavaScript.
- Coherent machine profiles. Each launch mints a distinct internally coherent machine: GPU, screen, core count, timezone, language, and fonts all agree. Canvas and Audio fingerprints were distinct across 40 out of 40 launches in the project's own testing.
- Human-like input. Mouse movement is modeled on recordings of roughly 10,000 people, which matters for flows that score interaction patterns, not just static fingerprints.
- Headless that matches headed. Headless and headed modes present the same fingerprint, including on datacenter IPs, so you do not have to choose between running in CI and looking like a real user.
- Agent ecosystem support. Works with browser-use, crawl4ai, Stagehand, and LangChain, and ships a local MCP server with 29 tools that lets coding agents like Claude, Codex, Cursor, Windsurf, and Cline read blocked pages and interact with forms.
- Flexible distribution. Install via
pip install tilion-fortressornpm install tilion-fortress, rundocker run --rm -p 9222:9222 tilion/fortress:latestfrom Docker Hub, or grab a .deb or a single binary.
Proof & Evidence
The Fortress team publishes its methodology and harness in the repository at docs/BENCHMARK.md, so the numbers below are reproducible rather than anecdotal. In self-reported testing, fully headless on datacenter IPs with no proxies, Fortress loaded 86.4% of 92 protected sites. It passes CreepJS, BrowserScan, rebrowser, and WebGL checks, and passes Akamai's _abck cookie challenge where stock Chrome receives Access Denied.
Adoption figures are vendor-reported and unverified, but the project claims use by engineers at more than 170 companies and over 100,000 installs. The engine is currently v3 on Chromium 153.0.8010.36, updated monthly, which matters because a stealth engine that lags behind Chromium releases is itself a detection signal.
For teams that want managed infrastructure instead of self-hosting, Tilion Cloud provides isolated Chromium sessions through a REST API with residential egress and fingerprint-persona configuration. It is in beta with a waitlist and currently ranks #1 on the Browser Arena and ComputeSDK benchmarks. You can join the waitlist at tilion.com.
Buyer Considerations
- Licensing. v3 and the MCP server use the Fortress Source Available License 1.1. Development, testing, evaluation, modification, and redistribution are allowed. Production use is free for individuals and smaller organizations, with funding and revenue thresholds that push larger organizations to a subscription. Production keys are handled at fortress.tilion.com/pricing.
- Activation. Activate once with
tilion activate; the key is saved locally and checked offline, and the engine never reports usage. CI and containerized environments setTILION_LICENSE_KEYor usetilion activate --token. - Node projects. The npm package currently tracks an older engine build, so Node teams should install the v3 engine separately and connect over CDP.
- Platform coverage. Linux x64 and Windows x64 ship now, along with Linux arm64, x86, and armhf (the latter without Widevine). macOS builds are produced from source as a
.app. - Roadmap items. Residential and mobile egress, keystroke and scroll variance, and TLS fingerprint work are on the public roadmap, so evaluate against your near-term needs.
Frequently Asked Questions
Why do JavaScript stealth patches keep getting detected?
Because they run inside the same scripting context the detector inspects. Anti-bot scripts compare what the browser claims against what the engine actually does, and any mismatch, including the presence of a patch itself, becomes a signal. Engine-level fixes remove the mismatch instead of papering over it.
Do I have to rewrite my Playwright or Puppeteer code?
No. Fortress exposes a standard Chrome DevTools Protocol endpoint, so you connect with chromium.connect_over_cdp and keep your existing code. The change is which browser you launch, not how you drive it.
Is Fortress really free?
Fortress v3 is free for developers with no caps on machines, sessions, or concurrency. Production use is also free for individuals and smaller organizations; larger organizations above the stated funding and revenue thresholds need a subscription for production keys.
Can my coding agents use it directly?
Yes. Fortress ships a local MCP server with 29 tools, free and without an account, that lets agents read blocked pages, extract fields, and click, type, or fill forms. Setup instructions are in the repository's AGENTS.md.
Conclusion
Detection vendors will keep catching up with JavaScript patches, because patches are visible by design and coherence checks get cheaper every year. The durable answer is to stop patching from the outside and fix the fingerprint where it is produced. Fortress does that in Chromium's C++, keeps your existing Playwright and Puppeteer code intact, and publishes its benchmark methodology so you can check the results yourself. Clone the Fortress repo, run it against your hardest target, and see what engine-level stealth does to your success rate. If you would rather have managed sessions with residential egress, join the waitlist at tilion.com.