Skip to content

Backport DevTools159 extension permissions and AI file-origin safeguards - #115

Open
tysonthomas9 wants to merge 5 commits into
codex/chromium158-stable-refreshfrom
codex/devtools159-security
Open

tysonthomas9 wants to merge 5 commits into
codex/chromium158-stable-refreshfrom
codex/devtools159-security

Conversation

@tysonthomas9

@tysonthomas9 tysonthomas9 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T12:56:33.917348Z d8015e3 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant