Repository navigation
Add verified Rust sandbox web policy core - #1220
Open
PurpleCHOIms wants to merge 4 commits into
Open
PurpleCHOIms wants to merge 4 commits into
PurpleCHOIms wants to merge 4 commits into
Conversation
PurpleCHOIms
marked this pull request as ready for review
December 5, 2026 00:37
This was referenced Dec 5, 2026
This branch has not been 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 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.
Summary
Add a standalone Rust library for the Decepticon OSS sandbox web engine's generic URL transforms, SSRF and redirect policy, WAF signal matching, allowlisted search result parsing, and response validation. The crate has no network client or process entry point. The current Python sandbox engine and Docker image continue to run until the remaining transport and command path are ported.
Local verification
cargo +1.100 test --locked --offline --manifest-path runtime/sandbox-web/Cargo.toml --all-targets— 31 passed.cargo +1.100 clippy --locked --offline --manifest-path runtime/sandbox-web/Cargo.toml --all-targets -- -D warnings— passed.cargo +1.100 fmt --manifest-path runtime/sandbox-web/Cargo.toml --checkandgit diff --check— passed.curl_cffiunavailable on the host).Cargo ran through the shared build coordinator using a RAM-backed target. Verification details and integration limits record the exact scope. CHAGELOG.md records this proposed, unreleased change.
Compatibility and remaining work
There is no user-facing behavior change, package version change or release. The Rust library is not wired into the current sandbox image. A Rust fetch transport, command envelope, Phase-0 router and browser fallback remain; RoE and per-hop redirect checks must be preserved at cutover. BeautifulSoup-specific CSS selector behavior needs a cutover comparison.
Hosted checks are separate from this local qualification; inspect the PR for current results. Account billing/spending limits have previously interrupted GitHub Actions. This PR does not bypass any repository protection.