feat(engine): expose strict sandbox and target-renderer evidence - #1
Draft
cwhy wants to merge 3 commits into
Draft
feat(engine): expose strict sandbox and target-renderer evidence#1cwhy wants to merge 3 commits into
cwhy wants to merge 3 commits into
Conversation
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
CapGo's experimental Creative renderer needs Chromium's process sandbox and site isolation to remain active, and the native canary must prove which exact renderer process produced each captured frame. HyperFrames 0.7.90 currently hard-codes unsafe launch flags and did not expose target-to-renderer process evidence.
This draft adds explicit, opt-in proof hooks without changing the 0.7.90 default. It is based on a dedicated
capgo/v0.7.90-basebranch so CapGo can pin the exact reviewed commit.Strict browser profile
legacy-unsafe.PRODUCER_BROWSER_SANDBOX_MODE=strict:--no-sandbox,--disable-setuid-sandbox, and--no-zygote;--site-per-processand stops disabling site isolation;Exact browser and renderer evidence
PRODUCER_SANDBOX_STATUS_PATH=/absolute/path.jsonwrites bounded, atomic evidence from the exact browser selected after fallback handling and before the composition page opens.When both
PRODUCER_TARGET_RENDERER_STATUS_PATHandPRODUCER_TARGET_RENDERER_ACK_PATHare set, HyperFrames additionally:Both hooks are inert when their environment variables are absent. They are diagnostic canary evidence, not cryptographic attestation and not a substitute for container isolation.
Scope and deployment gate
This change does not claim that Cloudflare Containers pass the sandbox or no-egress gate. CapGo separately proves non-root execution, exact browser/renderer
/prochardening, cleanup, and externally observed egress behavior in a native linux/amd64 canary. Any ambiguous or missing evidence remains a deployment blocker; there is no unsafe fallback.Verification
git diff --checkReview status
Draft on purpose. It should remain unmerged until the native Creative container proof and upstream review are complete.