pi-landstrip

Landlock-based sandboxing for pi with interactive permission prompts

Packages

Package details

extension

Install pi-landstrip from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-landstrip
Package
pi-landstrip
Version
0.1.0
Published
Jun 2, 2026
Downloads
not available
Author
jarkkojs
License
MIT
Types
extension
Size
36.9 KB
Dependencies
1 dependency · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-landstrip

Landlock-based sandboxing for pi using landstrip.

Prerequisites

Install landstrip and make sure it is on the PATH used to launch pi:

cargo install landstrip

landstrip currently targets Linux. On other platforms this extension loads but leaves sandboxing disabled.

Install

pi install npm:pi-landstrip

Configure

Create .pi/sandbox.json in a project or ~/.pi/agent/sandbox.json globally. Project config takes precedence.

See sandbox.json for a starter config.

Usage

pi --no-sandbox

Use /sandbox inside Pi to show the active config.

License

pi-landstrip is licensed under MIT. See LICENSE for more information.