Dev.to Security 🔐 Cybersecurity 👁 0

Browser Automation Without Cookie Theft: Isolated Partitions & Shadow-DOM [ref]

Connecting an autonomous AI agent directly to your daily Chrome profile via --remote-debugging-port — or granting OS-wide macOS Accessibility screen-control permissions — hands a single prompt-injected webpage ambient au

Connecting an autonomous AI agent directly to your daily Chrome profile via --remote-debugging-port — or granting OS-wide macOS Accessibility screen-control permissions — hands a single prompt-injected webpage ambient authority over your active cloud consoles, email, and session cookies.

1. Zero-Permission Isolated Partitions (persist:railcall-browser)

In RailCall Workflows and our interactive Zero-Permission Browser Flight Deck, browser automation enforces four hard isolation invariants without asking for a single macOS Accessibility or Screen Recording grant:

  1. Dedicated Storage Partition (persist:railcall-browser): Completely separated from your personal browser cookies, keychain, and open tabs.
  2. Subresource SSRF Shield (<5ms): Blocks private RFC1918, loopback (127.0.0.0/8), link-local (169.254.169.254 cloud metadata), and file:// requests across redirects, iframes, and fetches.
  3. 19 Deterministic Light + Shadow DOM [ref] Actions: Targets piercing Shadow-DOM element references deterministically instead of brittle vision pixel coordinates.
  4. Fail-Closed Human-in-the-Loop (approvalRequired) & SHA-256 Flight Recorders: Read-only research runs at $0.0000 on local Apple Silicon, while every external form submit or write pauses for 1-click human inspection/takeover and seals a tamper-evident SHA-256 + Ed25519 receipt (~90% below $200/mo seats).

2. Test Shadow-DOM [ref] & SSRF Blocking Live

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.