Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

sessfork — Headless Chrome Session MCP Bridge

Latest version: v0.3.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
MCP server Transport: stdio Publisher: wasabihu
34 Stars
3 Forks
4 Versions
Python Repo language

Scan summary

sessfork — Headless Chrome Session MCP Bridge was last scanned on 28 Nov 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 4 days (25–28 Nov 2026).
  • Findings: 1 rule fired in version 0.3.0 (3 instances: 3 low). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.0 LATEST 28 Nov 2026 1 rule fired
0.2.1 25 Nov 2026 1 rule fired
0.2.0 25 Nov 2026 1 rule fired
0.1.6 25 Nov 2026 Not shown

Rules fired in 0.3.0: 1

Findings

3 Low

Findings for v0.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Phrase match: instruction-override wording (not reviewed)

An automated phrase check found wording that also appears in attempts to override an agent's instructions, such as "ignore previous instructions" or "enable developer mode". The check does not read context, so quoted examples, headings and ordinary settings steps match too. Not reviewed by a person.

LOW
Checking access…

🔒 Create a free account to see all 3 findings with descriptions and instance counts

The score describes 0.3.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

sessfork

CI License: MIT Python 3.9+ Zero Dependencies

English · 简体中文 · Native Rust CDP MCP · Interactive Visual Guide · Stress Benchmarks · Security Audit Report

Fork live Chrome auth sessions (Cookies + LocalStorage) into headless AI agent browsers — zero window focus theft, zero runtime dependencies.

When AI coding agents (Google Antigravity, Claude Code, or Cursor) connect directly to your main Chrome instance to reuse logged-in sessions, they hijack your active window, switch tabs, and break your flow.

sessfork decouples your UI viewport from browser auth state in a single command: it takes lock-free snapshots of your live Chromium SQLite Cookies database and LevelDB Local Storage/leveldb store, decrypts cookies in memory via native OS APIs, reconciles MVCC sequence numbers for SPA/JWT localStorage tokens, writes a strict 0600 Playwright storageState file, and wires a silent background Playwright MCP server (sessfork-browser) across your installed AI agents.

[!TIP] New in v0.3.0 · sessfork-mcp (848 KiB zero-Tokio Rust MCP) + --compact --diff: Cuts 8-step authenticated SaaS input tokens by -85.4% (174,114 -> 25,474 tk, 6.83× less) with zero-layout AXTree distillation, active modal scoping, and WARNING: NO_OP dead-click guards — works on both lexmount/moli (66.6 MB RAM, -88.6%, 160 parallel agents on 24 GB) and any local Chrome via --cdp-url (56 parallel agents on 24 GB, bit-for-bit identical token savings).

  • Standalone Rust MCP (no Python required): see rust/sessfork-mcp/README.md (install.sh --rust-mcp-only + 1-line claude mcp add).
  • Chrome session forking + Dual Moli/Chrome engine: run curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/wasabihu/sessfork/v0.3.0/install.sh | bash -s -- --with-rust-mcp and sessfork --engine dual (full breakdown in docs/benchmarks.md).

10-Second Lazy Quickstart

Install once, then just talk to your AI agent in plain language.

Option A · One-Click Auto-Setup (Recommended — zero prerequisites)

Auto-detects installed AI tools (Antigravity, Claude Code, Cursor, OpenCode, Gemini CLI, WorkBuddy, Windsurf, Codex CLI), registers the background sessfork-browser MCP server, and installs the global Agent SKILL.md:

curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/wasabihu/sessfork/v0.3.0/install.sh | bash

Want to fork your first domains in the very same command? Pass them right after --:

curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/wasabihu/sessfork/v0.3.0/install.sh | bash -s -- github.com linear.app

(Note: On each cookie fork, macOS asks to read "Chrome Safe Storage" from Keychain — click Allow. For pure LocalStorage JWT sites, pass --no-cookies for zero Keychain prompts. See the FAQ for the opt-in --cache-key.)

Option B · Zero-Install One-Shot (uvx)

Try sessfork immediately without touching global binaries:

uvx --from git+https://github.com/wasabihu/sessfork sessfork github.com
Option C · Global uv tool or Editable Local Checkout
# Install globally via uv
uv tool install git+https://github.com/wasabihu/sessfork.git

