sandlock
sandlock copied to clipboard
The lightest sandbox. A process-based sandbox for Linux, no container, no VM, no privilege, no prompt injection
Waiting for a callback verdict stalls the notification loop. Provide an approval handle the embedder can answer asynchronously while the supervisor continues processing other notifications. Pending approvals must be cancelled...
Allow waiting for the main process without killing its background jobs. Retain supervision until explicit session shutdown, expose the remaining jobs or process groups, and provide cleanup without requiring the...
Held verdicts currently time out after five seconds, which is too short for interactive human approval. Allow a configurable timeout, including no timeout, while ensuring sandbox shutdown cancels pending approvals....
## Goal Add a `popen()`-style entry point on `Sandbox` that returns a live process handle exposing streaming stdin / stdout / stderr, so callers can drive bidirectional stdio protocols (MCP,...
## Goal Let a sandboxed process authenticate to upstream APIs without the credential ever entering the sandbox's address space, environment, or filesystem. The real secret lives only in the supervisor;...
Kamchatka reports that bincode 1.3 fails its cargo-deny policy under RUSTSEC-2025-0141. The advisory has no patched version, so bumping bincode will not resolve it. Make checkpoint/restore an optional `sandlock-core` feature,...
Provide a minimal configuration for Landlock, seccomp, supervision, and process tracking. Gate HTTP proxy, checkpoint/restore, image/OCI, profiles, and COW dependencies behind optional features. HTTP dependencies are already optional; complete the...
On x86_64 kernels with x32 ABI enabled, syscall numbers with __X32_SYSCALL_BIT (0x40000000) set can miss the filter’s exact-number notification and deny checks, then fall through to allow. The filter logic...
## Problem Statement Sandlock provides static sandbox profiles and programmable `policy_fn` callbacks, but reusable authorization rules involving prior approvals, operation history, and time windows currently require application code. [Dogwood](https://github.com/dogwood-policy/dogwood) provides...
Since v0.8.9, `readlink(2)` on an existing non-symlink returns `ENOENT` instead of `EINVAL` inside the sandbox, so glibc `realpath(3)` fails (breaks Turborepo, mise, Rust `canonicalize`, Node `realpathSync.native`). v0.8.8 is fine; `main`...