Why we built our own browser
Why PassKeel runs on Keel, our own Chromium build, instead of an off-the-shelf browser with an extension or patches on top, and what Keel changes for everyday browsing too.
The PassKeel team · · 5 min read
- keel
- engineering
PassKeel could have been an app that launches Chrome with a different user-data folder and an extension that rewrites a few values. Plenty of tools started that way. We decided early that it wouldn’t be, and that every PassKeel profile would run in a browser we build ourselves. That browser is Keel, built from Chromium 160. This post explains why, what it took, and why we ended up shipping Keel as a browser of its own as well.
What a profile manager needs from a browser
A profile manager asks a browser for things browsers aren’t designed to give:
- A different device in every profile. Each profile presents its own screen, graphics card, time zone, languages and more, and they have to hold everywhere: in the page, in iframes, in workers, in network headers, in what the GPU process reports.
- Before the first byte. The values have to be in place before any page code runs. A script that rewrites values after a page starts is racing the page, and sometimes loses.
- Secrets that stay secret. Proxy passwords and the key that encrypts a profile’s data shouldn’t sit in a file or on a command line where any process can read them.
- Automation without a tell. Puppeteer, Playwright and Selenium normally connect through a remote-debugging port, and launching a browser for automation changes how it behaves.
- No quiet failures. If a proxy drops, the profile must not fall back to your real connection.
You can approximate some of this from the outside, with extensions, injected scripts and DevTools overrides. Each approach leaves gaps, and gaps are exactly what fingerprinting looks for: a value that’s right on the page and wrong in a worker is worse than no change at all.
Doing it inside the engine
So the work moved inside. Keel Engine, the build PassKeel launches, has a managed mode made for profile managers:
- Settings are applied natively. A profile’s settings reach the browser, network, GPU and page processes before the first navigation, in every frame, pop-up and worker. There’s no extension, injected script or DevTools override for a page to find.
- Secrets travel through a pipe. Proxy passwords and the profile’s storage key reach the engine over a private pipe, never in a file or on the command line.
- No debugging port. In managed mode the engine refuses remote-debugging ports. Automation tools connect through PassKeel’s token-protected bridge, which talks to the browser over that same private channel. Nothing about the launch changes when a tool attaches.
- Strict proxy routing. With a proxy set, nothing falls back to a direct connection, host names resolve through the proxy, and UDP traffic that can’t be proxied is blocked.
- Consistency checks. Settings that contradict each other are refused with a clear error, instead of producing a half-real identity.
- Native input. The window synchronizer uses the engine’s own input capture and replay, which is faster and more reliable than scripted events.
Keel Engine presents as plain Chromium, so a profile can claim Chrome or Edge consistently, and it keeps Chrome’s normal feature set: a profile that claims to be Chrome has to behave like Chrome.
A device that travels
Owning the engine also let us fix a problem that outside approaches can’t. Profiles sync between computers, and computers have different graphics hardware. A profile created on a desktop with one graphics vendor would, on a laptop with another, either have to change identity or refuse to open. Since engine release r4, a profile keeps the GPU it claims on any computer. Drawing still uses the computer’s real graphics chip, and fonts, emoji and form controls stay the computer’s own, but the identity the profile presents is the one it was created with.
What it costs
Maintaining a Chromium fork is real work. Chromium is enormous, it moves fast, and a fork that falls behind becomes a security problem. Our approach is to keep the changes small and well-contained, to carry them as patches we refresh onto new Chromium versions, and to test each build against the sites and checks our users depend on. A profile’s browser version always matches the Keel it actually runs, because a browser that claims one version while supporting another’s features is easy to catch.
We also say plainly what doesn’t work. Features that need Google’s API keys, such as Google sign-in and sync, Translate, server speech recognition and network location, don’t work in Keel. Some settings pages still say “Chromium”. And for now, Keel runs on Windows 10 and 11 only; macOS and Linux are planned.
Why ship it as a browser too
Once we had a browser we trusted, using it every day was the natural test, and a few changes we’d made for profiles turned out to be what we wanted from a daily browser as well. So Keel also ships as Keel Browser, a free preview you can install on its own.
The differences are about what runs by default:
- Memory Saver is on from the start. Idle tabs are discarded and reload when you click them. Sleeping tabs are dimmed in the tab strip, feed sites wait longer before they sleep, and Keel restores where you’d scrolled to on most sites. In our own background-tab test, private memory fell from about 2.6 GB to about 590 MB over 12 minutes as tabs were discarded, with the discard time shortened for the test.
- Less running in the background. Gemini resources, the on-device AI model service, VR and AR, the Remote Desktop host, Cast and Live Caption are removed from the build. Gemini in Chrome, Privacy Sandbox Topics and attribution reporting, Optimization Guide model downloads, shopping features and Lens are switched off. Google sign-in is off by default, with no usage statistics or crash reports unless you turn them on.
- Menus on the right monitor. With monitors in extended mode and a forced display scale, Chromium could open menus, bubbles and pop-ups on the wrong screen. We found the cause in the display code and fixed it there, so menus, bubbles, pop-ups and window positions all land correctly.
Everything else is Chromium: extensions from the Chrome Web Store, DevTools, the PDF viewer, printing, spellcheck and Safe Browsing all work, and H.264, AAC and MP3 playback are included. Widevine for protected video downloads by itself a few minutes after the first start.
Keel Browser installs per user, without administrator rights, doesn’t make itself the default browser, and adds no services, scheduled tasks or updater. Preview installers are test-signed while we set up code signing, so Windows may warn; the download page lists the SHA-256 to check first.
Two builds, one codebase
To sum up: Keel is one codebase with two builds. Keel Engine runs every PassKeel profile, keeps Chrome’s feature set and adds the managed mode. Keel Browser is the everyday browser, quieter by default. Installing one doesn’t affect the other, and PassKeel always brings its own engine.
Read more on the Keel Browser page, in the Keel docs, and in the release notes, where each engine and browser build is listed.