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

The release packages are built using ubuntu:latest and they can't be run on earlier ubuntu versions due to LIBC incompatibility. Consider building on an earlier ubuntu version. Also, very nice...

I tried OpenClaw inside Sandlock, ``` ./target/release/sandlock run -w /home/claw/.openclaw/ -r /usr/ -r /lib -r /etc -w /tmp -r /usr/lib -r /etc -- openclaw gateway --port 18789 ``` which ends...

The child can read /proc/{ppid}/cmdline, /proc/{ppid}/status, /proc/{ppid}/cgroup, and list /proc/{ppid}/fd/. This reveals: - Supervisor command line and arguments - UID/GID of the parent - Full capability bounding set - Open...

The personality() syscall is not filtered. A sandboxed process can disable ASLR for itself and all children via personality(ADDR_NO_RANDOMIZE). - Impact: Makes exploit development (ROP/JOP) significantly easier if combined with...

Only NETLINK_SOCK_DIAG is blocked. The child can create NETLINK_ROUTE sockets and enumerate all network interfaces, routing tables, neighbor caches, and ARP entries. Impact: Full network topology enumeration from inside the...

bug

## Part 1: `_encode()` passes NUL bytes through — policy path truncation **File:** `python/src/sandlock/_sdk.py:429-430` The `_encode` helper converts strings to bytes for FFI. When the input is already `bytes`, it's...

## Part 1: `sendto_on_behalf` and `sendmsg_on_behalf` — uncapped buffer allocation **File:** `crates/sandlock-core/src/network.rs:310, 462` The supervisor reads data from child memory to perform `sendto()` on behalf of the sandboxed process. The...

## Context We're evaluating sandlock for integration into our code execution platform and performed a security audit of the codebase. The project is very promising — the unprivileged Landlock +...

When `port_remap=True` and the virtual port is already bound by another process, the sandbox child gets `OSError: [Errno 98] Address already in use` instead of being transparently remapped to a...

On a host with `kernel.shm_rmid_forced=1`, every sandlock run fails. The first run after a clean state fails with EINVAL, and every later run fails with ENOENT. The sandbox never starts,...