Repository navigation
Protect inline visualization viewers from sandbox writes - #38306
Merged
copyberry[bot] merged 1 commit intoAug 13, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why Inline visualization viewer documents must remain outside locations that a sandboxed session can modify before they are opened in a browser. ## What changed - Materialize viewer documents in a dedicated cache under `CODEX_HOME`, keyed by the source and artifact thread IDs, instead of alongside visualization artifacts. - Create visualization links only when the active filesystem policy cannot write to the viewer cache. This also disables links for full-disk-write sessions and applies the policy consistently when loading transcript history. - Reject viewer cache paths containing symbolic links and track materialized documents in memory so unchanged viewers are reused without trusting existing file contents. ## Testing - Verify that rendering an unchanged visualization reuses the existing viewer file, while an updated fragment refreshes it. GitOrigin-RevId: 12b7fbe522a68076e5d683a987b7801940d131c2
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/12b7fbe522a68076e5d683a987b7801940d131c2
branch
from
August 13, 2026 04:09
89043d8 to
902bd9e
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/12b7fbe522a68076e5d683a987b7801940d131c2
branch
August 13, 2026 04:10
jackychanisnotme
temporarily deployed
to
issue-triage
August 13, 2026 04:23 — with
GitHub Actions
Inactive
jackychanisnotme
temporarily deployed
to
issue-triage
August 13, 2026 04:23 — with
GitHub Actions
Inactive
jackychanisnotme
temporarily deployed
to
issue-triage
August 13, 2026 04:23 — with
GitHub Actions
Inactive
Mina-Sayed
temporarily deployed
to
issue-triage
August 13, 2026 04:39 — with
GitHub Actions
Inactive
Mina-Sayed
temporarily deployed
to
issue-triage
August 13, 2026 04:39 — with
GitHub Actions
Inactive
Mina-Sayed
temporarily deployed
to
issue-triage
August 13, 2026 04:39 — with
GitHub Actions
Inactive
bharatbots
temporarily deployed
to
issue-triage
August 13, 2026 05:52 — with
GitHub Actions
Inactive
bharatbots
temporarily deployed
to
issue-triage
August 13, 2026 05:52 — with
GitHub Actions
Inactive
bharatbots
temporarily deployed
to
issue-triage
August 13, 2026 05:52 — with
GitHub Actions
Inactive
zuoxinwang
temporarily deployed
to
issue-triage
August 13, 2026 06:10 — with
GitHub Actions
Inactive
zuoxinwang
temporarily deployed
to
issue-triage
August 13, 2026 06:10 — with
GitHub Actions
Inactive
zuoxinwang
temporarily deployed
to
issue-triage
August 13, 2026 06:10 — with
GitHub Actions
Inactive
Rokurolize
temporarily deployed
to
issue-triage
August 13, 2026 06:17 — with
GitHub Actions
Inactive
Rokurolize
temporarily deployed
to
issue-triage
August 13, 2026 06:17 — with
GitHub Actions
Inactive
Rokurolize
temporarily deployed
to
issue-triage
August 13, 2026 06:17 — with
GitHub Actions
Inactive
YuanYiNian
temporarily deployed
to
issue-triage
August 13, 2026 06:26 — with
GitHub Actions
Inactive
YuanYiNian
temporarily deployed
to
issue-triage
August 13, 2026 06:26 — with
GitHub Actions
Inactive
YuanYiNian
temporarily deployed
to
issue-triage
August 13, 2026 06:26 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Protect inline visualization viewers from sandbox writes
Why
Inline visualization viewer documents must remain outside locations that a
sandboxed session can modify before they are opened in a browser.
What changed
CODEX_HOME, keyedby the source and artifact thread IDs, instead of alongside visualization
artifacts.
write to the viewer cache. This also disables links for full-disk-write
sessions and applies the policy consistently when loading transcript history.
documents in memory so unchanged viewers are reused without trusting existing
file contents.
Testing
file, while an updated fragment refreshes it.