runner-wrapper

command
v1.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command runner-wrapper is a process sandbox pre-exec helper.

It applies rlimits → env whitelist → chdir → seccomp BPF filter, then exec's the target command. All sandbox isolation converges here.

Usage:

runner-wrapper \
  --profile=script-runner \
  --max-memory-mb=100 \
  --max-cpu-sec=3 \
  --max-processes=5 \
  --max-file-size-mb=10 \
  --max-open-files=32 \
  --workdir=/tmp/sandbox-xxx \
  --env=LANG,LC_ALL,PATH \
  -- \
  python3 hello.py

The wrapper is self-contained — parent only needs to spawn it. rlimits + seccomp persist across execve to the target.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL