Repository navigation
Backport DevTools159 extension permissions and AI file-origin safeguards - #115
tysonthomas9 wants to merge 5 commits into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d8015e3e39
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "chromium_version": "159.0.8154.13", | ||
| "integration_repository": "BrowserOperator/browser-operator-core", | ||
| "required_merged_pr": 114, | ||
| "required_merged_pr": 115, |
There was a problem hiding this comment.
Gate publication on the declared final PR
When PR115, PR114, and build-script PR1 are merged but PR116 is not, require_merged_release() will accept a candidate matching PR115 because it treats this field as the integration merge and never checks PR116. This contradicts the commit's stated final policy that PR116 completes the release source tree and requires an owner merge, allowing the pre-PR116 tree to be published; make PR116 the required merge and retain PR115 among the additional prerequisites.
Useful? React with 👍 / 👎.
DevTools extensions could open resources without the caller's runtime host-policy check. Inherited FileAgent provenance could trust apparent URLs, and asynchronous refresh could allow disallowed contexts into model requests. Port stock159 openResource permission checks and conservative per-file origin mitigation while preserving the separate Browser Operator AI panel.
Synthetic, source-mapped, opaque and unverifiable contexts get unique per-file identities. Network scripts require known non-synthetic bindings and matching origins. Agent checks run before refresh, after asynchronous work and before model requests. This is a targeted backport, not a full import of stock159's newer SecurityOrigin framework or an exhaustive security-parity claim.
Validation: targeted TypeScript/ESLint and80 ExtensionServer/AiAgent/FileAgent browser tests passed before the full native build, including permission and provenance-race regressions. Independent review approved the scope and pins. Final macOS validation: Browser Operator 0.7.0 / Chromium 159.0.8154.13 passed for both ARM64 and universal DMGs. Both are Developer ID signed, notarized/stapled and accepted by Gatekeeper. Installed copies passed frontend/browser-tool/native-update checks; actual browser and renderer CPU proofs cover ARM64 and x86_64 under Rosetta. The visible Guest toolbar script passed open/close/reopen and the native 0.7.0 update-banner action on each exact DMG copy. Exact native updater baseline restoration was verified, including recovery from an auxiliary test-app re-registration. Independent review audited final hashes, manifests and retained receipts. Physical Intel hardware, credentialed provider conversations and actual version-upgrade/helper self-replacement remain separate gates.
Owner-merge hold: no release assets uploaded/replaced and no Omaha catalog promoted. Core stack111 →114 →115 →116; retarget children to main after parent merges. Final policy requires owner merge116 plus115,114 and build-script1. Operations PR2 is stacked on build-script1.
Final source tree is completed by child #116's runtime qualification tooling/policy; that child contains this security change unchanged.