omp packages

@nobadwords/pi-sandbox0.2.1

Opt-in Bubblewrap sandbox for Pi's Bash and file tools on Fedora x86-64.

nobadwords Published 3 days ago MIT ~0 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

@nobadwords/pi-sandbox

An opt-in Bubblewrap sandbox for Pi's Bash and file tools. It is independent of pi-openai-speed and does not load the /speed command.

Requirements

Fedora on x86-64, Pi 1.7.0, Node.js 22.19 or newer, /usr/bin/bwrap, and a Linux kernel with Landlock ABI 9 or newer. The package includes the native launcher and its C source.

Install

pi install npm:@nobadwords/pi-sandbox
# or from GitHub:
pi install git:github.com/nobadwordss/pi-sandbox@v0.2.1

Use pi install --local git:github.com/nobadwordss/pi-sandbox@v0.2.1 for a trusted project-only install, or pi -e git:github.com/nobadwordss/pi-sandbox@v0.2.1 to try it for one session. For a development checkout, run pi install /path/to/pi-sandbox using the directory that contains this package's package.json. Remove any old direct sandbox.ts entry so Pi does not load the extension twice.

Start a fresh Pi or Paseo session and run /sandbox status to check that the extension loaded. It does not test kernel support. Before relying on isolation, also run a harmless Bash command to check the launcher.

Scope

Loading the package immediately replaces Pi's Bash and file tool implementations. It does not sandbox the Pi process itself or other extensions. Bash networking defaults to on; use /sandbox net off to disable it for the session. File workers run with networking off. A launcher or isolation setup failure blocks the affected command rather than falling back to host execution.

See the full sandbox documentation for the threat model and launcher build instructions.