Skip to content

Restrict remote module runs to compute only - #366

Merged
NotASithLord merged 1 commit into
mainfrom
codex/issue-330-notebook-import-fence
Aug 9, 2026
Merged

Restrict remote module runs to compute only#366
NotASithLord merged 1 commit into
mainfrom
codex/issue-330-notebook-import-fence

Conversation

@NotASithLord

Copy link
Copy Markdown
Owner

Closes #330.

What changed

  • Treat any graph with an HTTPS module as untrusted compute for the whole run.
  • Remove network, file, agent, provider, browser, site, and dweb capabilities in the worker and reject forged relay messages at the host.
  • Prevent remote modules from importing local toolbox modules.
  • Fence remote-derived values, logs, and errors for Script and Notebook.
  • Give users and models concise recovery guidance without treating integrity pins as trust.
  • Disable remote module imports in Firefox packages before fetch until Gecko has a native child-module loader. Firefox Notebook static imports crash on generated child module URLs #365 tracks that loader work.
  • Update the threat model, red-team scenario, store notes, and remote-import design.

Verification

  • 5,606 Bun tests passed.
  • 848 in-browser tests passed.
  • Chrome functional E2E passed with 290 checks across 38 states.
  • The visible Chrome restricted-Notebook state passed all 6 checks and its screenshot was reviewed.
  • Firefox packaged Store and Preview smokes passed.
  • The focused Gecko capability-wall test passed.
  • Red-team suite passed all 13 scenarios, including 23 sandbox escape probes.
  • Typecheck, lint, copy hygiene, package import checks, AMO checks, and preflight passed.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

Visual regression

No visual drift. Every state renders identically to the committed baselines.

📸 Browse the visual gallery — 50 baseline screens (light + dark) as of this commit.

@NotASithLord
NotASithLord merged commit a59708b into main Aug 9, 2026
19 checks passed
@NotASithLord
NotASithLord deleted the codex/issue-330-notebook-import-fence branch August 9, 2026 02:05
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.

Notebook remote imports bypass the actor trust fence and inherit ambient capabilities

1 participant