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.11.7
Published
Jun 14, 2026
Downloads
2,251/mo · 2,136/wk
Author
jarkkojs
License
MIT
Types
extension
Size
60.8 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

pi-landstrip screenshot

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.

The bundled @jarkkojs/landstrip package is licensed under Apache-2.0 AND LGPL-2.1-or-later.