·
Last changedVersion:
This version passed the hardening gate. Hardening applied 7 targeted changes and preserved all other text. Classified findings before hardening: 0. Classified findings closed: 0. Classified findings remaining: 0. Unclassified scanner findings remaining: 0. Review findings closed: 11. Review findings remaining: 2.
None
None
Expand | File | Group | Subtype | Severity | Status |
|---|
No findings available
0 findings
The agent writes Python in a persistent REPL with browser helpers and raw CDP (on Pydantic AI). The full list of 0.x options and what replaced them is MIGRATING.md in the repo; every 0.x option 1.0 dropped raises one "was removed in browser-use 1.0" error naming the replacement, before any browser starts.
The agent runs code that the model writes, and web pages it visits can steer that code. For untrusted tasks, especially with a local browser, run the agent in an isolated container or virtual machine that holds no secrets, set allowed_domains, and give it a dedicated workspace directory.
Agent(task).run_sync() works outside async code (not inside a running event loop). Defaults: model bu-4.0 on
the Browser Use gateway, browser Browser() = a Browser Use Cloud browser. With these defaults the task, page content and typed secrets pass through Browser Use Cloud; for sensitive or internal sites use a local Browser('chromium') and an llm the user chooses.
The result: final_result(), structured_output, status (completed | max_steps | timeout | error),
is_successful() (the agent's own verdict), error, partial (last checkpoint(..., partial=True)), usage,
cost_usd, messages (the transcript), and the files in agent.workspace (downloads in workspace/downloads).
The inline key and plain http in the local server example suit only a server on your own machine. For a remote server, use https and read the key from an environment variable.
Give each concurrent Agent its own Browser(); one running Agent per Browser.
Safety notes for browser choice:
Actions get only the arguments the model passes (no injected browser or page). Returning
ActionResult(extracted_content=...) or any value works; an action that raises returns the error to the model. Action arguments come from the model and can be shaped by page content: validate them inside the action, and keep error messages free of sensitive details.
The model sees only the names and types values with type_secret('password') (only into a focused field on a
matching site); values become <secret:name> in its output and the result. It is redaction, not a sandbox:
MIGRATING.md "Trust model" lists exactly what is covered. The values above are placeholders: keep real credentials out of source code, load them from environment variables or a secret manager, scope sensitive_data to a site, and combine it with allowed_domains.
Feedback to Browser Use is optional and sent only when the user asks for it. Show the user the exact message text and send it only after they approve it. Line 1:
kind: integration_report | feature_request | bug. Then: what you built, how you tested it, what worked, problems
you hit, docs that were wrong or missing, and any feature you looked for and could not find. No keys, passwords or
customer data.
From Python: browser_use.feedback(msg, category='other'). --category missing for a feature_request, bug for a
bug. No login or key needed.
Get started with chainctlchainctl skill install public/browser-use/open-source:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.cgr.dev/public/github.com/browser-use/skills/open-source:latest
MIT
HARDENING.md
LICENSE
SKILL.md