November 2 warning · documentation verified
Check your Agentic Playwright Chromium sandbox settings
Is your browsing agent running with assumptions meant for trusted tests?
Reported findings: A November 2 warning on X spotlights Playwright’s browser isolation. Official docs confirm Chromium sandboxing defaults to false; the v1.64.1 manifest lists Chromium 156.0.8078.4. Documentation warns against untrusted browsing in its default Docker image. This review did not test exploitability.
Testing implications: When agents execute tests or tasks using Playwright-launched Chromium, its browser sandbox is off by default. That assumes trust in the pages and content being loaded; the agent’s own actions need controls too. Without the browser sandbox, a successful browser exploit could damage the host, depending on other isolation and permissions. Be careful out there. When in doubt, enable Chromium sandboxing and verify it works in your environment. Ask cloud testing and agent-service providers whether it is enabled and what other isolation protects the host.
Special note: Playwright’s Docker guidance distinguishes trusted end-to-end tests from untrusted browsing: running as root disables the Chromium sandbox. For crawling or scraping untrusted sites, it recommends a separate user plus the supplied seccomp profile. Read Playwright’s Docker guidance on trusted versus untrusted browsing.