
Description
safe-browser is an agent skill for building a local browser agent whose only browser capability is one safe_browser tool. The tool owns the Playwright or CDP session, turns on Fetch interception for all requests, and fails any request whose host is not on an allowlist, so the agent stays on approved sites. The skill is a builder guide. The generated Claude Agent SDK app is the runtime boundary, not the skill itself. It is useful when you want a browser agent that must stay on an allowlisted site, when you want to demonstrate that prompt injection or link following cannot take the agent off that site, or when you are building a scraper or browser workflow with a domain policy. It starts from a Claude Agent SDK template and leaves OpenAI Agents SDK variants out unless you ask for them. The skill is listed on skills.sh, and its security audit results are listed in the FAQ, including one warning.…
Highlights
- Single safe_browser tool for the agent
- Domain allowlist enforced with Fetch interception
- Claude Agent SDK template to start from
- Demonstrates containment of prompt injection
Ratings & Reviews
No ratings yet
Be the first to rate safe-browser.
People also visit
safe-browser FAQ
What does safe-browser build?
A local browser agent that can only reach domains on an allowlist, through one safe_browser tool.
How does the allowlist work?
The tool enables Fetch interception for all requests and fails any request whose host is not allowlisted.
How do I install it?
Run: npx skills add https://github.com/browserbase/skills --skill safe-browser
Which security audits did it pass?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Warn.
What are the best safe-browser alternatives?
Popular alternatives to safe-browser include remote-browser, core-agent-browser and browser-mcp-agent. See all safe-browser alternatives
















