Repository navigation
fix(web): carry remote network policy into browser provider - #5265
Conversation
Size Report
Startup median (7 runs, lower is better):
Affected plugins
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on 83840f4. The verdict and the full list are in the summary comment.
This comment has been minimized.
This comment has been minimized.
|
The code at 373de18 is ready. Not blocking: these can be taken or left: every managed-provider construction for a browser command should carry the request's network policy, but the unscoped fallback omits Neither earlier thread still applies, so both can be resolved: the confinement check is fixed because it now runs first in The only check not passing is Body rules, which was cancelled. It validates the PR description, the diff does not touch that job's route, and the cancel is likely unrelated to the code (a body edit or a new push usually causes it). Not verified here: the tests were not run, so the 20/20 result and the line-limit claim rest on the author and CI. It was not traced whether any production route can bind a web device for a confined request with Nothing in the code needs to change before merge. The PR still has to leave draft, and the cancelled Body rules check has to pass. |
There was a problem hiding this comment.
All reported issues were addressed across 11 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
390fd75 to
4a8a43b
Compare
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This PR is ready at 4a8a43b. Nothing in its own change needs more work before merge. Since the earlier review of 373de18, the three points below are fixed, and the required evidence is in place. Three open threads no longer apply and can be resolved: the command docs now state that subrequests cannot be restricted to public destinations, a new test checks that a public-network-only request is rejected with Every check passes. The cancelled Body rules run was replaced by a passing run, and that check does not exercise runtime code. Not verified here: the new test was not run locally, its failure without the guarded line in Not blocking: the diff now carries the design doc that is still under review in #5258, so you can retarget this PR to |
8f93b3d
into
fix/daybreak-daemon-boundaries
* docs(security): design remote web network confinement * docs(security): phase remote web confinement * docs(security): correct Chromium proxy bypass * docs(security): require isolated confined browser sessions * docs(security): bind remote web confinement to session state * docs(security): cover DNS64 in remote web confinement design * fix(web): carry remote network policy into browser provider * fix(web): own confined browser refusal at launch * fix(web): refuse confined commands before provider cleanup * refactor(web): keep confinement admission before browser effects * docs(web): scope remote refusal to tenant ingress * fix(web): prove confined default provider composition
* docs(security): design remote web network confinement * docs(security): phase remote web confinement * docs(security): correct Chromium proxy bypass * docs(security): require isolated confined browser sessions * docs(security): bind remote web confinement to session state * docs(security): cover DNS64 in remote web confinement design * fix(web): carry remote network policy into browser provider * fix(web): own confined browser refusal at launch * fix(web): refuse confined commands before provider cleanup * refactor(web): keep confinement admission before browser effects * docs(web): scope remote refusal to tenant ingress * fix(web): prove confined default provider composition
Summary
Carry the daemon-owned
publicNetworkOnlyfact through request provider context to the default managed web provider. While network confinement is not implemented, that provider refuses browser commands exceptclosebefore host-side browser work. This is defense in depth for the Daybreak remote-web finding. #5243 remains the remote-web admission block; #5258 records the full proxy design. This phase does not add a proxy or alter custom provider behavior.Before / after
No observable remote-web change: #5243 already refuses remote web commands. At the provider seam, a confined
openformerly reached browser status and cleanup before refusal; it now returnsUNSUPPORTED_OPERATIONwithremote_web_browser_unconfinedbefore those effects. Confinedcloseremains available. Help and website explain why browser subrequests remain blocked.Validation
Head
4a8a43b74don #5258bdee98102d. All six own commits are patch-identical after restack (git range-diff). The focusedsrc/platform-runtime-provider-scope.test.tspassed 8/8 at the preceding head390fd7508a;git diff --checkpassed. Current-head CI is pending. This change does not enable remote web; proxy lifecycle and host-boundary bypass evidence remain required.