# Or clone locally
git clone https://github.com/wasabihu/sessfork.git
cd sessfork
uv tool install -e .

(Tip: Once installed, reload MCP servers once in your AI editor or run /mcp in CLI so sessfork-browser becomes active.)


7 Real-World Copy-Paste Examples

Once installed, you don't even have to remember CLI flags. Copy any prompt below straight to your AI agent — or run the 1-line command directly.

1. Triage GitHub PRs & CI Failures Silently

Copy & paste to your AI Agent: "Use sessfork to fork my github.com login session into sessfork-browser, then silently check my unread notifications and review the failing PR checks without switching or touching my active Chrome window."

sessfork github.com
2. Check Linear / Notion / Jira Sprint Tasks

Copy & paste to your AI Agent: "Fork my linear.app and notion.so sessions with sessfork and summarize today's assigned sprint blockers in the background."

sessfork linear.app notion.so
3. Pure SPA / JWT Apps & Localhost (Zero Keychain Prompt)

Modern SPAs (Supabase, Vercel dashboards, local dev apps) store bearer tokens in localStorage instead of HttpOnly cookies. Skip Keychain completely with --no-cookies:

Copy & paste to your AI Agent: "Run sessfork app.supabase.com localhost:3000 --no-cookies and verify the authenticated dashboard API responses in sessfork-browser."

sessfork app.supabase.com localhost:3000 --no-cookies
4. Paste Full URLs Straight from Your Address Bar

Don't bother stripping https:// or paths — sessfork automatically normalizes full URLs to their domain allowlist:

sessfork https://github.com/notifications
5. Fork from Arc, Brave, Edge, or a Specific Work Profile

sessfork supports chrome, canary, brave, edge, and arc, and automatically discovers your most recently active profile (or lets you target one explicitly):

sessfork x.com --browser arc
sessfork console.cloud.google.com --profile "Profile 1"
6. Feed Live Sessions Straight into agent-browser (Zero Profile Copy)

Because sessfork writes standard Playwright storageState JSON (0600), you can pass a single domain's HttpOnly cookies + localStorage straight into vercel-labs/agent-browser without copying a multi-GB Chrome profile or restoring unrelated tabs:

sessfork example.com --target none --state-file ~/.sessfork/agent-browser.json
agent-browser --state ~/.sessfork/agent-browser.json open https://example.com
7. Authenticated Crawling with Crawl4AI (Zero Re-Login, Zero Profile Clone)

Feed a single domain's live Chrome/Edge session (0600 Playwright storageState) directly into local unclecode/crawl4ai without re-authenticating in a second Chromium window (crwl profiles) or copying GB-sized profile folders — including Windows Chrome 127+ v20 via the Companion Extension:

sessfork docs.example.com --target none --state-file ~/.sessfork/crawl4ai.json
import asyncio, os
from crawl4ai import AsyncWebCrawler, BrowserConfig

async def main():
    cfg = BrowserConfig(headless=True, storage_state=os.path.expanduser("~/.sessfork/crawl4ai.json"))
    async with AsyncWebCrawler(config=cfg) as crawler:
        result = await crawler.arun(url="https://docs.example.com/private")
        print(result.markdown.raw_markdown)

asyncio.run(main())

