Harden agent sandbox boundaries and refresh dependencies - #61
Merged
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.
Summary
base640.23 anded25519-dalek3.Security impact
The previous boundary combined shared ambient authority, path checks performed separately from file access, and subprocess paths that could bypass a single sandbox policy. This change makes authority explicit per execution context, performs sensitive filesystem access through hardened primitives, and centralizes subprocess enforcement.
Validation
cargo fmt --all -- --checkcargo clippy --all-targets --all-features -- -D warningscargo test --all-targets --all-features --no-fail-fast --quiet -- --test-threads=1cargo check --manifest-path fuzz/Cargo.toml --all-targetscargo check --target x86_64-pc-windows-gnu --no-default-featurescargo audit --file Cargo.lockcargo audit --file fuzz/Cargo.lockgit diff --checkBoth advisory scans report no known vulnerabilities. They retain transitive maintenance warnings for
bincode1.x andyaml-rust0.4.Dependency constraints
rusqliteremains at 0.38 because the latest publishedcrosslinkrelease requires that SQLite native-link version; 0.40 cannot coexist in the graph.generic-array0.14.7 is exact-pinned bycrypto-common0.1.7.matchit0.8.4 is exact-pinned by Axum 0.8.9.