GeezerVison is showing github.com — feat(browser-engine): add verified MV3 extension host over private CDP pipe by Hona · Pull Request #274 · anomalyco/opencode-rune
Conversation
Hona
commented
Nov 20, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Adds MV3 Chrome browser extension hosting to apps/browser-engine (CEF 156 OSR) over a private, non-inheritable, in-process anonymous CDP pipe, integrated with WS-1's #277/#288 partitioned ContextPool and hardened against every finding in Round 1 and Round 2 of review-rd274.md (WS-9 PR 1 of 5; independent security review before merge).
Waits on newly published signed engine (opencode-browser-engine) to reach shipped users.
Round-5 Hardening Pass (review-rd274.md "Fifth read at b6f0e1c", ~35 lines across 5 files)
HostMsg::Find gated (engine.rs:938): Refuses HostMsg::Find when !self.contexts.is_tab_ready(tab_id) || extensions::tab_is_extension_surface(t) (calls t.host.stop_finding(1) and returns early), closing the BrowserTab:Find/FindResult text oracle across extension OOPIFs and closed ShadowRoots. (Gated unconditionally in the engine for #274 with zero wire change; desktop caller scoping for BrowserTab:Find belongs in PR 4 alongside the built-in browser chrome gates, and user find-bar support on web pages with extension sub-frames moves with ws9/pr1b-ext-subframe-masking.)
- In-flight
CdpCall reply re-check (handlers.rs::TabCdpObserver::on_dev_tools_method_result + engine/extensions.rs::browser_has_extension_surface): Re-checks browser_has_extension_surface(browser.as_deref(), self.is_popup, &self.snap, &self.prompts) before forwarding CdpPending::Raw(req_id), converting any reply where an extension frame appeared mid-flight (e.g., during Page.captureScreenshot or an awaited Runtime.evaluate) into an ok: false refusal.
- Matching-scheme pending clear & commit-only main clear (
handlers.rs): on_load_end clears pending_ext_subframes only when f.url() is an extension scheme; on_load_error clears only when failed_url is an extension scheme; removed clear_all_ext_frame_tracking() from on_before_browse (clears only on main-frame commit in on_load_start / Page.frameNavigated and reset_on_crash).
- Suppress engine-subscribed
Page.* events from EngineMsg::CdpEvent (handlers.rs::on_dev_tools_event): After updating self.prompts from Page.frameNavigated/navigatedWithinDocument/frameDetached, drops all Page.* events before out_tx so Page.frameRequestedNavigation, Page.windowOpen, and Page.frameDetached never leak extension URLs, tokens, or frame IDs.
- Minor (
downloads.rs): on_before_download returns 1 on policy cancellations (matching is_preview/is_popup), and on_download_updated checks self.is_preview || self.is_popup.
- Live CEF 156 Proof (
proof/ws9/pr1-reader7-r5-proof.json):
- Probe 1 (
Find oracle): plainTabFindMatched: true, extTabFindPositiveMatches: 0, extTabFindRefused: true.
- Probe 2 (mid-flight injection during awaited
Runtime.evaluate + Page.captureScreenshot): awaitedEvalRefused: true, midFlightScreenshotRefused: true.
- Probe 3 (provoked
ERR_ABORTED on superseded /slow-web + aborted HTTP 204 main-frame navigation): evalRefused: true, screenshotRefused: true.
- Probe 4 (
EngineMsg::CdpEvent stream): pageEventsForwarded: 0, cdpEventHasExtUrlOrToken: false, clean: true.
Round-4 Ruling & Simplification (review-rd274.md "Fourth read at e668a99")
Per the orchestrator & READER-7 ruling, all sub-frame masking / hit-testing / tree-stripping code has been moved off #274 onto branch ws9/pr1b-ext-subframe-masking (which remains in the hard shipping gate before extensions are enabled for users). #274 enforces the small, race-free, fail-closed whole-tab rule:
- Fail-closed whole-tab extension guard (
engine.rs, handlers.rs, prompts.rs):
- Refuses every
HostMsg::CdpCall, HostMsg::SetInspect, and HostMsg::HighlightNode on the entire tab whenever ANY frame (main OR sub-frame) is, or is about to become, an extension frame — checked at the exact moment each call is dispatched, on both agent_driven == true tabs AND unflagged 3P plugin DevtoolsAsync tabs.
- Tracks extension frames through four independent sources:
is_popup, snapshot URL, pending top URL, and live CEF main-frame URL;
- every live CEF frame via
browser.frame_identifiers() + frame_by_identifier() (catching cross-process chrome-extension:// OOPIFs, Bitwarden closed-ShadowRoot overlays, and nested cross-origin iframes);
- real CDP
frameIds (devtools_frame_token) observed in TabCdpObserver::on_dev_tools_event via Page.frameNavigated / Page.navigatedWithinDocument / Page.frameDetached (with Page.enable sent on non-isolated tabs when extensions are active, and suppressing forwarding of extension-origin CdpEvents);
- pending pre-commit extension sub-frame navigations tracked from
on_before_browse, on_load_start, and sub-frame-navigation-only on_resource_redirect (is_navigation && !is_main — never ordinary <script>/<img> subresource redirects inside web iframes!), pruned strictly by commit / error / main-frame navigation / crash / destroyed pre-swap RenderFrameHost with zero fail-open TTL.
- Removed
extensions/frame_guard.rs and all masking/hit-testing/tree-stripping plumbing from #274 (preserved on branch ws9/pr1b-ext-subframe-masking).
- Finding 1 minor cleanups (
extensions/cdp.rs, context.rs):
cdp.rs: On post-load verify_extension_file_access_disabled failure (or load ID mismatch), also removes expected_id from self.verified_startup and immediately detaches any active self.sessions for expected_id/loaded_id during the async Extensions.uninstall window.
context.rs: verify_extension_file_access_disabled checks ext_dict.get_type(...) (VTYPE_INT for creation_flags and VTYPE_BOOL for newAllowFileAccess) before reading .int()/.bool().
- Round-4 Live CEF 156 Proof:
probe-reader7-r2-after.ts: finding1_fileBlocking.allBlocked: true, static WAR overlay & Bitwarden closed-ShadowRoot use_dynamic_url iframe both whole-tab refused BEFORE and AFTER SetAgentDriven(true), plain tab 1+1 == 2, padded 257-perm manifest refused, 100× action.* flood throttled to 30.
- Subresource redirect + recovery check: ordinary web
<iframe> with DNR-redirected <script> to chrome-extension://.../noop.js does NOT falsely lock out the tab (subresourceScriptRedirectInWebIframeNotFalsePositive: true); tab with real extension iframe is whole-tab refused (extIframeWholeTabRefused: true) and recovers cleanly on navigating to a clean page (recoveredAfterNavigatingToCleanPage: true).
probe-reader7-after.ts & pr1-async-proof.ts (uBlock Origin Lite + Dark Reader + Bitwarden): 0-ext Ready 146.5 ms; 3-ext Ready 164.4 ms, first tab painted 311.5 ms, DNR ready 870.8 ms, all 3 loaded 1,656 ms, page_attach_to_resume_us: 29 µs, 0 registry errors, 0 leftover stubs, VTYPE_INT/VTYPE_BOOL post-load check green on startup & reload.
scripts/guardrails.ps1: 5/5 passed (engine.rs 1,487 lines, 0 files > 1,500); clippy -D warnings: 0 warnings; zero test files added.
Round-3 Hardening Pass Addressing review-rd274.md ("Third read at 5c11cdc", Finding 1 — Confirmed Closed)
- Deleted
grant_ext_id_to_user_tabs, added post-load creation_flags verification, single-canonicalization path hashing, and fail-closed Fetch.enable ordering (context.rs, engine/extensions.rs, extensions/{mod,cdp}.rs):
- Deleted
grant_ext_id_to_user_tabs; ordinary user web tabs never receive loaded extension IDs in allowed_ext_ids.
canonical_extension_load_path runs once per load (on_startup_verified, reload_extension, uninstall_inert_stub, and uninstall_extension's !is_unpacked branch); generate_id_for_normalized_path(&path_str) hashes that exact string; post-load verify_extension_file_access_disabled(loaded_id) reads extensions.settings.<loaded_id>.creation_flags (VTYPE_INT, bit 0x4 == 0) and newAllowFileAccess (VTYPE_BOOL == false), uninstalling, clearing verified_startup, and detaching active sessions on mismatch.
auto_attach_cmd ordered strictly before fetch_enable_cmd; handle_cdp_reply refuses resuming on Fetch.enable error.
- Replaced all remaining
is_symlink() calls in extensions/integrity.rs with is_reparse_or_symlink().
Round-2 Hardening Pass Addressing review-rd274.md ("Second read at a00d65a")
- Root-cause Chromium
ALLOW_FILE_ACCESS revocation + closed all 4 Fetch.enable bypasses (context.rs, extensions/{cdp,mod,manifest,rpc}.rs, engine.rs):
- Root cause fixed in Chromium itself (
context.rs::generate_id_for_path + canonical_extension_load_path + disallow_extension_file_access): Before every Extensions.loadUnpacked call (startup, reload, and inert-stub upgrade), sets extensions.settings.<id>.newAllowFileAccess = false under both Chromium's path-derived ID (crx_file::id_util::GenerateIdForPath on the \\?\-stripped canonical UTF-16LE Windows / UTF-8 POSIX path passed to loadUnpacked) and the key-derived ext_id. Fails closed (uninstalls inert stub and emits ExtensionIntegrityFailed, never calling Extensions.loadUnpacked) if disallow_extension_file_access returns false.
- Proved live on real CEF 156 WITH
Fetch.enable COMPLETELY SWITCHED OFF (proof/ws9/pr1-reader7-5arm-experiment.json):
none (control: no pref, no Fetch.enable): SW, blob: worker, line-1 race worker, nested worker2 ALL read HOST_SECRET_R7_5ARM, AND <all_urls> content script injected into a file:// tab.
fetch_only (pre-fix a00d65a0 Fetch.enable, no pref): SW (async race), blob: worker, line-1 race worker, and nested worker2 ALL bypassed Fetch.enable and read HOST_SECRET_R7_5ARM (confirming READER-7's exact analysis).
pref_key_only (key-derived ext_id only, Fetch.enable OFF): fetches blocked, but <all_urls> content script STILL injected into the file:// tab because UnpackedInstaller::GetFlags() checks GenerateIdForPath.
pref_path_only AND pref_only (GenerateIdForPath + ext_id, Fetch.enable COMPLETELY OFF): set_preference("extensions.settings") returned ok=true, ALL 6 file:// fetch contexts failed on Chromium's own refusal (BLK), AND zero content script injected into the file:// tab.
- Second layer (
Fetch.enable + DefaultRequestContextHandler) hardened closing all 4 gaps:
- (a)
blob: worker origins unwrapped (manifest.rs::extension_id_from_target_url): blob:chrome-extension://<id>/<uuid> workers match SessionKind::FileGuardOnly and receive Fetch.enable (never detached unguarded).
- (b) Recursive auto-attach (
cdp.rs::auto_attach_cmd): Sends Target.setAutoAttach({ autoAttach: true, waitForDebuggerOnStart: true, flatten: true }) on every ServiceWorker, FileGuardOnly, ExtensionPage, and PopupPage session so nested dedicated workers (worker1 -> worker2), shared workers, and sub-iframes pause and attach before executing line 1.
- (c) Synchronous
Fetch.enable barrier (pending_fetch_resume): Never pipelines Runtime.runIfWaitingForDebugger in the same batch as Fetch.enable; waits for Chromium's CDP reply to Fetch.enable (UpdateSubresourceLoaderFactories complete) in handle_cdp_reply before sending Runtime.runIfWaitingForDebugger. Added filesystem:file://* alongside file://* and blob:file://* (removed redundant FILE://*).
- (d) Detached web tab upgrade blocked (
rpc.rs::rpc_tabs_update + engine.rs::open_tab): tabs.update refuses navigating any non-extension web tab to chrome-extension:// (extensions use chrome.tabs.create), and regular web tabs keep allowed_ext_ids empty so they can never upgrade in-place into an unattached extension main frame (WAR sub-frames on user web tabs remain unaffected).
- Protected pre-existing extension iframes on adopted user tabs (
engine.rs::tab_is_extension_surface):
- Walks every live frame in
CefBrowser via t.browser.frame_identifiers() + t.browser.frame_by_identifier() (catching cross-origin chrome-extension:// OOPIFs, including use_dynamic_url UUID overlays like Bitwarden's overlay/menu-button.html / overlay/menu-list.html).
- Whenever any live extension main frame OR child frame is present on a tab, every
HostMsg::CdpCall (Page.captureScreenshot, Page.getFrameTree, Accessibility.getFullAXTree, Input.dispatchMouseEvent/dispatchKeyEvent, Runtime.evaluate, etc.), SetInspect, and HighlightNode fails closed immediately (even if a 3P plugin never sent SetAgentDriven(true)).
- Eagerly sets
pending_top_url before frame.load_url in HostMsg::Navigate and ExtEffect::NavigateTab.
- All 7 Round-2 hardening items closed:
- Fail-closed engine manifest parsing (
extensions/{manifest,integrity}.rs): Removed .take(256) truncation; ExtensionManifest::from_verified_bytes and read_mv3_stub_fields now use checked_string_array (identical fail-closed bounds to crates/browser-extensions: refuses manifests with > 256 entries, non-strings, empty strings, > 256 B items, or control/bidi chars). (Note: apps/browser-engine is a standalone Cargo workspace member with its own Cargo.toml/Cargo.lock so the signed CEF binary stays decoupled from desktop workspace crates, while judging the exact manifest.json bytes hashed by extension_tree_digest_and_manifest under the same fail-closed contract.)
- All
action.* methods rate-limited (extensions/rpc.rs): Added allow_action_update gating to setPopup, setBadgeBackgroundColor, setBadgeTextColor, enable, and disable.
- Disconnected inbound queue & prioritized outbound control queue (
extensions/{pipe,mod}.rs): drain_inbound handles TryRecvError::Disconnected explicitly (guaranteed on_pipe_closed() even when the 256-slot inbound queue is full). Outbound pipe now uses priority control (512) vs rpc (512) queues drained control-first by engine-ext-cdp-tx so RPC floods can never drop Fetch.failRequest, Debugger.resume, Target.detachFromTarget, or Runtime.runIfWaitingForDebugger.
Inspector.targetReloadedAfterCrash branched by sess.kind (extensions/cdp.rs): FileGuardOnly targets receive ONLY Fetch.enable + Target.setAutoAttach (never Runtime.addBinding or Debugger.enable).
downloads.rs::on_before_download: Re-checks is_popup, extension_origin(&item.url()), extension_origin(&item.original_url()), subresource_allowed, and is_http_with_credentials.
- Windows no-follow parity & comma fallback (
extensions/integrity.rs): Added Windows FILE_FLAG_OPEN_REPARSE_POINT + FILE_ATTRIBUTE_REPARSE_POINT handle verification in open_regular_no_follow; comma fallback uses LOCALAPPDATA on Windows (never profile-overwritten TMP) and atomic DirBuilder::mode(0o700) with a non-predictable nonce on Unix (failing closed if unavailable).
- Port-preserving
host_covers (extensions/manifest.rs): https://*:8443/* now checks port equality rather than matching all ports.
- Linux
ReopenTabs (engine.rs): Calls ext.on_tab_closed(tab_id) before open_tab to avoid duplicate ExtTab entries.
Driven Live CEF 156 Proofs
1. Root-Cause ALLOW_FILE_ACCESS & All 4 Fetch.enable Bypasses (proof/ws9/pr1-reader7-5arm-experiment.json & proof/ws9/pr1-reader7-r2-after.json)
- 5-arm controlled experiment on real CEF 156 (
opencode-browser-engine.exe):
none (control: no pref, no Fetch.enable): SW, blob: worker, line-1 race worker, and nested worker2 ALL read HOST_SECRET_R7_5ARM, AND <all_urls> content script injected into a file:// tab.
fetch_only (pre-fix a00d65a0 Fetch.enable only, no pref): SW (async race), blob: worker, line-1 race worker, and nested worker2 ALL leaked HOST_SECRET_R7_5ARM, AND content script injected into the file:// tab.
pref_key_only (key-derived ext_id only, Fetch.enable OFF): fetches blocked, but content script STILL injected into the file:// tab (UnpackedInstaller::GetFlags() checks GenerateIdForPath).
pref_path_only AND pref_only (GenerateIdForPath + ext_id, Fetch.enable COMPLETELY OFF): set_preference("extensions.settings") returned ok=true, ALL 6 file:// fetch contexts failed on Chromium's own refusal (BLK), AND zero content script injected into the file:// tab.
- After-fix combined proof (
proof/ws9/pr1-reader7-r2-after.json):
swDirect: "BLK", offscreenDirect: "BLK", bypassA_blobWorker: "BLK", bypassB_nestedWorker: "BLK", bypassC_line1Race: "BLK".
bypassD_tabsUpdateResult: "REFUSED:Error: Cannot navigate a web tab to an extension page; use chrome.tabs.create.", bypassD_stealPageRan: false.
fileTabContentScriptInjected: false.
2. Pre-Existing Extension Iframes on Adopted User Tabs (proof/ws9/pr1-reader7-r2-after.json)
- Before (
a00d65a0): After SetAgentDriven(true) on a user tab with an already-loaded chrome-extension:// overlay iframe, Page.captureScreenshot returned 4,560 bytes and Input.dispatchMouseEvent delivered mousedown + click inside the extension iframe.
- After (this head):
- Static WAR overlay iframe:
warOverlayLoaded: true, warOverlayClickedByAgent: false, warCdpAllRefused: true (Page.getFrameTree, Page.captureScreenshot, Accessibility.getFullAXTree, Input.dispatchMouseEvent, and Runtime.evaluate all refused with "Agent browser tools cannot read or act on extension pages.").
- Bitwarden-architecture closed-ShadowRoot +
sandbox.pages + use_dynamic_url: true inline autofill menu iframe (chrome-extension://8cc5ffca-b21b-4386-8aed-0714c1a3aea2/overlay/menu-list.html?token=VAULT_MENU_TOKEN): bwStyleMenuUsesDynamicUuid: true, bitwardenMenuCdpRefusedBeforeAgentFlag: true (blocks unflagged 3P plugin DevtoolsAsync too!), bitwardenMenuCdpRefusedAfterAgentFlag: true. (Note: real Bitwarden's background.js::getBootstrapAutofillContentScript gates its own inline menu injection on an active logged-in vault account (this.accountService.activeAccount$), and we do not create a Bitwarden account in anyone's name; real Bitwarden loads cleanly alongside our exact Bitwarden-architecture closed-ShadowRoot use_dynamic_url: true sandboxed menu proof.)
- Control plain web tab (no extension iframes):
controlPlainTabEvalOk: true (Runtime.evaluate("1+1") == 2).
3. Round-2 Hardening & Round-1 Regression + 3-Extension Benchmark (proof/ws9/pr1-reader7-r2-after.json, pr1-reader7-proof.json, pr1-async-proof.json)
- Round-2 hardening: Padded 257-entry manifest (
256× "storage" + "debugger") refused at startup (padded257PermManifestRefused: true); 100× flood across action.setPopup / setBadgeBackgroundColor / setBadgeTextColor / enable / disable throttled to 30 emitted extension_action events (actionFloodThrottled: true).
- Round-1 regression suite (
probe-reader7-after.ts): All checks true (contextId/executionContextId/uniqueContextId/sessionId refused, WAR sub-frame blocked on agent tabs, SW/offscreen/dedicated worker file:// blocked, required proxy refused, forged tab_seen/probe_tabs_reply/50× subscribe DoS survived, two ContextKind::Private tabs partitioned COOKIE:NONE, zero-perm MV2-style permissions no URL leak & agent-tab tabs.update blocked, external --remote-debugging-port=19222 stripped, 0-restart UninstallExtension + ReloadExtension keeps SW shimmed).
- 3-extension flagship benchmark (uBlock Origin Lite + Dark Reader + Bitwarden, 43.8 MB, release build,
proof/ws9/pr1-async-proof.json):
- 0 extensions
spawn -> Ready: 145.9 ms (0 registry errors).
- 3 extensions
spawn -> Ready: 176.2 ms, first tab painted 352.5 ms, uBlock Origin Lite ExtensionFiltersReady 1,010.7 ms, all 3 loaded 1,836.8 ms (0 registry errors, 0 leftover stubs, page_attach_to_resume_us: 46 µs); uBlock blocking + 0-restart uninstall, Dark Reader warm restart persistence (150.4 ms / 132.4 ms) + popup off-origin lock, Bitwarden popup CdpCall refusal, isolated tab (adHits: 1, drStyles: 0), and tamper rejection all passed.
Unix FD 3/4 Status (macOS & Linux)
- Audited statically (
pipe.rs: single-threaded reserve_unix_fds verifying fcntl(3/4, F_GETFD) < 0 + O_CLOEXEC + RESERVED_FDS, create_unix_pipes duping >= 5 via F_DUPFD_CLOEXEC, rolling back FD 3 on partial dup2 failure, marking FDs 3/4 FD_CLOEXEC).
- Asked PROOF-FARM (
notes/ORCHESTRATOR-inbox.md) whether one headless engine smoke can run on air (macOS arm64) under the ordered lock; until run on macOS/Linux, live Unix FD 3/4 runtime behavior remains not proved live (audited statically).
Conditions Carried Forward & Mandatory Shipping Gate (PRs 2–5)
- PR 2 (
#280, crates/browser-extensions): Confirmed by READER-8 at b8ba6a24 and squash-merged to dev at b019dad0.
- Mandatory Shipping Gate on PR 3 (
#283, crates/browser-pane): Extensions MUST NOT be enabled for users (PR 3's Hello { extensions: true } path) until ALL FOUR items are on dev and independently confirmed: (1) this PR (#274), (2) follow-up ws9/pr1b-ext-subframe-masking (full narrow sub-frame masking: strip extension iframes & closed extension shadow roots without returning backendNodeId, no external pierce: true, redact chrome-extension: across all attributes/text, refuse DOM.resolveNode/focus/getFrameOwner on extension nodes, true CDP frameIds, serialized/atomic hit-testing & keyboard focus, nested cross-origin OOPIFs, fail-closed overflow, and painted-out Page.captureScreenshot), (3) WS-1's app-side isolation-escape fixes (review-rd-engine.md Finding 2), and (4) PREVIEWS' engine-wide file:// ban (PR 2 following #281, which is confirmed and merging).
- PRs 3–5: Construct
ExtensionManager exclusively via in_user_data(user_data_dir), gate all extension APIs strictly to scope.is_builtin_browser && scope.tool_sid.is_none(), drive state via InstallMachine::step with a monotonic clock, unload before Windows approve_staged, persist StoredExtension only after engine load succeeds (with rollback_swap on failure), map user-facing errors to catalog keys, display all risk badges/sites/unvetted warning/added deltas with Approve hard-blocked on ManifestV2/DisallowedPermission, and cap UI image decode dimensions.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 20, 2026
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…osed, and drop on last tab close (#288)
Hardens `apps/browser-engine/src/context.rs` as the single shared `CefRequestContext`
creator across WS-1, WS-9 (`#274`), PREVIEWS (`#281`), and BROWSER-TOOLS (resolving
`notes/review-rd274.md` Finding 5):
- **Partitioned scopes & canonical keys (`ContextKind` / `ContextKey`):**
- `Default` -> global persistent profile (`OPENCODE_BROWSER_PROFILE/Default`).
- `Preview { workspace, grant }` -> `ContextKey::Preview { workspace, grant }` (distinct per
workspace and grant; never shares across workspaces or with artifacts).
- `Artifact { artifact_id }` -> `ContextKey::Artifact(artifact_id)` (separate namespace from
workspace previews).
- `Private` -> `ContextKey::Private(tab_id)` (unique per private tab; never shared).
- `RemoteServer { server_id, proxy }` -> `ContextKey::RemoteServer(server_id)` keyed by
canonical `ServerKey::as_str()` identity (never display name; keeps `#[serde(alias =
"partition")]` for wire compatibility).
- **Fail closed on every path:** Empty keys return `browser.context.invalid`; non-loopback
proxies return `browser.proxy.invalid`; `cef::request_context_create_context` or
`browser_host_create_browser_sync` failure returns `browser.context.unavailable` with an
explicit pre-create guard forbidding `!context.is_default() && req_ctx.is_none()`. On
desktop, `App::default_browser_context()` always returns `RemoteServer` on non-sidecar
servers (never silently falling back to `Default` when an older engine lacks
`Ready.partitions`), and pop-ups from isolated contexts never inherit into `Default`.
- **Ref-counted teardown & zero disk writes:** Every non-`Default` context runs strictly
in memory (`cache_path: ""`, `persist_session_cookies: 0`), disables WebRTC non-proxied
UDP/multiple routes, DoH, QUIC, and DNS prefetching, strips `file_roots`, and drops
immediately when its last tab closes (`ContextPool::release_tab`, closing connections and
wiping cookies/storage/caches/service workers; `RemoteServer` proxy configs remain in
`remote_proxies` until `DropContext`).
- **Shared hooks for PREVIEWS (`#281`) & WS-9 (`#274`):** Adds `ContextHooks`
(`resource_filter`, `exclude_default_cookie_schemes`, `on_created`) on
`ContextPool::resolve_with_hooks` and `ContextKind::is_isolated()`, plus preserves
`agent_driven` across Linux dmabuf `ReopenTabs`.
…d boundary, isolation, and DoS limits per security review
# Conflicts:
# apps/browser-engine/src/context.rs
# apps/browser-engine/src/engine.rs
# apps/browser-engine/src/wire.rs
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…18..UP-122 (#295)
- Fold verified fleet PRs #278, #285, #287, #288, #289, #290, #291, and
#293 (Rune dc8f7f72: #1301, #1302 focus rescue verified Send+Enter -> effort)
into docs/upstream-sync/ledger.{json,md}
- Close UP-062 packaged-default regression (#278), UP-095-UI / UP-100 /
UP-106 / UP-109 / UP-117 (#285, #289), and PRE-08 (#287); reassign
UP-115, UP-116, UP-075 to BROWSER-UI
- Add separate Reviewed column for browser rows tracking retrospective
security reviews on merged PRs (#245, #268, #272, #277, #288, #275, #287,
#285, #289) and pre-merge holds (#274, #280, #281, #283, #286, #292, #294,
and BROWSER-TOOLS PR 3+)
- Audit upstream anomalyco/opencode bfee96a859..2002222d13 (+6 commits:
1 skipped, 5 added: UP-118..UP-122) and refine radar routing
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ForPath, close all 4 Fetch gaps, guard pre-existing extension iframes, and harden manifest/pipe/action limits
…ion_flags, and add narrow extension sub-frame guard
# Conflicts:
# apps/browser-engine/src/context.rs
…ion guard and move sub-frame masking to pr1b
# Conflicts:
# apps/browser-engine/src/context.rs
# apps/browser-engine/src/downloads.rs
# apps/browser-engine/src/engine.rs
# apps/browser-engine/src/handlers.rs
# apps/browser-engine/src/wire.rs
…faces, harden pending clear, and suppress engine Page.* events
# Conflicts:
# apps/browser-engine/src/downloads.rs
# apps/browser-engine/src/engine.rs
# apps/browser-engine/src/handlers.rs
# apps/browser-engine/src/main.rs
Uh oh!
There was an error while loading. Please reload this page.
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…ck-pressure and unconditional file:// ban
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
- Fold security-confirmed merged PRs #292 (6d7a6ed, WS-1 mandatory
RemoteServer proxy), #294 (ae3e910, BROWSER-UI file-link/click-to-run
fix with known symlink/junction root limitation), and #274 (5da6474,
WS-9 engine MV3 extension host, inert without --extension flags)
- Update browser Reviewed column: #301 in rework (#287 eager-attach
time_updated regression still live on dev), #296/#298/#302/#303/#305/#306
in rework, #307 open for pre-merge security review
- Audit upstream anomalyco/opencode fe8def6854..4122af0206 (+2 commits:
1 skipped #65255 core/codemode, 1 added UP-135 #65215 -> WS-8)
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|