agent-zero/plugins/_browser
Alessandro c6b3f56d72 Enforce same-origin isolation for browser DOM helper RPC
Cross-origin related windows could read page content and invoke DOM actions
through the helper's public postMessage channel.

Reject foreign and opaque origins, use exact target origins, and bind each
pending response to its child window and operation. Preserve inherited
origins for about:blank/srcdoc frames and trusted direct automation access.

Bump the helper to v2 and require a page reload when legacy listeners are
present. Existing host browsers must restart and reconnect before restored
tabs reload so old initialization scripts are discarded.

Add real-Chromium regressions for parent/frame/opener attacks, opaque
origins, forged responses, same-origin actions, and helper upgrades.

Validation: 250 browser/connector tests passed in both Conda a0 and Docker's
framework runtime; JavaScript syntax and diff checks passed. Restarted the
live runtime and verified HTTP health, browser navigation, and the viewer.
2026-11-01 07:41:16 +01:00
..
api Simplify Browser quick settings and expand browser configuration 2026-10-08 01:14:08 +02:00
assets Enforce same-origin isolation for browser DOM helper RPC 2026-11-01 07:41:16 +01:00
extensions feat: add per-action permissions for bundled tools 2026-10-27 19:06:13 +01:00
helpers Enforce same-origin isolation for browser DOM helper RPC 2026-11-01 07:41:16 +01:00
prompts Bound browser evaluate with recoverable JavaScript cancellation 2026-09-14 16:38:01 +02:00
skills Bound browser evaluate with recoverable JavaScript cancellation 2026-09-14 16:38:01 +02:00
tests feat(browser): enrich browser log headlines without the agent prefix 2026-10-21 23:37:32 +03:00
tools feat(browser): enrich browser log headlines without the agent prefix 2026-10-21 23:37:32 +03:00
webui refactor(webui): replace hardcoded accent blues with the highlight token 2026-10-13 18:06:47 +03:00
AGENTS.md Enforce same-origin isolation for browser DOM helper RPC 2026-11-01 07:41:16 +01:00
default_config.yaml Simplify Browser quick settings and expand browser configuration 2026-10-08 01:14:08 +02:00
hooks.py Fix SOCKS proxy support for HTTPX clients 2026-09-16 03:11:47 +02:00
plugin.yaml Route Browser through A0 host connector 2026-05-08 04:22:18 +02:00