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.10
Published
Jun 14, 2026
Downloads
3,188/mo · 3,073/wk
Author
jarkkojs
License
MIT
Types
extension
Size
61.4 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.

Use sandbox config to toggle sandboxing:

{
  "enabled": false
}

Project config overrides global config. The /sandbox UI updates the project config when present, otherwise the global config.

Usage

Use /sandbox inside Pi to show the active config and toggle sandboxing.

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.