Single-state headless browser setups work fine until your agents need multiple isolated accounts, per-profile proxy routing, external Python/CLI CDP orchestration, or a clean escape hatch when headless runs hit interactive SSO / 2FA walls .
Once you cross that line in production, four systems problems show up immediately:
Shared state & prompt-injection proxy exfiltration: If all sessions share one storageState file—or if an MCP tool accepts arbitrary proxyServer URLs straight from LLM parameters—a single prompt-injected webpage can trick an agent into routing authenticated requests through an attacker-controlled proxy.
Single-process FD_SETSIZE=1024 ceiling: During high-density probing on lightweight headless engines (see moli #3803 ), pushing a single moli process beyond 60 concurrent BrowserContext s pushed open file descriptors past 1,024 ( 1,063 observed via lsof ), triggering net::ERR_CONNECTION_REFUSED on subsequent navigations.
Shared-port CDP cross-session visibility: Even when browser contexts…