sandlock icon indicating copy to clipboard operation
sandlock copied to clipboard

The lightest sandbox. A process-based sandbox for Linux, no container, no VM, no privilege, no prompt injection

Results sandlock issues
Sort by recently updated
recently updated
newest added

## Summary In chroot mode (`sandlock run --chroot /`), **every `O_PATH` open fails with `EACCES`** — even on files the policy grants read+write on, where `O_RDONLY` and `O_RDWR` succeed. This...

Hi! A quick note in case it's useful, nothing urgent. cargo-deny flagged [RUSTSEC-2026-0386](https://rustsec.org/advisories/RUSTSEC-2026-0386) in a CI run for [kamchatka](https://github.com/ljedrz/nachalnik/tree/master/kamchatka), which uses `sandlock-core`. Moving our lockfile to tokio 1.54.1 cleared it....

### What the workload does Claude Code's Bash tool creates a tasks directory for its command output, then opens it with `O_PATH` to check it is still the directory it...

`handle_cow_open` and `handle_cow_write` run the copy-up on a blocking thread but await it on the supervisor loop, which handles one notification at a time. Until the copy ends, no other...

bug

Currently sandlock only supports TCP for virtual port remapping.

help wanted

\`child_root_path\` (network/unix.rs) returns \`None\` for a relative \`sun_path\`, so on-behalf \`connect\`/\`sendto\` to e.g. \`./svc.sock\` always fails with \`ECONNREFUSED\`. The comment says the supervisor cannot reproduce the child's cwd, but \`/proc//cwd\`...

Embedders that do not use introspection still get a SysV name claim and an abstract control socket per sandbox. A per-sandbox opt-out is the wrong scope (see 9c1981b0): registration is...

## Goal Promote `commit` / `abort` from a per-sandbox property to a first-class property of a `Pipeline` (or any group of sandboxes that should succeed or fail together). Stages should...

help wanted

When supervised, \`fs_readable\`/\`fs_writable\` entries matching \`is_supervised_proc_grant\` (anything under /proc) are skipped without error (landlock.rs). A grant like \`/proc/self/fd/N\`, used to pin a root opened with \`RESOLVE_NO_SYMLINKS\`, silently grants nothing. Proposal:...

In non-chroot mode with the unix fs gate on, \`connect_named_unix_on_behalf\` (network/unix.rs) connects from the supervisor, so the peer's \`SO_PEERCRED\`/\`SO_PEERPIDFD\` name the supervisor, not the sandboxed caller. When sandlock is embedded...