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.3.2
Published
Jun 8, 2026
Downloads
114/mo · 114/wk
Author
jarkkojs
License
MIT
Types
extension
Size
41.9 KB
Dependencies
2 dependencies · 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.

Install

pi install npm:pi-landstrip

This installs pi-landstrip and its @jarkkojs/landstrip dependency, which includes platform-specific native binaries for Linux, macOS, and Windows.

On unsupported platforms the extension loads but leaves sandboxing disabled.

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.