dzerik

Results issues of dzerik

## Summary `Sandbox.run()` (the one-shot convenience API) deadlocks and hangs until the timeout when the sandboxed child writes more than one pipe buffer worth of data to a piped `stdout`/`stderr`....

# Chroot named-AF_UNIX gate is bypassable: lexical check + `Continue` (symlink/TOCTOU) and non-UTF-8 `None`-collapse (fail-open) **Component:** `crates/sandlock-core/src/network/` (connect / sendto / sendmsg / sendmmsg named-AF_UNIX gate) **Affected tree:** `main` @...

## Problem The core already distinguishes how a sandboxed process ended — `ExitStatus` (`crates/sandlock-core/src/result.rs`) is `Code(i32) | Signal(i32) | Killed | Timeout`, and `sandlock_handle_wait_timeout` deterministically produces `ExitStatus::Timeout` when its own...

@solarhell — heads-up on a small parity gap in the Go SDK, and an offer. PR #71 added the Protection opt-out (`allow_degraded` / `disable` per Landlock protection) so a sandbox...

While running VM validation for the Protection opt-out work in #17, I hit a second kernel-version gate that prevents sandlock from running on RHEL 9 / Ubuntu 22.04 even with...

# RFC: Python parity for the Handler trait (Follow-up B) PR #36 landed the Rust `Handler` trait and the `Sandbox::run_with_extra_handlers(I: IntoIterator)` shape. The existing Python SDK (ctypes-based, in `python/src/sandlock/`) has...

## 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 +...