(Full runnable script with fit_markdown and JSONL export for local RAG ingestion: examples/crawl4ai_auth_crawl.py. Complements Crawl4AI's ManagedBrowser — for strict anti-bot / device-fingerprint portals, keep using a persistent ManagedBrowser profile.)


Architecture & Highlights

  • Zero Runtime Dependencies: Pure Python standard library (>=3.9). Uses macOS CommonCrypto (/usr/lib/libSystem.B.dylib via ctypes) for AES-128-CBC cookie decryption (and openssl CLI on Linux) plus a built-in pure-Python LevelDB SSTable/WAL + Snappy reader.
  • Full Dual-Layer Auth (Cookies + LocalStorage):
    • SQLite Cookies: Handles Chromium Cookie DB meta.version >= 24 (SHA-256(host_key) 32-byte plaintext prefix stripping), live -wal/-shm sidecars, and SameSite / HttpOnly fidelity.
    • LevelDB LocalStorage (origins): Parses Chromium's _<origin>\x00 encoding-prefixed (0x00 UTF-16LE / 0x01 Latin-1) records across .ldb SSTables and .log WALs, honoring kTypeDeletion tombstones (localStorage.removeItem) so logged-out JWTs are never resurrected.
  • One-Command Auto-Wiring: sessfork <domain> and sessfork --setup auto-detect Antigravity, Claude Code, and Cursor (--target auto), resolve absolute npx paths (avoiding macOS GUI $PATH launch failures), and install SKILL.md.
  • Optional Rust Stack (moli + native sessfork-mcp, --engine dual / moli) & Local Studio (--ui): Keep chrome-headless-shell as default for 99.9% web compatibility, or pair lexmount/moli with the bundled 605 KB native Rust CDP MCP server (rust/sessfork-mcp): talks straight over moli serve --remote-debugging-pipe with zero Node.js, zero TCP ports, 4.6 ms MCP cold start, 1.7 MB idle RSS, and kernel-level EOF cleanup on exit.

Stress Benchmarks (chrome-headless-shell vs. moli + Node vs. moli + Rust sessfork-mcp)

Measured locally on Apple Silicon (macOS 26.6.2 arm64, M5 24 GB, Python 3.14.7, @playwright/mcp@0.0.85, moli 1.1.27, sessfork-mcp 0.1.4) via scripts/stress_test.py (zero external requests). Full methodology & 3-way breakdown in docs/benchmarks.md.

Workload chrome-headless-shell + Node MCP moli 1.1.27 + Node MCP moli 1.1.27 + Rust sessfork-mcp Delta vs. Chrome
100-domain CLI extraction (2k cookies + 2k LS) 26.6 ms p50 (211k/s) same CLI core same CLI core Pure Python stdlib + CommonCrypto
16-process concurrent fork storm (64 domains) 0.0% lost updates (223.7 ms) same CLI core same CLI core Fixed 57.5% -> 0.0% via fcntl.flock
MCP cold initialize 1,787.5 ms 1,229.5 ms 4.6 ms (1.7 MB idle) 388× faster (zero Node.js / npx)
50-origin hot-reload p50 (20 cycles) 263.8 ms 672.5 ms 5.9 ms (20/20 OK) 44.7× faster (114× vs Node+Moli)
6× lightweight auth time / total RSS 3,413 ms / 1,219 MB 779 ms / 383 MB 230 ms / 85 MB 14.8× faster · 14.4× less RAM (-93%)
12× heavy-DOM total RSS (1,775 nodes/tab) 2,531.4 MB (15 procs) 656.8 MB (1 proc) 260.4 MB (1 proc) 9.72× smaller (-89.7%, saves 2.27 GB)
12× heavy-DOM total time (full AX tree) 2,915.4 ms 5,543.9 ms 1,501.0 ms (12/12, 0 leaks) 1.94× faster (3.69× vs Node+Moli)

Independent verification by the lexmount/moli team (Apple M4, 24 GB, 5-run medians — Discussion #3465): Re-running the exact same 12-context heavy-DOM benchmark (1 warm-up + 5 measured runs, all 12/12 checks passing) yielded 4.22 s / 226.3 MiB for moli + sessfork-mcp vs. 25.41 s / 575.6 MiB for moli + @playwright/mcp and 11.65 s / 2,439.5 MiB for chrome-headless-shell + @playwright/mcp — -90.7% RAM (10.78× smaller) and 2.76× faster than Chrome.

Why --engine dual is the sweet spot: Pure Rust sessfork-moli delivers 9.72×–10.78× smaller RAM, 1.94×–14.8× faster execution, and 1.7 MB idle with zero Node.js, while Chrome stays completely unloaded (0 MB) until a WebGL or strict anti-bot portal triggers fallback.

# Optional: install the 605 KB prebuilt native Rust CDP MCP binary (SHA-256 verified, no Cargo needed)
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/wasabihu/sessfork/v0.3.0/install.sh | bash -s -- --rust-mcp-only

# Or build from source (Rust >=1.75; auto-used by --engine moli / dual)
cargo install --git https://github.com/wasabihu/sessfork sessfork-mcp

# Reproduce the 3-way 12x heavy-DOM comparison locally (~18s)
python3 scripts/stress_test.py --heavy-compare

(Want to use sessfork-mcp standalone with moli without Python? See rust/sessfork-mcp/README.md.)


Cheat Sheet

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.wasabihu/sessfork

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229