Architecture

How Vastra is built

A tour of the engine room: how tabs run, how your data is kept, how updates stay trustworthy, and where Helix is allowed to go.

Vastra 1.13 · Electron 43 · Chromium 150

Three kinds of process

Vastra is a desktop app built on Electron, which pairs the Chromium engine with Node.js. Work is split across processes so one misbehaving page can never take the browser down with it.

ProcessWhat it does
MainOwns windows, tabs, downloads, updates, the password vault and every permission decision. The only process that can touch the file system.
InterfaceThe sidebar, tabs, new tab, settings and Helix panel, written in React. Sandboxed, with no Node.js access.
Web pagesEach tab is a separate Chromium renderer. If one crashes, Vastra shows a “page crashed” card with a reload button and everything else keeps running.

Real Chromium tabs, not iframes

Every web tab is a native WebContentsView created by the main process, positioned exactly where the interface leaves space for it. The interface measures that space and sends the bounds over a narrow, typed bridge; the main process does the rest.

  • Normal tabs in every workspace share one saved profile, so a single Google sign-in works everywhere. Incognito tabs use a separate, memory-only session.
  • Script-opened windows become real popups, so “Sign in with Google, Apple or Microsoft” can report back to the site that opened it.
  • Developer tools dock beside the page in their own view, the way Chrome does it.
  • Unresponsive pages offer to wait or reload; repeated startup crashes open Vastra in safe mode with extensions off.

Security boundaries

  • Sandboxing and context isolation are on for the interface and every page. Pages only ever see a small preload that forwards a few safe events.
  • Hardened Electron fuses: the app only loads code from its own signed archive, verifies that archive’s integrity, and ignores NODE_OPTIONS and inspector flags.
  • Every bridge call checks its sender, so a web page can never call interface-only actions.
  • Sign-in pages are left untouched: no debugger, no header rewriting, no ad blocking and no Helix on Google, Microsoft, Apple or GitHub sign-in pages.

Your data, on your device

History, bookmarks, tabs, workspaces and settings are stored in your user profile. Passwords, payment cards, addresses and AI provider keys are encrypted with your operating-system account (Windows DPAPI) before they are written, and are never stored in plain text. Vastra has no account and no analytics. The privacy policy lists every service the app contacts and why.

Verified updates

Vastra checks vastra.vyomagroup.online/releases in the background about every four hours. Each release carries a SHA-512 checksum that is verified before anything runs, and only the changed parts of the installer are downloaded. Updates install the next time you restart, and every tab comes back. A small policy file can mark a version as unsafe so it is updated straight away.

Where Helix can go

Helix reads pages through the same bridge the interface uses, observing structure and text rather than guessing from pixels. Consequential actions (purchases, messages, uploads, form submissions, deleting things) pause for an explicit approval, and the page you approved is checked again before Helix acts. Page content is always treated as untrusted data, never as instructions to Helix.

Built with

PieceVersionRole
Electron43.4Desktop shell with Chromium 150 and Node.js 24
React18.3The interface
Vite8.2Builds and bundles the interface
Zustand4.5Interface state: tabs, workspaces, settings
Tailwind CSS3.4Styling and themes
electron-updater6.8Verified, differential updates