sessfork handles live browser credentials, so security reports are taken seriously.
Please do not open a public issue for security problems.
Use GitHub's private vulnerability reporting instead: https://github.com/wasabihu/sessfork/security/advisories/new
Please include the affected version or commit, your OS, and steps to reproduce. You can expect an initial response within 7 days.
What sessfork is designed to protect against
- Accidentally exporting credentials for sites you did not ask for (domain allowlist by default, rejecting blank inputs, bare TLDs, generic second-level ccTLDs, and shared cloud/hosting public suffixes like
github.io,appspot.com, orco.uk). - Other local OS users reading forked state, keys, screenshots, or driving Studio UI (
~/.sessfork/andplaywright-output/are0700;state.json,keys.json, newly created MCP configs, andsessfork-mcpscreenshots are0600written atomically withO_NOFOLLOW;sessfork --uienforces exact loopbackHost/Origin/Sec-Fetch-Sitevalidation, anti-clickjacking headers, and per-session authentication on allGETandPOSTroutes). - Cross-origin LocalStorage leakage and cross-origin iframe WebMCP spoofing inside native Rust
sessfork-mcp(LocalStorage hydration runs in an isolated CDP JS world with per-origin filtering on hot-reload; page URLs/origins come from browser-authoritative CDPPage.getFrameTree; WebMCP tool selection defaults to same-origin frames). - Leaking derived AES keys in process listings (
crypto.pyuses in-memoryCommonCryptoon macOS and OpenSSLlibcryptoviactypeson Linux — no subprocess key arguments) and silently accepting corrupted cookies on stale cached keys (Chrome v24+SHA256(host_key)prefixes are strictly verified). - Unpinned floating supply-chain updates on install or MCP startup (
sessfork-browserpins a tested@playwright/mcpversion;install.shpins release tags and enforces HTTPS TLS 1.2 + SHA-256 verification for prebuiltsessfork-mcpbinaries). - Symlinked browser database files or sidecars redirecting snapshot copies (
chrome.py,localstorage.py,state.py, andcrypto.pyrefuse symlinks before resolving paths and useO_NOFOLLOW). - Credentials leaking into terminal output or AI agent context (
--status/--jsonare redacted; nativesessfork-mcpomits raw cookie/storage read tools and sanitizes parse errors). - Your foreground browser being driven by an agent (forked state is used by a separate
--isolatedheadless browser).
What sessfork does NOT protect against
- Malware or any process already running as your own OS user. Such a process can read
~/.sessfork/state.jsonjust like it can read Chrome's own profile. - Multi-user exposure when using the legacy Node/TCP fallback (
sessfork --mcp-bridge moliwithout native Rustsessfork-mcp): that fallback binds an unauthenticated loopback TCP CDP port on127.0.0.1. On shared multi-user hosts, install native Rustsessfork-mcp, which communicates exclusively over anonymous pipes (--remote-debugging-pipe) with zero TCP ports. - Same-origin JavaScript state access when
browser_evaluateis used on an authenticated page (note thatHttpOnlycookies remain browser-enforced and unreadable from JS, whilelocalStorageand non-HttpOnlycookies are accessible to page JS by browser design). - Using
--cache-key: this stores the derived cookie decryption key in~/.sessfork/keys.json, which lets any same-user process decrypt Chrome cookies without a Keychain prompt. It is off by default; remove it withsessfork --purge-keys. - Misuse on devices or accounts you are not authorized to access. Only use
sessforkon your own machines and accounts.
- Fork only the domains a task needs; clear them afterwards with
sessfork --clear <domain>. - Never commit
state.json/keys.json(the repo.gitignorealready excludes them). - Re-run
sessfork --refresh-keyif Chrome rotates its Safe Storage key.
Only the latest release receives security fixes.